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 <james...@debian.org>
signature.asc
Description: Digital signature