“O sub-processo gzip retornou um código de erro (1)”, como corrigir?

0

quando eu tento,

ali@ali-office:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 update-notifier : Depends: update-notifier-common (= 0.147) but 0.147.1 is installed
E: Unmet dependencies. Try using -f.

E eu estou tentando

ali@ali-office:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  update-notifier
The following packages will be upgraded:
  update-notifier
1 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
4 not fully installed or removed.
Need to get 0 B/56,0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Sub-process gzip returned an error code (1)
E: Prior errors apply to /var/cache/apt/archives/update-notifier_0.147.1_amd64.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg: unrecoverable fatal error, aborting:
 reading files list for package 'libgcc1:amd64': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
ali@ali-office:~$ 

como eu resolvo esse problema?

    
por alioygur 03.12.2013 / 13:19

2 respostas

0

Abra o seu terminal e digite isso

sudo apt-get install --reinstall apt-utils

tente novamente.

    
por rɑːdʒɑ 03.12.2013 / 13:27
0

Isso provavelmente é porque seu pacote recebeu um erro durante o download. Você deve limpar seu cache e tentar novamente:

sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade

Se o erro persistir, você poderá alternar repositórios.

    
por Braiam 03.12.2013 / 14:00