Comment 52 for bug 574886

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

Is there an easy fix or workaround?

On Tue, Oct 12, 2010 at 12:20 PM, Marcos Henrique Esteves Barbosa <
<email address hidden>> wrote:

> The problem is relatad with port number. Eg.:
> ping linux.dropbox.com:http (not work)
> ping linux.dropbox.com (works fine)
> The difference is ":http" part, used to indicate port number.
> IMHO is a problem with resolve address code. Its resolving
> <address>:<port>, but the correct is only resolve <address>. Thanks.
>
> --
> 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: Incomplete
>
> 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
>