when i type the command sudo apt-get update it gives me results saying "Some index files failed to download. They have been ignored, or old ones used instead." this is the exact response i'm getting pliz help me guys
Asked
Active
Viewed 310 times
-2
-
Whats the output of 'sudo apt-get -f install' ? – DnrDevil Mar 15 '16 at 13:39
-
Please run `sudo apt-get update | grep '^E:\|^W:'` and [edit] your question to add the output. – Byte Commander Mar 15 '16 at 13:50
-
i didnt get a response on that. it just moved the cursor down with a blank space – t.mug177 Mar 15 '16 at 13:58
-
In this case add the **full output** of `sudo apt-get update` to your question. – Byte Commander Mar 15 '16 at 14:00
-
Possible duplicate of [How can I fix a 404 Error when using a PPA or updating my package lists?](http://askubuntu.com/questions/65911/how-can-i-fix-a-404-error-when-using-a-ppa-or-updating-my-package-lists) – amc May 13 '16 at 13:52
3 Answers
0
Simply run the following commands in the given order:
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get update --fix-missing
If you still have errors, try running these commands with a better Internet connection. Sometimes, on a slow connection the packages fails to download properly.
Abhimanyu Saharan
- 266
- 1
- 2
- 12
-2
Most likely its a problem with a cached package! Try to run
apt-get update && apt get clean && apt-get check
(You need to run this as root) This command updates your local package list, cleans the package cache, and checks for missing dependencies.
This command solves most problems with apt-get.
amc
- 7,022
- 7
- 39
- 51
Info-Screen
- 495
- 1
- 4
- 15
-
You list of commands might fix some apt problems, but definitely not this one. – Byte Commander Mar 15 '16 at 13:52
-
-
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ – t.mug177 Mar 15 '16 at 13:57
-2
- Launch the Software Updater. Press the Superkey (Windows key) to launch the Dash and search for Update Manager.
- Check for updates. Select the tab called "Updates". ...
- Install the upgrade.
Photo like this:
Pierre.Vriens
- 1,137
- 37
- 16
- 21
Nisarg Thakkar
- 1
- 1
-
Sorry but this answer is badly formatted and pretty useless in this case. – Byte Commander Mar 15 '16 at 13:51
-
i have checked for updates and it it saying the software running on this pc is up to date – t.mug177 Mar 15 '16 at 13:59
