Package: apt-show-versions
Version: 0.16
Tags: patch
Hi,
APT since version 0.8.11 prefers to download the clearsigned InRelease file
instead of Release and his detached signature Release.gpg.
Unfortunately apt-show-versions only parses the Release file and
doesn't support InRelease files.
The result is e.g.:
$ apt-show-versions apt dpkg
apt/unknown upgradeable from 0.8.11 to 0.8.11.1
dpkg/unknown uptodate 1.15.8.10
Note the 'unknown' release here.
While I am not a perl programmer, I think the following patch should enable
apt-show-versions to use either *_Release or *_InRelease file and at least
does it for me in my tests:
--- apt-show-versions-0.16/apt-show-versions 2009-06-19 17:37:00.000000000
+++ apt-show-versions-0.16.1/apt-show-versions 2011-02-10 14:27:19.000000000
@@ -595,7 +595,7 @@
or &die("Failed to open directory $list_dir: $!\n");
while (defined(my $rel_file = readdir LIST_DIR)) {
my $file_name = "$list_dir/$rel_file";
- if ($rel_file =~ m/(.*)_Release$/) {
+ if ($rel_file =~ m/(.*)_(In|)Release$/) {
$rel_file = $1;
}
else {
Thanks for work on this package and best regards,
David Kalnischkies
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]