On Fri, Dec 04, 2015 at 09:01:50PM +0100, Axel Beckert wrote:
> Since the installation of apt 1.1, dget fails to download binary
> packages always with the same error message independent of the
> package:
>
> $ dget apt
> dget: no hostnames in apt-cache policy apt for version 1.1.3 found
$ apt-cache policy apt
apt:
Installed: 1.1.3
Candidate: 1.1.3
Version table:
*** 1.1.3 500
500 http://httpredir.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status
> It still works fine in Debian Testing with apt 1.0.10.2 still being
> installed:
>
> $ dget apt
> dget: retrieving
> http://ftp.ch.debian.org/debian/pool/main/a/apt/apt_1.0.10.2_amd64.deb
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left Speed
> 100 1063k 100 1063k 0 0 3118k 0 --:--:-- --:--:-- --:--:-- 3120k
$ schroot -c stretch --directory / -- apt-cache policy apt
apt:
Installed: 1.0.9.10
Candidate: 1.0.9.10
Version table:
*** 1.0.9.10 0
500 http://httpredir.debian.org/debian/ stretch/main amd64 Packages
100 /var/lib/dpkg/status
The problem is that dget is looking for a line with a 0 priority, but
apt now properly reports the priority.
Should be a simple fix. Thanks for the report!
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel