#204156 [apt-cache] depends and rdepends should also output dependency types

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Joshua Kwan
Date:
2017-11-01 21:33:07 UTC
Severity:
wishlist
#204156#5
Date:
2003-08-04 23:51:17 UTC
From:
To:
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.

#204156#10
Date:
2003-08-06 02:47:01 UTC
From:
To:
severity 204156 wishlist
retitle 204156 [apt-cache] More detailed reverse dependencies
thanks

Indeed, it applies to all dependency fields, including conflicts, and always
has.  I agree that it might be nice if it could be more specific, but this
is a feature request.  It should be an easy one, though, so don't be afraid
to jump into the code if you're familiar with C++.

#204156#19
Date:
2017-11-01 19:04:04 UTC
From:
To:
retitle 204156 [apt-cache] depends and rdepends should also output
dependency types
Hi

Filtering is possible with the --no-pre-depends --no-suggests --no-
recommends --no-conflicts --no-breaks --no-replaces --no-enhances
switches, so you can control that.

But the output should also indicate the dependency type in order to
make it more useful. apt-cache would also be much more easy to debug
with this information (and the indication of the version).

Thanks

Tom

#204156#24
Date:
2017-11-01 20:10:39 UTC
From:
To:
retitle 204156 [apt-cache] depends and rdepends should also output dependency types

thanks