Bug#672460: devscripts: dget fails to see sources.list entries

James McCoy jamessan at debian.org
Fri May 11 23:16:25 UTC 2012


On Fri, May 11, 2012 at 10:43:59AM +0200, Uli Martens wrote:
> 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

Yeah, see #154868.  This was supposed to have been fixed in 2.11.4.  I
can confirm that it wasn't, though, and think I see the issue.

I'll add a test and work on the fix.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20120511/d6ffd261/attachment.pgp>


More information about the devscripts-devel mailing list