[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#269130: wish: "apt-cache show" should show repository of a package



Package: apt
Version: 0.5.27
Severity: wishlist


example:  "apt-cache show xterm"

I have more than one Debian release configured in my 
/etc/apt/sources.list file. From the output of the above command
it is not possible to associate the version listed to one of the
releases.
Only "apt-cache showpkg" lists a local pathname for the Packages
file in which the package name was found, and from that you can
deduce the Debian release name.

I would love to see a line like
  Debian-Release: sarge
or anything like this in the output of "apt-cache show"

Regards
Matthias

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "sarge";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#
#deb http://ftp2.de.debian.org/debian/ testing main
#deb-src http://ftp2.de.debian.org/debian/ testing main
#
#deb http://ftp2.de.debian.org/debian/ unstable main
#deb-src http://ftp2.de.debian.org/debian/ unstable main
#
#deb http://security.debian.org/ stable/updates main
#deb http://security.debian.org/ testing/updates main

deb http://ftp2.de.debian.org/debian/ sarge main
deb-src http://ftp2.de.debian.org/debian/ sarge main
deb http://ftp2.de.debian.org/debian-non-US/ sarge/non-US main
deb-src http://ftp2.de.debian.org/debian-non-US/ sarge/non-US main

deb http://ftp2.de.debian.org/debian/ sid main
deb-src http://ftp2.de.debian.org/debian/ sid main

deb http://security.debian.org/ woody/updates main
deb http://security.debian.org/ sarge/updates main

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.1-7    GCC support library
ii  libstdc++5                  1:3.3.4-3    The GNU Standard C++ Library v3

-- no debconf information



Reply to: