Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

when i try,

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.

And i trying

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

how i solve this problem?

share|improve this question
    
Please execute dpkg --audit. –  Braiam Dec 3 '13 at 13:38
    
Your disk drive appears to be failing. Check the SMART status in the disk utility. –  psusi Dec 3 '13 at 14:43

2 Answers 2

Open your terminal ,and type this

sudo apt-get install --reinstall apt-utils

then try again.

share|improve this answer
    
ali@ali-office:~$ sudo apt-get install --reinstall apt-utils [sudo] password for ali: 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 to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). –  alioygur Dec 3 '13 at 13:03

This is probably because your package got an error while downloading. You should clean your cache and try again:

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

If the error continues, you may switch repositories.

share|improve this answer
    
i tryed but the error continues –  alioygur Dec 3 '13 at 13:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.