Results 1 to 2 of 2

Thread: sudo apt-get update not working

  1. #1
    Join Date
    Feb 2011
    Beans
    1

    Red face sudo apt-get update not working

    Hi there,

    I was wondering if someone could please help with the follwing issue: I am unable to run sudo apt-get update and sudo apt-get upgrade it used to work fine. I noticed this was a problem when I tried to install htop on all systems 2 worked, one didn't and it now has me stummped

    Under /etc/apt/ there's a file called sources.conf

    I believe mine has become corrupted / started not working as of today

    Below is the code in my sources.conf

    Code:
    # deb cdrom:[Ubuntu-Server 10.04 LTS _Lucid Lynx_ - Release i386 (20100427)]/ lucid main restricted
    #deb cdrom:[Ubuntu-Server 10.04 LTS _Lucid Lynx_ - Release i386 (20100427)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://au.archive.ubuntu.com/ubuntu/ lucid main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid main restricted
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://au.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://au.archive.ubuntu.com/ubuntu/ lucid universe
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid universe
    deb http://au.archive.ubuntu.com/ubuntu/ lucid-updates universe
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid-updates universe
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://au.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb http://au.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    deb-src http://au.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://au.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    # deb-src http://au.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu lucid partner
    # deb-src http://archive.canonical.com/ubuntu lucid partner
    deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    deb http://security.ubuntu.com/ubuntu lucid-security universe
    deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
    I run Ubuntu 10.10 on all 3 systems in the same network this is the only one that has this issue.


    I tried to touble shoot it by copying the sources.conf from another ubuntu 10.10 computer and had no luck with it I keep getting this error.

    Code:
    administrator@ubuntu2:~$ sudo apt-get update
    Err http://security.ubuntu.com lucid-security Release.gpg
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en
      Temporary failure resolving 'security.ubuntu.com'
    Err http://au.archive.ubuntu.com lucid Release.gpg
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_AU
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_AU
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_AU
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en
      Temporary failure resolving 'security.ubuntu.com'
    Err http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_AU
      Temporary failure resolving 'security.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/main Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com lucid-updates Release.gpg
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en
      Temporary failure resolving 'au.archive.ubuntu.com'
    Err http://au.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_AU
      Temporary failure resolving 'au.archive.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...id/Release.gpg  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...es/Release.gpg  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...slation-en.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/...tion-en_AU.bz2  Temporary failure resolving 'au.archive.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...slation-en.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_AU.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...slation-en.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_AU.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...slation-en.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_AU.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...slation-en.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_AU.bz2  Temporary failure resolving 'security.ubuntu.com'
    W: Some index files failed to download, they have been ignored, or old ones used instead.
    administrator@ubuntu2:~$
    if the file above is not correct can someone please past the correct code in so I can modify mine or if possible can someone help me trouble shoot this a little?

    many thanks for your help.

    Global Operator.
    Last edited by Global Operator; February 1st, 2011 at 03:50 AM.

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: sudo apt-get update not working

    The server that translate names like http://au.archive.ubuntu.com into an actual IP direction (Domain Name Server), is either down or unresponsive.

    Most certainly will be back in a few hours. If you really have to update or install something, you can change the main source server for one that is up and running, and closer to you (in terms of response time). In order to do that, take a look at the section "Download Server" on this page (Other -> Best Server).

    It takes a while to determine which one is the better (a few minutes), but it's totally worth it.

    Good Luck!
    Last edited by papibe; February 1st, 2011 at 05:58 AM. Reason: spelling

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •