E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
399,425
Solution 1
Just type
sudo apt-get clean
(and re-install)
Solution 2
Run sudo apt-get update
command.
If sudo apt-get update
is also not working then follow the steps below:-
- Open
/etc/apt/sources.list
file. - Check the word after
http://security.ubuntu.com/ubuntu/
in thesources.list
file, let the word bexyz
- Go to the address
http://security.ubuntu.com/ubuntu/
and then click on dists. Now check whetherxyz
is present at this path. If it is not present, then replacexyz
with the element which is present in 'dists' such as:- saucy, lucid, trusty etc. - Now run
sudo apt-get update
command.
Regards
Sanjay Sharma
Related videos on Youtube
Author by
Admin
Updated on September 18, 2022Comments
-
Admin over 1 year
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
-
Admin over 10 years
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.
-
-
Devesh Saini almost 10 yearsworked for me, I used to replace 'raring' by 'trusty' and most of the problem solved.
-
Harsha Biyani over 7 yearsI did not get any entry containing "security.ubuntu.com/ubuntu" in source.list file.
-
Nujufas over 4 yearsnice it works, but what does this command do?
-
Utpal Kumar over 3 yearsIn my case: "security.ubuntu.com/ubuntu" -> "security.ubuntu.com/ubuntu/trusty" in the /etc/apt/sources.list file fixed the problem. Thanks