Re: apt-get update fails in apt 1.1.3/1.1.4
On Wed, Dec 09, 2015 at 01:09:43PM +0000, Hiroyuki Kawakatsu wrote:
> Hi,
>
> After upgrading apt to 1.1.3/1.1.4,
>
> # apt-get update
>
> fails with
>
> Err:1 http://security.debian.org testing/updates InRelease
> Temporary failure resolving 'proxy.dcu.ie'
> Err:2 http://ftp.uk.debian.org/debian unstable InRelease
> Temporary failure resolving 'proxy.dcu.ie'
> Reading package lists... Done
> W: Failed to fetch
> http://ftp.uk.debian.org/debian/dists/unstable/InRelease Temporary
> failure resolving 'proxy.dcu.ie'
> W: Failed to fetch
> http://security.debian.org/dists/testing/updates/InRelease
> Temporary failure resolving 'proxy.dcu.ie'
> W: Some index files failed to download. They have been ignored, or
> old ones used instead.
>
> I don't think there is an issue with my http_proxy setting as I have
> no problem connecting to the net from the command line using other
> commands such as mutt or ping.
Probably as root or normal user right? apt 1.1 runs methods as user
_apt, so user _apt needs to be able to resolve domain names.
Try running something like ping as _apt and check if it works (or
just do a plain DNS query with dig).
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.
Reply to: