Announcement

Collapse
No announcement yet.

Questions and problems regarding "sudo apt-get update"

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Questions and problems regarding "sudo apt-get update"

    Hello,

    When I enter "sudo apt-get update" into the terminal, I get the following:

    Get:1 http://security.ubuntu.com intrepid-security Release.gpg [189B]
    Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
    Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
    Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
    Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
    Get:2 http://security.ubuntu.com intrepid-security Release [51.2kB]
    Hit http://archive.ubuntu.com intrepid Release.gpg
    Ign http://archive.ubuntu.com intrepid/main Translation-en_US
    Ign http://archive.ubuntu.com intrepid/restricted Translation-en_US
    Hit http://archive.ubuntu.com intrepid Release
    Hit http://archive.ubuntu.com intrepid/main Packages
    Get:3 http://security.ubuntu.com intrepid-security/main Packages [84.0kB]
    Hit http://archive.ubuntu.com intrepid/restricted Packages
    Hit http://archive.ubuntu.com intrepid/main Sources
    Hit http://archive.ubuntu.com intrepid/restricted Sources
    Get:4 http://security.ubuntu.com intrepid-security/restricted Packages [3504B]
    Get:5 http://security.ubuntu.com intrepid-security/main Sources [24.0kB]
    Get:6 http://security.ubuntu.com intrepid-security/restricted Sources [1154B]
    Get:7 http://security.ubuntu.com intrepid-security/universe Packages [29.8kB]
    Get:8 http://security.ubuntu.com intrepid-security/universe Sources [5746B]
    Get:9 http://security.ubuntu.com intrepid-security/multiverse Packages [6449B]
    Get:10 http://security.ubuntu.com intrepid-security/multiverse Sources [1860B]
    Hit http://wine.budgetdedicated.com intrepid Release.gpg
    Ign http://wine.budgetdedicated.com intrepid/main Translation-en_US
    Hit http://wine.budgetdedicated.com intrepid Release
    Ign http://wine.budgetdedicated.com intrepid/main Packages
    Hit http://wine.budgetdedicated.com intrepid/main Packages
    Get:11 http://dl.google.com stable Release.gpg [189B]
    Ign http://dl.google.com stable/non-free Translation-en_US
    Get:12 http://dl.google.com testing Release.gpg [189B]
    Ign http://dl.google.com testing/non-free Translation-en_US
    Get:13 http://dl.google.com stable Release [1300B]
    Get:14 http://dl.google.com testing Release [772B]
    Get:15 http://dl.google.com stable/non-free Packages [966B]
    Get:16 http://dl.google.com testing/non-free Packages [734B]
    Hit http://packages.medibuntu.org intrepid Release.gpg
    Ign http://packages.medibuntu.org intrepid/free Translation-en_US
    Ign http://packages.medibuntu.org intrepid/non-free Translation-en_US
    Hit http://packages.medibuntu.org intrepid Release
    Hit http://packages.medibuntu.org intrepid/free Packages
    Hit http://packages.medibuntu.org intrepid/non-free Packages
    Hit http://packages.medibuntu.org intrepid/free Sources
    Hit http://packages.medibuntu.org intrepid/non-free Sources
    Get:17 http://deb.mulx.net intrepid Release.gpg [481B]
    Ign http://deb.mulx.net intrepid/main Translation-en_US
    Get:18 http://deb.mulx.net intrepid Release [1139B]
    Ign http://deb.mulx.net intrepid/main Packages
    Get:19 http://deb.mulx.net intrepid/main Packages [347B]
    Err http://ppa.launchpad.net intrepid Release.gpg
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid/main Translation-en_US
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid Release.gpg
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid/main Translation-en_US
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid Release.gpg
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid/main Translation-en_US
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid Release.gpg
    Could not resolve 'ppa.launchpad.net'
    Err http://ppa.launchpad.net intrepid/main Translation-en_US
    Could not resolve 'ppa.launchpad.net'
    Err http://us.archive.ubuntu.com intrepid Release.gpg
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid/main Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid/universe Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-updates Release.gpg
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-backports Release.gpg
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-backports/main Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-backports/restricted Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-backports/universe Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-backports/multiverse Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-proposed Release.gpg
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-proposed/restricted Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-proposed/main Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-proposed/multiverse Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://us.archive.ubuntu.com intrepid-proposed/universe Translation-en_US
    Could not resolve 'us.archive.ubuntu.com'
    Err http://archive.canonical.com intrepid Release.gpg
    Could not resolve 'archive.canonical.com'
    Err http://archive.canonical.com intrepid/partner Translation-en_US
    Could not resolve 'archive.canonical.com'
    Fetched 214kB in 40s (5345B/s)
    Reading package lists... Done
    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...id/Release.gpg Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...es/Release.gpg Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ts/Release.gpg Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://archive.canonical.com/ubuntu/...id/Release.gpg Could not resolve 'archive.canonical.com'

    W: Failed to fetch http://archive.canonical.com/ubuntu/...tion-en_US.bz2 Could not resolve 'archive.canonical.com'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-exp...id/Release.gpg Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-exp...tion-en_US.bz2 Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/openoffice-...id/Release.gpg Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/openoffice-...tion-en_US.bz2 Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-mem...id/Release.gpg Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/kubuntu-mem...tion-en_US.bz2 Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...ed/Release.gpg Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...tion-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'

    W: Failed to fetch http://ppa.launchpad.net/qgis/ubuntu...id/Release.gpg Could not resolve 'ppa.launchpad.net'

    W: Failed to fetch http://ppa.launchpad.net/qgis/ubuntu...tion-en_US.bz2 Could not resolve 'ppa.launchpad.net'

    W: Some index files failed to download, they have been ignored, or old ones used instead.
    W: You may want to run apt-get update to correct these problems
    When I run "(sudo) apt-get update" again (as suggested), most of the warnings and error messages don't show up. If I run it again (a third time), they come back.

    What problem(s), exactly, do the warnings and error messages indicate, and how do I go about resolving said problem(s)?
    Also, why is everything that ends in "Translation-en_US" ignored, and how (if at all) do I go about resolving that?

    P.S.: Here are the contents of my Sources.list file and a snapshot of my Adept sources list:
    # deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release amd64 (20081029.1)]/ intrepid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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://us.archive.ubuntu.com/ubuntu/ intrepid universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid universe
    deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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://us.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner
    deb-src http://archive.canonical.com/ubuntu intrepid partner

    deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
    deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
    deb http://security.ubuntu.com/ubuntu intrepid-security universe
    deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
    deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
    deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
    deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted
    deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main
    deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"
    deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
    deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu intrepid main
    deb http://us.archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
    deb http://dl.google.com/linux/deb/ stable non-free
    deb http://dl.google.com/linux/deb/ testing non-free
    deb http://ppa.launchpad.net/qgis/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/qgis/ubuntu intrepid main
    Attached Files
    Hardware: Toshiba Satellite A205-S4607<br />OS: Kubuntu 11.10 (KDE 4.7.2), Windows Vista Home Premium (SP 2)

    #2
    Re: Questions and problems regarding &quot;sudo apt-get update&quot;

    1) I wonder if the Launchpad PPA problems are because each Launchpad item now has a separate GPG key.

    Have a look at http://ubuntuforums.org/showthread.p...unchpad+script .

    I have used the Perl script with success.

    2) Do you need to be downloading the Source Code items?
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: Questions and problems regarding &quot;sudo apt-get update&quot;

      Originally posted by arochester
      1) I wonder if the Launchpad PPA problems are because each Launchpad item now has a separate GPG key.

      Have a look at http://ubuntuforums.org/showthread.p...unchpad+script .

      I have used the Perl script with success.
      I tried the script, and the number of warnings and errors had decreased substantially. I still got the following warnings, though:

      Err http://deb.mulx.net intrepid Release.gpg
      Could not resolve 'deb.mulx.net'
      Err http://deb.mulx.net intrepid/main Translation-en_US
      Could not resolve 'deb.mulx.net'
      Err http://packages.medibuntu.org intrepid Release.gpg
      Could not resolve 'packages.medibuntu.org'
      Err http://packages.medibuntu.org intrepid/free Translation-en_US
      Could not resolve 'packages.medibuntu.org'
      Err http://packages.medibuntu.org intrepid/non-free Translation-en_US
      Could not resolve 'packages.medibuntu.org'
      Fetched 4151B in 35s (118B/s)
      Reading package lists... Done
      W: Failed to fetch http://packages.medibuntu.org/dists/...id/Release.gpg Could not resolve 'packages.medibuntu.org'

      W: Failed to fetch http://packages.medibuntu.org/dists/...tion-en_US.bz2 Could not resolve 'packages.medibuntu.org'

      W: Failed to fetch http://packages.medibuntu.org/dists/...tion-en_US.bz2 Could not resolve 'packages.medibuntu.org'

      W: Failed to fetch http://deb.mulx.net/dists/intrepid/Release.gpg Could not resolve 'deb.mulx.net'

      W: Failed to fetch http://deb.mulx.net/dists/intrepid/m...tion-en_US.bz2 Could not resolve 'deb.mulx.net'

      W: Some index files failed to download, they have been ignored, or old ones used instead.
      W: You may want to run apt-get update to correct these problems
      I know that the "deb.mulx.net" lines are tied to PlayOnLinux.

      However, when I tried to find and add the (new?) gpg keys for that and the medibuntu lines, the previous error and warning messages returned.

      2) Do you need to be downloading the Source Code items?
      Don't I?
      I usually see them listed with the "regular" items (such as with the to-be-uncommented lines in Sources.list). Are they not necessary?
      Hardware: Toshiba Satellite A205-S4607<br />OS: Kubuntu 11.10 (KDE 4.7.2), Windows Vista Home Premium (SP 2)

      Comment


        #4
        Re: Questions and problems regarding &quot;sudo apt-get update&quot;

        Originally posted by Stormbringer
        Originally posted by arochester
        2) Do you need to be downloading the Source Code items?
        Don't I?
        I usually see them listed with the "regular" items (such as with the to-be-uncommented lines in Sources.list). Are they not necessary?

        The Sources are mostly for those who have heavily modifed systems. The average user will never download any source packages.

        Using the Source Packages, you might be able to add in extra features, or increase performance on your system. However, it is not a simple task to do so.
        The answers are out there...

        Comment


          #5
          Re: Questions and problems regarding &quot;sudo apt-get update&quot;

          1) If you don't know why you are downloading Source Code then don't download it/them. Uncheck the three boxes in Synaptic that say "Source Code"

          2) The Medibuntu Repository also has a GPG key and won't work without it. Look at https://help.ubuntu.com/community/Me...20Repositories which tells you how to install Medibuntu. NOTE that it is a two part install 1) Install the repository 2) Add the GPG key - you do this by inputting the given command into a Terminal.

          3)
          I know that the "deb.mulx.net" lines are tied to PlayOnLinux.
          The PlayOnLinux site only has Hardy, which will work - and not Intrepid. This is also a two part install. Uncheck the deb.mulx intrepid box in Synaptic and instead add the Hardy repository as instructed on http://www.playonlinux.com/en/download.html
          "A problem well stated is a problem half solved." --Charles F. Kettering
          "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

          Comment


            #6
            Re: Questions and problems regarding &quot;sudo apt-get update&quot;

            Err http://us.archive.ubuntu.com intrepid-proposed Release.gpg
            Could not resolve 'us.archive.ubuntu.com'
            is a network name resolving error. It is telling you that it can not find the host 'us.archive.ubuntu.com' .

            Is your network so busy that you can not get a response before it times out? Try
            ping -c 4 us.archive.ubuntu.com

            and see if it works. Since this seems to be transient it is probably an unstable network.

            Comment


              #7
              Re: Questions and problems regarding &quot;sudo apt-get update&quot;

              Originally posted by arochester
              1) If you don't know why you are downloading Source Code then don't download it/them. Uncheck the three boxes in Synaptic that say "Source Code"

              2) The Medibuntu Repository also has a GPG key and won't work without it. Look at https://help.ubuntu.com/community/Me...20Repositories which tells you how to install Medibuntu. NOTE that it is a two part install 1) Install the repository 2) Add the GPG key - you do this by inputting the given command into a Terminal.
              I followed those steps, and it appears to have resolved that issue. Thanks!

              3)
              I know that the "deb.mulx.net" lines are tied to PlayOnLinux.
              The PlayOnLinux site only has Hardy, which will work - and not Intrepid. This is also a two part install. Uncheck the deb.mulx intrepid box in Synaptic and instead add the Hardy repository as instructed on http://www.playonlinux.com/en/download.html
              I followed this step, as well. When I entered the following code:
              sudo wget http://deb.mulx.net/playonlinux_hardy.list -O /etc/apt/sources.list.d/playonlinux.list
              wget -q http://deb.mulx.net/pol.gpg -O- | sudo apt-key add -
              sudo apt-get update
              I got:

              Reading package lists... Done
              W: Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg Could not resolve 'security.ubuntu.com'

              W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_US.bz2 Could not resolve 'security.ubuntu.com'

              W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_US.bz2 Could not resolve 'security.ubuntu.com'

              W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_US.bz2 Could not resolve 'security.ubuntu.com'

              W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_US.bz2 Could not resolve 'security.ubuntu.com'

              W: Failed to fetch http://deb.mulx.net/dists/hardy/Release.gpg Could not resolve 'deb.mulx.net'

              W: Failed to fetch http://deb.mulx.net/dists/hardy/main...tion-en_US.bz2 Could not resolve 'deb.mulx.net'

              W: Some index files failed to download, they have been ignored, or old ones used instead.
              W: You may want to run apt-get update to correct these problems
              Originally posted by mando_hacker
              Err http://us.archive.ubuntu.com intrepid-proposed Release.gpg
              Could not resolve 'us.archive.ubuntu.com'
              is a network name resolving error. It is telling you that it can not find the host 'us.archive.ubuntu.com' .

              Is your network so busy that you can not get a response before it times out? Try
              ping -c 4 us.archive.ubuntu.com

              and see if it works. Since this seems to be transient it is probably an unstable network.
              Here is the output from "ping -c 4 us.archive.ubuntu.com", "ping -c 4 security.ubuntu.com", and "ping -c 4 deb.mulx.net":

              PING us.archive.ubuntu.com (91.189.88.40) 56(84) bytes of data.
              64 bytes from drescher.canonical.com (91.189.88.40): icmp_seq=1 ttl=48 time=103 ms
              64 bytes from drescher.canonical.com (91.189.88.40): icmp_seq=2 ttl=48 time=103 ms
              64 bytes from drescher.canonical.com (91.189.88.40): icmp_seq=3 ttl=48 time=104 ms
              64 bytes from drescher.canonical.com (91.189.88.40): icmp_seq=4 ttl=48 time=103 ms

              --- us.archive.ubuntu.com ping statistics ---
              4 packets transmitted, 4 received, 0% packet loss, time 3013ms
              rtt min/avg/max/mdev = 103.134/103.541/104.344/0.588 ms
              PING security.ubuntu.com (91.189.88.37) 56(84) bytes of data.
              64 bytes from auckland.canonical.com (91.189.88.37): icmp_seq=1 ttl=48 time=103 ms
              64 bytes from auckland.canonical.com (91.189.88.37): icmp_seq=2 ttl=48 time=103 ms
              64 bytes from auckland.canonical.com (91.189.88.37): icmp_seq=3 ttl=48 time=104 ms
              64 bytes from auckland.canonical.com (91.189.88.37): icmp_seq=4 ttl=48 time=103 ms

              --- security.ubuntu.com ping statistics ---
              4 packets transmitted, 4 received, 0% packet loss, time 3013ms
              rtt min/avg/max/mdev = 103.484/103.750/104.170/0.342 ms
              PING deb.mulx.net (91.121.238.209) 56(84) bytes of data.
              64 bytes from mulx.net (91.121.238.209): icmp_seq=1 ttl=54 time=109 ms
              64 bytes from mulx.net (91.121.238.209): icmp_seq=2 ttl=54 time=110 ms
              64 bytes from mulx.net (91.121.238.209): icmp_seq=3 ttl=54 time=110 ms
              64 bytes from mulx.net (91.121.238.209): icmp_seq=4 ttl=54 time=110 ms

              --- deb.mulx.net ping statistics ---
              4 packets transmitted, 4 received, 0% packet loss, time 3013ms
              rtt min/avg/max/mdev = 109.914/110.341/110.675/0.321 ms
              Sometimes, there can be as many as 5 computers on the wireless network, so I suppose the busy network theory might be plausible. However, that I'm using the Ethernet connection, have low(?) ping times, and have this occur when mine is the only computer that should be actively on the network, should that still be an issue? If the network itself were unstable, how would I go about testing and stabilizing it?
              Hardware: Toshiba Satellite A205-S4607<br />OS: Kubuntu 11.10 (KDE 4.7.2), Windows Vista Home Premium (SP 2)

              Comment


                #8
                Re: Questions and problems regarding &quot;sudo apt-get update&quot;

                Security Ubuntu
                Have you seen various reports that the server can be down e.g. https://bugs.launchpad.net/ubuntu/+bug/332369. If you just click on the link, highlighted in blue, it does not go anywhere (at the moment)

                PlayOnLinux
                Go to the page http://www.playonlinux.com/en/download.html
                Download and save the .deb file.
                Click (ot right click on the .deb
                Choose install with Gdebi
                "A problem well stated is a problem half solved." --Charles F. Kettering
                "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

                Comment


                  #9
                  Re: Questions and problems regarding &quot;sudo apt-get update&quot;

                  Originally posted by Stormbringer

                  Sometimes, there can be as many as 5 computers on the wireless network, so I suppose the busy network theory might be plausible. However, that I'm using the Ethernet connection, have low(?) ping times, and have this occur when mine is the only computer that should be actively on the network, should that still be an issue? If the network itself were unstable, how would I go about testing and stabilizing it?
                  Very good question. Numerous books have been written on that subject. I would suggest that you simplify as much as possible to see if you can get to a stable situation.

                  If you have both wireless and ethernet, disable one so you are using only one. If you have multiple ethernet interfaces, disable one so you are using only one.

                  Does ifconfig show tx or rx errors?

                  You can create a /etc/apt/soucres.list file which has numeric IP addresses rather than names. This will do away with the need for name resolution. If this works you need to look at your resolver.

                  What do you have in /etc/resolv.conf? Have you installed a cacheing name server? Is you router acting as a nameserver?

                  Comment


                    #10
                    Re: Questions and problems regarding &quot;sudo apt-get update&quot;

                    Originally posted by mando_hacker
                    Originally posted by Stormbringer

                    Sometimes, there can be as many as 5 computers on the wireless network, so I suppose the busy network theory might be plausible. However, that I'm using the Ethernet connection, have low(?) ping times, and have this occur when mine is the only computer that should be actively on the network, should that still be an issue? If the network itself were unstable, how would I go about testing and stabilizing it?
                    Very good question. Numerous books have been written on that subject. I would suggest that you simplify as much as possible to see if you can get to a stable situation.

                    If you have both wireless and ethernet, disable one so you are using only one. If you have multiple ethernet interfaces, disable one so you are using only one.

                    Does ifconfig show tx or rx errors?

                    You can create a /etc/apt/soucres.list file which has numeric IP addresses rather than names. This will do away with the need for name resolution. If this works you need to look at your resolver.

                    What do you have in /etc/resolv.conf? Have you installed a cacheing name server? Is you router acting as a nameserver?
                    Here is the output from "ifconfig":

                    eth0 Link encap:Ethernet HWaddr 00:a0:d1:77:d4:df
                    inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
                    inet6 addr: fe80::2a0:d1ff:fe77:d4df/64 Scope:Link
                    UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
                    RX packets:344094 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:273454 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:1000
                    RX bytes:313311334 (313.3 MB) TX bytes:43858121 (43.8 MB)
                    Interrupt:16

                    lo Link encap:Local Loopback
                    inet addr:127.0.0.1 Mask:255.0.0.0
                    inet6 addr: ::1/128 Scope:Host
                    UP LOOPBACK RUNNING MTU:16436 Metric:1
                    RX packets:246 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:0
                    RX bytes:15228 (15.2 KB) TX bytes:15228 (15.2 KB)

                    wlan0 Link encap:Ethernet HWaddr 00:13:e8:1a:9b:6f
                    inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
                    inet6 addr: fe80::213:e8ff:fe1a:9b6f/64 Scope:Link
                    UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
                    RX packets:6831 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:1000
                    RX bytes:779429 (779.4 KB) TX bytes:4526 (4.5 KB)

                    wmaster0 Link encap:UNSPEC HWaddr 00-13-E8-1A-9B-6F-00-00-00-00-00-00-00-00-00-00
                    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                    collisions:0 txqueuelen:1000
                    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
                    In the directory "/etc/resolvconf", there is a sub-directory called "update-libc.d" that contains a shell script called "avahi-daemon".

                    At this point, the list of errors is much smaller than it once was (and, sometimes, there are no errors!), so it's probably something to do with my connection to the particular servers at any given time.

                    Thanks for the help everyone!

                    P.S.: How do I mark a topic as "solved" (or, to be a bit more accurate, "mostly solved" or "partially solved")?
                    Hardware: Toshiba Satellite A205-S4607<br />OS: Kubuntu 11.10 (KDE 4.7.2), Windows Vista Home Premium (SP 2)

                    Comment


                      #11
                      Re: Questions and problems regarding &quot;sudo apt-get update&quot;

                      Actually you are seeing exactly what I expected. You have wired ethernet (eth0) and wireless (wlan0) configured to be in the same subnet (both 192.168.0.x). It is quite likely that each of these has a default route specified and each interface has the same metric so your network is confused as to how it should contact hosts that are not part of the 192.168.0.0 subnet. Should it go through eth0 or wlan0.

                      The output of "route" would indicate something about this, but my guess is it has been hanging when you try to run it, which is only more indication of confusion.

                      Try this "sudo ifconfig eth0 down" and then run
                      "sudo aptitude update"

                      My guess is it will work entirely now. Then you can start to think about how to configure your system so it has ethernet when available and wifi when it needs to. The answer is wicd.

                      By the way you also have a file /etc/rexolv.conf on your system that looks something like this
                      ~ $cat /etc/resolv.conf
                      domain gateway.2wire.net
                      search gateway.2wire.net
                      nameserver 192.168.0.100

                      You also have the avahi system which is supposed to provide working networking among systems that are not really setup for networking, but that should be of no concern for your purpose.

                      Comment


                        #12
                        Re: Questions and problems regarding &quot;sudo apt-get update&quot;

                        Originally posted by mando_hacker
                        Actually you are seeing exactly what I expected. You have wired ethernet (eth0) and wireless (wlan0) configured to be in the same subnet (both 192.168.0.x). It is quite likely that each of these has a default route specified and each interface has the same metric so your network is confused as to how it should contact hosts that are not part of the 192.168.0.0 subnet. Should it go through eth0 or wlan0.

                        The output of "route" would indicate something about this, but my guess is it has been hanging when you try to run it, which is only more indication of confusion.

                        Try this "sudo ifconfig eth0 down" and then run
                        "sudo aptitude update"

                        My guess is it will work entirely now. Then you can start to think about how to configure your system so it has ethernet when available and wifi when it needs to. The answer is wicd.

                        By the way you also have a file /etc/rexolv.conf on your system that looks something like this
                        ~ $cat /etc/resolv.conf
                        domain gateway.2wire.net
                        search gateway.2wire.net
                        nameserver 192.168.0.100

                        You also have the avahi system which is supposed to provide working networking among systems that are not really setup for networking, but that should be of no concern for your purpose.
                        I tried deactivating the wireless connection (with both "sudo ifconfig wlan0 down" and moving the slider switch to the off position), and still get a few connection problems with "archive.canonical.com", "security.ubuntu.com" and "deb.mulx.net".

                        The output from "route" is:
                        Kernel IP routing table
                        Destination&#160; &#160; Gateway&#160; &#160; &#160; &#160; Genmask&#160; &#160; &#160; &#160; Flags&#160; Metric&#160; &#160; Ref&#160; &#160; Use Iface
                        192.168.0.0&#160; &#160; *&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 255.255.255.0&#160; U&#160; &#160; &#160; 1&#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        link-local&#160; &#160; &#160; &#160; &#160; *&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 255.255.0.0&#160; &#160; &#160; U&#160; &#160; 1000&#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        default&#160; &#160; &#160; &#160; &#160; &#160; 192.168.0.1&#160; &#160; 0.0.0.0&#160; &#160; &#160; &#160; &#160; &#160; &#160; UG&#160; &#160; 0&#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        When I turn the wireless back on (with both "sudo ifconfig wlan0 up" and moving the slider switch to the on position) and enter "route", I get this:
                        Kernel IP routing table
                        Destination&#160; &#160; Gateway&#160; &#160; &#160; &#160; Genmask&#160; &#160; &#160; &#160; Flags&#160; Metric&#160; &#160; Ref&#160; &#160; Use Iface
                        192.168.0.0&#160; &#160; *&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 255.255.255.0&#160; U&#160; &#160; &#160; 1&#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        192.168.0.0&#160; &#160; *&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 255.255.255.0&#160; U&#160; &#160; &#160; 2&#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 wlan0
                        link-local&#160; &#160; &#160; &#160; &#160; *&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 255.255.0.0&#160; &#160; &#160; U&#160; &#160; 1000&#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        default&#160; &#160; &#160; &#160; &#160; &#160; 192.168.0.1&#160; &#160; 0.0.0.0&#160; &#160; &#160; &#160; &#160; &#160; &#160; UG&#160; &#160; 0&#160; &#160; &#160; &#160; &#160; &#160; 0&#160; &#160; &#160; &#160; 0 eth0
                        And the output from "cat /etc/resolv.conf", in both cases, is:
                        # Generated by NetworkManager
                        domain hsd1.pa.comcast.net.
                        search hsd1.pa.comcast.net.
                        nameserver 192.168.0.1
                        I've heard of wicd, and considered switching to it in the past, but I've heard both good and bad things about it and I'm a bit wary/apprehensive of having it uninstall the tried-and-proven network manager and replacing it with something that might not work at all without having some sort of backup.
                        Hardware: Toshiba Satellite A205-S4607<br />OS: Kubuntu 11.10 (KDE 4.7.2), Windows Vista Home Premium (SP 2)

                        Comment

                        Working...
                        X