Bug#807371: apt hostname resoloution failure
peter green:
> Package: apt
> Version: 1.1.3
> Severity: grave
>
> When running apt in a Debian stretch armhf chroot on my odriod u2 DNS
> resoloution fails. ping is able to resolve the hostname.
>
> [...]
>
> The chroot is on a host system running a vendor 3.0.90 kernel, no idea
> if that is relavent. At the very least if there is a problem running on
> older kernels there should be a warning before the updated packages are
> installed.
>
> The issue seems to be new in the 1.1 series of apt versions.
>
> The issue definately seems to be somehow related to dns lookups. If I
> add the hostname to /etc/resolv.conf then apt seems to work.
>
> Any thoughts on how to debug this.
>
Is this chroot managed with/created by pbuilder/cowbuilder?
There is currently some bugs against pbuilder/cowbuilder where it fails
to update resolv.conf. This leaves the chroot without DNS if it was
created in a different network than the one the machine is currently in.
Thanks,
~Niels
Reply to: