This question already has an answer here:

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

share|improve this question

marked as duplicate by Eliah Kagan, muru, Zanna, Eric Carvalho, TheWanderer Feb 4 '17 at 1:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
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

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

share|improve this answer
    
worked for me, I used to replace 'raring' by 'trusty' and most of the problem solved. – Devesh Saini Jul 25 '14 at 4:13
    
I did not get any entry containing "security.ubuntu.com/ubuntu/"; in source.list file. – Harsha Oct 20 '16 at 6:11

Just type

sudo apt-get clean 

(and re-install)

share|improve this answer

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