35

I am using ubuntu 13.10 on evaluation board and my internet is not working. Also i need to install softwares and apt-get install is also not working.

Terminal says : E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

source : http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-13.04-lamp

  • apt-get gets files from the internet and installs them, so if your internet is not working then it won't be able to fetch the files. – chesedo Oct 24 '13 at 11:01
31

Just type

sudo apt-get clean 

(and re-install)

  • 2
    nice it works, but what does this command do? – Nujufas Dec 11 '19 at 9:44
29

Run sudo apt-get update command.

If sudo apt-get update is also not working then follow the steps below:-

  1. Open /etc/apt/sources.list file.
  2. Check the word after http://security.ubuntu.com/ubuntu/ in the sources.list file, let the word be xyz
  3. Go to the address http://security.ubuntu.com/ubuntu/ and then click on dists. Now check whether xyz is present at this path. If it is not present, then replace xyz with the element which is present in 'dists' such as:- saucy, lucid, trusty etc.
  4. Now run sudo apt-get update command.

Regards

Sanjay Sharma

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