How do I solve "Unable to fetch some archives, maybe run apt-get update or try with --fix-missing" error?

I'm trying to install phpMyAdmin using sudo apt-get install phpmyadmin but encountering this error

Err precise-updates/main mysql-common all 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 194.169.254.10 80]
Err precise-security/main mysql-common all 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80]
Err precise-security/main libmysqlclient18 i386 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80]
Err precise-security/main mysql-client-core-5.5 i386 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80]
Err precise-security/main mysql-client-5.5 i386 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80]
Err precise-security/main mysql-client all 5.5.34-0ubuntu0.12.04.1 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch 404 Not Found [IP: 91.189.91.15 80]
Failed to fetch 404 Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What could be the issue here? How do I solve it?

1

5 Answers

Try using

sudo apt-get update

then retry.

1

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 in the sources.list file, let the word be xyz
  3. Go to the address 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.
5

There is a command to point source urls in olds releases .

a goog explanation in this github gist :

1

Try changing to in /etc/apt/sources.list, then run apt-get update

(You can check if your particular distro is there by accessing the in your browser and then select /dists, but if it is not on security.ubuntu.com, it should be on old-releases

Try changing to main server under software and updates in system settings. Then use sudo apt-get update and then try installing. I had a same issue while installing synaptic package manager.

1

You Might Also Like