apt-show-versions cannot show jaunty-update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-show-versions (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
apt-show-versions 0.15 ignores version in jaunty-updates.
example:
% LANG=C apt-cache policy compiz
compiz:
Installed: 1:0.8.2-0ubuntu8
Candidate: 1:0.8.2-0ubuntu8.1
Version table:
1:
500 http://
*** 1:0.8.2-0ubuntu8 0
500 http://
100 /var/lib/
% apt-show-versions compiz
compiz 1:0.8.2-0ubuntu8 installed: No available version in archive
%
When ubuntu, %releasenames has following keys and values:
%releasenames = {
};
And at following code in sub determine_
when $pkgfile eq 'jp.archive.
it matches 'jp.archive.
It looks that 'jp.archive.
then sub determine_
foreach (keys %releasenames) {
return $_ if ($_ eq substr($pkgfile, 0, length($_)));
}
description: | updated |
I use following workaround now.
foreach (sort {length( $b)<=>length( $a)} keys %releasenames) {
return $_ if ($_ eq substr($pkgfile, 0, length($_)));
}