Lost Power durante a instalação do Krita a partir do terminal. Agora não é possível instalar nada por causa do erro do dpkg [duplicado]

0
    eric@Eric-PC:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:5 http://deb.playonlinux.com precise InRelease 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
eric@Eric-PC:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/7,340 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
dpkg: dependency problems prevent configuration of ntrack-module-libnl-0:
 ntrack-module-libnl-0 depends on libntrack0 (>= 005); however:
  Package libntrack0 is not installed.

dpkg: error processing package ntrack-module-libnl-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing package libntrack0 (--configure):
 package libntrack0 is not ready for configuration
 cannot configure (current status 'half-installed')
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 ntrack-module-libnl-0
 libntrack0
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei consertar as coisas sozinho quando tentei excluir ntrack-module-libnl-0 e libntrack0 e, em seguida, reinstalei-o. Mas isso não está funcionando. Estou lamentando tentar consertar sem consultar aqui, então eu não quero fazer mais nada sem saber como consertar isso.

Esta é a seguinte saída de sudo apt install -f :

eric@Eric-PC:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/7,340 B of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: dependency problems prevent configuration of ntrack-module-libnl-0:
 ntrack-module-libnl-0 depends on libntrack0 (>= 005); however:
  Package libntrack0 is not installed.

dpkg: error processing package ntrack-module-libnl-0 (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing package libntrack0 (--configure):
 package libntrack0 is not ready for configuration
 cannot configure (current status 'half-installed')
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 ntrack-module-libnl-0
 libntrack0
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Eric Jacinto 24.08.2017 / 18:55

1 resposta

0

Tenho a resposta da metade dos pacotes instalados Apenas tive que reinstalar os pacotes usando o seguinte comando:

sudo apt install --reinstall <package name>

Obrigado pela ajuda pessoal.

    
por Eric Jacinto 25.08.2017 / 07:33