O pacote libpython3.6-stdlib precisa ser reinstalado, mas não consigo encontrar um arquivo para ele

1
nitesh@nitesh:~$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libpython3.6-stdlib needs to be reinstalled, but I can't find an archive for it.
nitesh@nitesh:~$ sudo apt-get install python3.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libpython3.6-stdlib needs to be reinstalled, but I can't find an archive for it.
**nitesh@nitesh:~$** sudo apt-get install --reinstall libpython3.6-stdlib
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package libpython3.6-stdlib needs to be reinstalled, but I can't find an archive for it.

eu fiz o download do pacote libpython3.6-stdlib

nitesh@nitesh:~/Downloads$ sudo dpkg -i /libpython3.6-stdlib_3.6.5-3_amd64.deb
[sudo] password for nitesh: 
dpkg: error processing archive /libpython3.6-stdlib_3.6.5-3_amd64.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /libpython3.6-stdlib_3.6.5-3_amd64.deb
nitesh@nitesh:~/Downloads$ sudo dpkg -i libpython3.6-stdlib_3.6.5-3_amd64.deb
(Reading database ... 386961 files and directories currently installed.)
Preparing to unpack libpython3.6-stdlib_3.6.5-3_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.5-3) over (3.6.5-5~16.04.york0) ...
dpkg: dependency problems prevent configuration of libpython3.6-stdlib:amd64:
 libpython3.6-stdlib:amd64 depends on libpython3.6-minimal (= 3.6.5-3); however:
  Version of libpython3.6-minimal:amd64 on system is 3.6.5-5~16.04.york0.
 libpython3.6-stdlib:amd64 depends on libreadline7 (>= 7.0~beta); however:
  Package libreadline7 is not installed.

dpkg: error processing package libpython3.6-stdlib:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpython3.6-stdlib:amd64
nitesh@nitesh:~/Downloads$ 
    
por Nitesh 07.05.2018 / 20:42

1 resposta

0

Você pode encontrar qualquer pacote oficial disponível para o Ubuntu em packages.ubuntu.com. Para o seu pacote específico, o resultado pode ser encontrado aqui:

link

Como mostra o resultado da pesquisa, este pacote está disponível para artful, biônico e cósmico. Você pode escolher de acordo com a versão do Ubuntu que você está usando.

    
por Ho1 07.05.2018 / 23:33