After installing Ubuntu 12.04, I tried to update, but I got the following:

student@student-25:~$ sudo apt-get update && sudo apt-get upgrade
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise InRelease
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/main TranslationIndex
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423) precise/restricted TranslationIndex
Ign cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release i38Translation-en
Ign http://extras.ubuntu.com precise InRelease                                 
Err http://extras.ubuntu.com precise Release.gpg                               
  Unable to connect to extras.ubuntu.com:http:


  • 3
    Check your internet connection.
    – ish
    Jun 21, 2012 at 13:06
  • No internet connection or the server from where you are trying to install the package is unavailable.
    – dlin
    Jun 21, 2012 at 13:53
  • Related: askubuntu.com/questions/154122/…
    – Thomas Ward
    Jun 21, 2012 at 17:05

2 Answers 2


Sometimes there will be a temporary server down too . I am suggesting you to change your server to Best server or update your system after sometime.

To change the server Open `Update Manager > Settings > Ubuntu Software > Download from:` 

that option will hold the server option . choose a best server and try again .

  • I tried the main server but no help.it says "Unable to connect to archive.canonical.com:http: [IP: 80]"
    – bell
    Jun 21, 2012 at 15:07
  • yeah sounds like temp server down .try again after sometime . P.S my ping can read the data from it .
    – Raja G
    Jun 21, 2012 at 15:49
  • I tried a lot of servers but the error while updating is still there.strangely in this morning sudo apt-get update told me as;" student@student-25:~$ sudo apt-get update sudo: timestamp too far in the future: Jun 23 23:41:22 2012 [sudo] password for student:
    – bell
    Jun 22, 2012 at 6:28
  • @bell contact whoever manages your network it seems your internet firewalls are blocking everything. If you're on a home network, try to DMZ your system in your router (temporarily)
    – Thomas Ward
    Jun 22, 2012 at 12:41

It's usually a good idea to change a server that isn't responding to one in the same general area. For example, I was using lug.bu.edu (Boston University) and it was giving me some problems. I changed it (in Synaptic) mirrors.mit.edu/ubuntu and all was smooth sailing. Bear in mind that you can almost always use the main server if a nearby mirror isn't working.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .