Bug#352583: apt-cache: new option to show package versions
Package: apt
Version: 0.6.43.2
Severity: wishlist
Hi!
Today I was trying to see the available versions of a package. With
"apt-cache madison aptitude", for example, I get:
aptitude | 0.4.1-1experimental1 | http://ftp.debian.org experimental/main Packages
aptitude | 0.4.1-1 | http://ftp.debian.org unstable/main Packages
aptitude | 0.4.1-1 | http://ftp.debian.org unstable/main Sources
aptitude | 0.4.1-1experimental1 | http://ftp.debian.org experimental/main Sources
However, on a machine without source URLs on sources.lists, I get:
E: You must put some 'source' URIs in your sources.list
The behavior that I was expecting is something like
"apt-cache show aptitude | grep Version"
Maybe an "apt-cache version package" could be implemented.
Using this, we can see the available versions, even with the users that
don't have some source URL on their sources.list file.
Thank you very much!
Nelson
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-rc5-mm1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR)
Versions of packages apt depends on:
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-8 GCC support library
ii libstdc++6 4.0.2-8 The GNU Standard C++ Library v3
Versions of packages apt recommends:
pn debian-archive-keyring <none> (no description available)
-- no debconf information
Reply to: