Executando o sudo apt-get upgrade error [fechado]

1

Eu sou novo no Ubuntu alguém pode me ajudar qual é o problema do meu Ubuntu? Não consigo fazer o download de nada por causa desses erros:

debconf: apt-extracttemplates failed: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...

dpkg: warning: files list file for package 'liblockfile1:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblouis-data' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpoppler44:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblocale-gettext-perl' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblouis2:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpoppler-glib8:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpulse0:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblockfile-bin' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libportaudio2:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpulsedsp:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'liblog-message-simple-perl' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpurple-bin' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpurple0' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libprocps3:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libpopt0:amd64' missing; assuming package has no files currently installed

dpkg: warning: files list file for package 'libprotobuf8:amd64' missing; assuming package has no files currently installed

dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'libnettle4:amd64': Input/output error

E: Sub-process /usr/bin/dpkg returned an error code (2)
    
por alden 04.07.2015 / 23:08

1 resposta

3

Experimente os seguintes comandos:

sudo apt-get clean
sudo apt-get update
sudo apt-get -f install

Se isso falhar, você terá que tentar executar

sudo dpkg --remove --force-remove-reinstreq package

Você terá que executar isso para cada pacote que está causando um erro, por exemplo

sudo dpkg --remove --force-remove-reinstreq liblockfile1
sudo dpkg --remove --force-remove-reinstreq liblouis-data

e em diante, um por um.

Então, novamente

sudo apt-get -f install
    
por Panther 04.07.2015 / 23:34