Bug#672460: devscripts: dget fails to see sources.list entries
David Prévot
david at tilapin.org
Fri May 11 14:55:43 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
Le 11/05/2012 04:43, Uli Martens a écrit :
> while trying to use dget, it fails to do anything:
>
> | $ dget base-files
> | no repository found in /etc/apt/sources.list or sources.list.d at /usr/bin/dget line 347.
>
> dget filters the repositories from /etc/apt/sources.list{,.d/*} by the
> hostnames screenscraped from apt-cache policy. This fails, as apt-cache
> policy mangles the hostnames, or rather, the port setting from the
> hostname:
>
> | $ apt-cache policy | grep -A 3 500 | head -n 3
> | 500 http://127.0.0.1/debian/ squeeze/main amd64 Packages
> | release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=main
> | origin 127.0.0.1
>
> As I'm using approx on my system the URI reported by apt-cache is not
> the one actually configured:
>
> | $ cat /etc/apt/sources.list
> | deb http://127.0.0.1:9999/debian squeeze main
> [...]
Please note that I'm not able to reproduce the issue with my
apt-cacher-ng setup:
> taffit at mikado:/tmp$ dget base-files
> dget: retrieving http://carotte:3142/ftp.us.debian.org/debian/pool/main/b/base-files/base-files_6.0squeeze4_amd64.deb
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 68780 100 68780 0 0 10.7M 0 --:--:-- --:--:-- --:--:-- 21.8M
> taffit at mikado:/tmp$ apt-cache policy | grep -A 2 500 | tail -n 3
> 500 http://carotte/ftp.us.debian.org/debian/ squeeze/main amd64 Packages
> release v=6.0.4,o=Debian,a=stable,n=squeeze,l=Debian,c=main
> origin carotte
> taffit at mikado:/tmp$ head -n1 /etc/apt/sources.list
> deb http://carotte:3142/ftp.us.debian.org/debian/ squeeze main
Regards
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPrShtAAoJELgqIXr9/gnyYNMP/AvQELPnjAhGeWAYAV8Pq3t+
y5NL4y7lRvSBfW0zHZdXva82kRCjFU78d4fugMqqtWbK8HZVW4jRKEQexJTutXw+
EQBnp1kaYY7+SYs/qWDvSQQ60tNlHiNQjI/lPuAsVHcTCGY0O6IKVOroMVN+CsDr
8JIRnJEfYa2QxrF6clTXJ2o1APoyaek1VOWwYXnpc2mYgxWRykdFKdCbqhNG7oSW
USRWWAInCfsVMUWC5/F/dWW3cpXKiPx6laYHkTpG6ZG7KXs2aXzDh8DMpVg4qDZN
Xq6mqrgqcZWNB3Pijl1+DaCvUWHDs5fISfYOd7VIba60d+CWSr7i/hMyreUzsNSV
YeAv8/Xu0FtClmc15QYyuOQpbpHVTBziCHv8IoRsk262UxCJJvhgiRoNcZ2FViAD
j/MF153U4OQmNJMdNNb1AwN6vQQhzZvn73S/LbssTekDzWlWyTOrG2cP3yC9f4ky
8g9lByj6JuOLgoDH39KEWCJiaiWNpLOtzpeY2p50VXgv/90ZAPS+zx+Sew8ip0TE
kWHNbgQtVBJgvrjNooghO+NxsT23p3064bG5tPHfuIpnkVHzQVw4gXdMWBAnsNSv
CpSeNmg9oAKcKYYQazjirwRR6k7YR2u1vp0EO04xMtArTMpYE3YjpX2WH0knPIc9
Cqav/v/E83kKG0v02ypP
=bu7l
-----END PGP SIGNATURE-----
More information about the devscripts-devel
mailing list