13
Err http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.34-0ubuntu0.12.04.1
  404  Not Found [IP: 194.169.254.10 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main mysql-common all 5.5.34-0ubuntu0.12.04.1
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libmysqlclient18 i386 5.5.34-0ubuntu0.12.04.1
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ 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 http://security.ubuntu.com/ubuntu/ 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 http://security.ubuntu.com/ubuntu/ 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 http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-common_5.5.34-0ubuntu0.12.04.1_all.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/libmysqlclient18_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-core-5.5_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client-5.5_5.5.34-0ubuntu0.12.04.1_i386.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.5/mysql-client_5.5.34-0ubuntu0.12.04.1_all.deb  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?

I'm trying to install phpmyadmin in a oracle VM virtual box using the command sudo apt-get install phpmyadmin, this is the only package (so far) that has given me issues, it's also the first time I'm running oracles software on Windows, any ideas?

  • 1
    My '/etc/apt/source.list' file does not have a line containing 'security.ubuntu.com/ubuntu' . What shoul I do? What does that line suggest? – user315171 Aug 13 '14 at 6:39
20

Try using

sudo apt-get update

then retry.

9

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.
  • +1. One note though: if this happens, it means that your linux is no longer supported, in which case it might make sense to switch to a newer version. – ntg Apr 22 '16 at 14:18
  • this is indeed a better response than the accepted one. See ntg's comment tho – Dredok Apr 5 '18 at 16:13
2

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

a goog explanation in this github gist :

https://gist.github.com/dergachev/f5da514802fcbbb441a1

  • 1
    You don't need to go to Github for that, we have one right here: askubuntu.com/q/91815/158442. Even so, this isn't applicable here, since OP is using 12.04 and 12.04 is still supported. – muru Feb 20 '15 at 12:46
0

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.

  • Before you try changing to main server visit the URL that is giving the 404 Not Found message in a web browser to check if it is down. – karel Aug 5 '17 at 4:35
0

Try changing http://security.ubuntu.com/ubuntu to http://old-releases.ubuntu.com/ubuntu in /etc/apt/sources.list, then run apt-get update

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

protected by Community Apr 18 '18 at 16:07

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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