Bug#204156: 'apt-cache rdepends' also matches Replaces: and Suggests: fields
Package: apt
Version: 0.5.8
Severity: normal
Hi,
apt-cache rdepends also matches replaces: and suggests: fields.
For example:
joshk@firesong:~> apt-cache rdepends libbz2
libbz2
Reverse Depends:
libcoin40
bzip2
joshk@firesong:~> apt-cache show libcoin40 | grep bz2
Suggests: libfreetype6, libopenal0, zlib1g, libbz2
joshk@firesong:~> apt-cache show bzip2 | grep bz2
Replaces: libbz2(<<0.9.5d-3)
Probably also applies to 'Recommends' fields, I'd imagine. Either the
synopsis of the command should be changed or it should be rectified to
only show reverse dependencies. I understand that 'Suggests' is a
minor/harmless type of dependency; hence I suggest that it should be
immediately clearer in the output to the user which ones are Depends,
which ones are Suggests, etc.
-Josh
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux firesong 2.6.0-test2-mm2 #1 Wed Jul 30 23:22:36 PDT 2003 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (ignored: LC_ALL set)
Versions of packages apt depends on:
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.1-0rc2 GCC support library
ii libstdc++5 1:3.3.1-0rc2 The GNU Standard C++ Library v3
-- no debconf information
Reply to: