01 April 2012
How To Fix This Error: 'E: Unable to fetch some archives [...]' - Ubuntu 11.10/12.04
Sometimes, while trying to install a package under Ubuntu 12.04/11.10 from the official Ubuntu repository using this command:
sudo apt-get install <package>
we get this error in the terminal:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
To fix this problem, you need to do the following:
Open the Ubuntu Software Center and head to Edit > Software Sources:
Under the "Ubuntu Software" tab, make sure the "Download from: Main Server" option is selected:
Move on to the "Other Software" tab and make sure that these options are well enabled:
- Canonical Partners
- Canonical Partners (Source Code)
- Independent (Source Code)
Close the window and then run this command from the terminal:
sudo apt-get update
Try now to reinstall your package. This tip is also suitable for non-English Ubuntu distros.