Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Dec 2005
    Location
    Hamilton
    Posts
    10

    Default ubuntu, "apt-get update"

    I have recently installed ubuntu 5.10 but im unable to update.

    I am able to browse the web using firefox (I had to disable ipv6) but the 'apt -get' command fails. I am absolutely certain the repositories are correct. I have a broadband connection through a D-Link DSL-G604T router.

    Can anyone help! Did anyone have a similar problem at the recent installfest?

    Below is a copy of the errors i receive, etc/network/interfaces and etc/apt/sources scripts.

    regards

    Dele



    cdelehanty@DeleHome:~$ sudo apt-get update
    Password:
    Err http://security.ubuntu.com breezy-security Release.gpg
    Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out
    Err http://nz.archive.ubuntu.com breezy Release.gpg
    Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Err http://nz.archive.ubuntu.com breezy-updates Release.gpg
    Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Err http://nz.archive.ubuntu.com breezy-backports Release.gpg
    Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...zy/Release.gpg Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...es/Release.gpg Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Failed to fetch http://nz.archive.ubuntu.com/ubuntu/...ts/Release.gpg Could not connect to nz.archive.ubuntu.com:80 (1.0.0.0), connection timed out
    Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed outReading package lists... Done
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy_main_bin ary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy_restrict ed_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy_universe _binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-updates/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-updates/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory)W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-backports/main Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-backports_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-backports/restricted Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-backports_restricted_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-backports/universe Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-backports_universe_binary-i386_Packages) - stat (2 No such file or directory)W: Couldn't stat source package list http://nz.archive.ubuntu.com breezy-backports/multiverse Packages (/var/lib/apt/lists/nz.archive.ubuntu.com_ubuntu_dists_breezy-backports_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com breezy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_main_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com breezy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_restricted_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://security.ubuntu.com breezy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_breezy-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    cdelehanty@DeleHome:~$


    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    auto eth0
    iface lo inet loopback

    # This is a list of hotpluggable network interfaces.
    # They will be activated automatically by the hotplug subsystem.
    mapping hotplug
    script grep
    map eth0

    # The primary network interface
    iface eth0 inet dhcp


    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


    ## Uncomment the following two lines to fetch updated software from the network
    deb http://nz.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://nz.archive.ubuntu.com/ubuntu breezy main restricted

    ## Uncomment the following two lines to fetch major bug fix updates produced
    ## after the final release of the distribution.
    deb http://nz.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://nz.archive.ubuntu.com/ubuntu breezy-updates main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## 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
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://nz.archive.ubuntu.com/ubuntu breezy universe
    deb-src http://nz.archive.ubuntu.com/ubuntu breezy universe

    ## 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://nz.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://nz.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

    deb http://security.ubuntu.com/ubuntu breezy-security universe
    deb-src http://security.ubuntu.com/ubuntu breezy-security universe

  2. #2
    Pedant and proud of it
    Join Date
    Dec 2004
    Location
    Christchurch
    Posts
    6,047

    Default Re: ubuntu, "apt-get update"

    The last few lines indicate that the access to the updates is "restricted". According to the error mesages, you "... Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out" . That looks as if it's supposed to be the way to get permission to access the restricted stuff.

    I suspect that the (1.0.0.0) is the IP address you were using to reach that site. I doubt very much that that is an IP address owned by the ubunto.com domain.

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Location
    Hamilton
    Posts
    10

    Default Re: ubuntu, "apt-get update"

    okay thanks for our reply.

    So how do i find and setup the correct address?

    Dele

  4. #4
    morgenmuffel
    Join Date
    Dec 2004
    Location
    Putaruru
    Posts
    2,905

    Default Re: ubuntu, "apt-get update"

    /*Removed wrong Advice */

    try the below forum as there are a few others there having a similar problem


    http://www.ubuntuforums.org
    Last edited by Morgenmuffel; 06-12-2005 at 04:20 PM.
    Morgenmuffel - This word needs to be a part of the english language, in fact you should use it in everyday conversation

  5. #5
    morgenmuffel
    Join Date
    Dec 2004
    Location
    Putaruru
    Posts
    2,905

    Default Re: ubuntu, "apt-get update"

    http://www.psychocats.net/linux/sources.php

    the 5.10 section, source file does differ a little from yours

    READ the bit under the 5.10 section as it mentions the gpg error thingie
    Morgenmuffel - This word needs to be a part of the english language, in fact you should use it in everyday conversation

Similar Threads

  1. AVG Update Manager Says: "A .bin file is missing"
    By SurferJoe46 in forum PressF1
    Replies: 8
    Last Post: 18-08-2008, 07:47 PM
  2. Replies: 5
    Last Post: 09-01-2008, 07:19 AM
  3. Can you "update" a modem driver in Linux
    By Speedy Gonzales in forum PressF1
    Replies: 0
    Last Post: 17-06-2007, 08:11 PM
  4. Replies: 10
    Last Post: 07-12-2006, 10:17 PM
  5. "Free Windows Update alternative is released"
    By Terry Porritt in forum PC World Chat
    Replies: 2
    Last Post: 14-07-2006, 03:16 PM

Posting Permissions

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