Comment 19 for bug 574886

Revision history for this message
manishbhoola (manishbhoola) wrote : Re: [Bug 574886] Re: Apt has strange network errors when updating indexes.

Bingo - solved the problem for me !! Thanks for posting.

On Wed, May 19, 2010 at 7:33 AM, That Bum <email address hidden> wrote:

> I've found a solution. A real one.
>
> It seems that it's a problem with Network Manager. People who have
> routers with gateways will make Network Manager incorrectly set the DNS
> to the router's internal address. This only works if everything is set
> to automatic. If you set the DNS manually in Network Manager, this can
> be fixed completely, provided you know the DNS's address, presumably
> from going on the router's config page and looking for it there if you
> haven't seen it.
>
> Credit to newb85 on post #17 on
> http://ubuntuforums.org/showthread.php?t=1475399&page=2 .
>
> --
> Apt has strange network errors when updating indexes.
> https://bugs.launchpad.net/bugs/574886
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “apt” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: apt
>
> If I update the apt indices either in Synaptic Package Manager, Update
> Manager or from the command line, it fails to download a random selection of
> indexes (from 0 to 3, usually). The errors look like this:
>
> W: Failed to fetch
> http://security.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http'
> (-5 - No address associated with hostname)
>
> W: Failed to fetch http://archive.canonical.com/dists/lucid/Release.gpg Something wicked happened resolving 'archive.canonical.com:http'
> (-5 - No address associated with hostname)
>
> E: Some index files failed to download, they have been ignored, or old ones
> used instead.
>
> It is usually about two that fail, though sometimes more, and sometimes
> none. I just have a wireless router attached to a cable modem, standard home
> broadband. If I run 'update' a couple times, it will get everything. Apt has
> no problem downloading or installing packages. I can run 'ping' against
> these servers with zero packet loss.
>
> If I do a single update with errors and then try to install packages,
> sometimes it warns me that packages are unsigned.
>
> Originally, I had upgraded from Ubuntu 9.10, so to make sure it wasn't an
> upgrade problem, I backed up my personal files, and installed 10.04 from
> scratch. The problem persisted with the default Ubuntu 10.04 install.
>
> My laptop is a Compaq CQ60 215dx.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: apt 0.7.25.3ubuntu7
> ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-21-generic x86_64
> Architecture: amd64
> Date: Mon May 3 19:33:15 2010
> InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
> ProcEnviron:
> LANG=en_US.utf8
> SHELL=/bin/bash
> SourcePackage: apt
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/574886/+subscribe
>