Comment 0 for bug 224460

Revision history for this message
Rolf Leggewie (r0lf) wrote : apt-cache show dependency information incorrectly

Binary package hint: apt

The dependency information output from apt-cache is misleading. Depends, Recommends, Suggests and even Conflicts are all lumped together as a dependency. One example:

Sorry, I was fooled by this output (the recommendation for libgwrap-runtime-dev does look a bit suspicious, though)

$ apt-cache showpkg g-wrap
Package: g-wrap
Versions:
1.9.9-3 (/var/lib/apt/lists/Rie:9999_ubuntu_dists_hardy_universe_binary-i386_Packages)
 Description Language:
                 File: /var/lib/apt/lists/Rie:9999_ubuntu_dists_hardy_universe_binary-i386_Packages
                  MD5: 90f3aa27bd657aa17d94a99352e03024

Reverse Depends:
  guile-gnome0-dev,g-wrap 1.9.9
  guile-g-wrap,g-wrap 1.9.9-1
Dependencies:
1.9.9-3 - guile-1.8 (0 (null)) guile-library (2 0.1.1) indent (0 (null)) libgwrap-runtime-dev (2 1.9.9-3) libgwrapguile-dev (0 (null))
Provides:
1.9.9-3 -
Reverse Provides:

(guile and guile-library are depends, indent and libgwrap-runtime-dev are a recommends while libgwrapguile-dev is a conflicts)