Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just updated from 10.04 to Oneiric and now I can not use my apt-get anymore. When I do I got the following error:


Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://security.ubuntu.com oneiric-security Release.gpg
Ign http://archive.ubuntu.com oneiric Release.gpg
Ign http://security.ubuntu.com oneiric-security Release
Ign http://archive.ubuntu.com oneiric-updates Release.gpg
Ign http://archive.ubuntu.com oneiric Release
Ign http://archive.ubuntu.com oneiric-updates Release
Ign http://security.ubuntu.com oneiric-security/main TranslationIndex
Ign http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Ign http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric/main TranslationIndex
Ign http://security.ubuntu.com oneiric-security/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric/universe TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Err http://security.ubuntu.com oneiric-security/universe amd64 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/main amd64 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/restricted amd64 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/universe i386 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/main i386 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/restricted i386 Packages
  404  Not Found
Err http://security.ubuntu.com oneiric-security/multiverse i386 Packages
  404  Not Found
Ign http://security.ubuntu.com oneiric-security/main Translation-en_US
Ign http://security.ubuntu.com oneiric-security/main Translation-en
Ign http://security.ubuntu.com oneiric-security/multiverse Translation-en_US
Ign http://security.ubuntu.com oneiric-security/multiverse Translation-en
Ign http://security.ubuntu.com oneiric-security/restricted Translation-en_US
Ign http://security.ubuntu.com oneiric-security/restricted Translation-en
Ign http://security.ubuntu.com oneiric-security/universe Translation-en_US
Ign http://security.ubuntu.com oneiric-security/universe Translation-en
Err http://archive.ubuntu.com oneiric/main amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/universe amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/restricted amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/multiverse amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/main i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/universe i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/restricted i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric/multiverse i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/universe amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/main amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/universe i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/main i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
  404  Not Found
Err http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
  404  Not Found
Ign http://archive.ubuntu.com oneiric/main Translation-en_US
Ign http://archive.ubuntu.com oneiric/main Translation-en
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric/restricted Translation-en
Ign http://archive.ubuntu.com oneiric/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric/universe Translation-en
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/main Translation-en
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en_US
Ign http://archive.ubuntu.com oneiric-updates/universe Translation-en

I can ping any computer and access internet. sudo apt-get update and apt-get upgrade does not work (nor clean or autoclean), dpkg --configure -a does not help also. Any ideas?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

Seems like a network issue, are you behind a proxy? If so your configuration might be borked.

Have a look at your etc/apt/apt.conf file and check the proxy settings there.

(Added by user in question after discussing issue on comments)

SOLUTION
miguel@miguel-VirtualBox:~$ cat gedit /etc/apt/apt.conf
#Wrong!!!
#Acquire::http::Proxy "http://proxyconf/proxy.pac";
Acquire::http::Proxy "http://17X.XX.XX.X:8080";

It was a issue with the network settings, invalid proxy was setup.

share|improve this answer
    
Indeed was a networking issue. I was misguided by setting a pac from here: askubuntu.com/questions/37306/…. It actually do not set a PAC but you have to chose an IP from your PAC file. –  Miguel Apr 2 '12 at 14:42
add comment

That's it! Everywhere says to add your proxy server to /etc/apt/apt.conf, but I added the proxy URL I use system wide (ie for Chrome etc) and no joy. If however you download the .pac file from the proxy URL, you can work out which actual proxy server you are being redirected to (often based on your IP address), use that URL/IP in /etc/apt/apt.conf and it worked for me! Thanks

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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