Jakub Wilk wrote:
> Package: devscripts
> Version: 2.10.67
> Severity: important
> User: [email protected]
> Usertags: dget
> Tags: patch
[...]
> $ dget apt
> no repository found in /etc/apt/sources.list or sources.list.d at
> /usr/bin/dget line 335.
Apparently apt-cache now prints the full path to the repository.
E.g. old behaviour:
$ apt-cache policy devscripts
devscripts:
Installed: 2.10.67
Candidate: 2.10.67
Version table:
*** 2.10.67 0
200 http://ftp.us.debian.org sid/main i386 Packages
100 /var/lib/dpkg/status
2.10.66 0
990 http://ftp.us.debian.org testing/main i386 Packages
new behaviour:
$ apt-cache policy devscripts
devscripts:
Installed: 2.10.67
Candidate: 2.10.67
Version table:
*** 2.10.67 0
200 http://ftp.us.debian.org/debian/ sid/main i386 Packages
100 /var/lib/dpkg/status
2.10.66 0
990 http://ftp.us.debian.org/debian/ testing/main i386 Packages
Jakub's fix should compatible with old versions of apt.
P.S. there's another bug which is that /var/lib/dpkg/status _is_ treated as
a repository.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
--
To unsubscribe, send mail to [email protected].