& ldquo; Подпроцесс gzip вернул код ошибки (1) & rdquo ;, как исправить?

Когда я пытаюсь,

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.

И я пытаюсь

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:~$ 

, как решить эту проблему?

0
задан 3 December 2013 в 16:59

2 ответа

Откройте свой терминал и введите

sudo apt-get install --reinstall apt-utils

, затем повторите попытку.

0
ответ дан 3 December 2013 в 16:59

Вероятно, это связано с тем, что при загрузке вашего пакета произошла ошибка. Вы должны очистить кеш и повторить попытку:

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

Если ошибка не исчезнет, ​​вы можете переключить репозитории.

0
ответ дан 3 December 2013 в 16:59

Другие вопросы по тегам:

Похожие вопросы: