Public bug reported: 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:0.8.2-0ubuntu8.1 0 500 http://jp.archive.ubuntu.com jaunty-updates/main Packages *** 1:0.8.2-0ubuntu8 0 500 http://jp.archive.ubuntu.com jaunty/main Packages 100 /var/lib/dpkg/status % 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 = { 'archive.ubuntulinux.jp_ubuntu_dists_jaunty' => { 'Suite' => 'jaunty', 'Name' => 'jaunty', 'Codename' => 'jaunty' }, 'jp.archive.ubuntu.com_ubuntu_dists_jaunty-security' => { 'Suite' => 'jaunty-security', 'Name' => 'jaunty-security', 'Codename' => 'jaunty' }, 'archive.ubuntulinux.jp_ubuntu-ja_jaunty-non-free' => { 'Suite' => 'jaunty-non-free', 'Name' => 'jaunty-non-free', 'Codename' => 'jaunty-non-free' }, 'jp.archive.ubuntu.com_ubuntu_dists_jaunty' => { 'Suite' => 'jaunty', 'Name' => 'jaunty', 'Codename' => 'jaunty' }, 'dl.google.com_linux_deb_dists_stable' => { 'Suite' => 'stable', 'Name' => 'stable', 'Codename' => 'stable' }, 'jp.archive.ubuntu.com_ubuntu_dists_jaunty-updates' => { 'Suite' => 'jaunty-updates', 'Name' => 'jaunty-updates', 'Codename' => 'jaunty' }, 'archive.canonical.com_ubuntu_dists_jaunty' => { 'Suite' => 'jaunty', 'Name' => 'jaunty', 'Codename' => 'jaunty' } }; And at following code in sub determine_pkgfile_release, when $pkgfile eq 'jp.archive.ubuntu.com_ubuntu_dists_jaunty-updates_main_binary-i386_Packages', it matches 'jp.archive.ubuntu.com_ubuntu_dists_jaunty-updates' and 'jp.archive.ubuntu.com_ubuntu_dists_jaunty'. It looks that 'jp.archive.ubuntu.com_ubuntu_dists_jaunty' checked early, then sub determine_pkgfile_release returns 'jaunty' even if it should be returns 'jaunty-updates'. foreach (keys %releasenames) { return $_ if ($_ eq substr($pkgfile, 0, length($_))); } ** Affects: apt-show-versions (Ubuntu) Importance: Undecided Status: New -- apt-show-versions cannot show jaunty-update https://bugs.launchpad.net/bugs/390937 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs