smart query --requires= versus apt-cache rdepends

Pascal Rosin pascal at rock-n-rosin.de
Fri May 16 04:46:45 PDT 2008


Hi there,
while trying out the smart package manager, i noticed that the result of the 
following commands differs on my Ubuntu 8.04 system ("Benötigt" is german for 
requires):

$ smart query --requires=smartpm-core
=>
kpackage-kde4_4:4.0.3-0ubuntu2
  Benötigt
    smartpm-core
kpackage-kde4_4:4.0.4-0ubuntu1~hardy1
  Benötigt
    smartpm-core

$ apt-cache rdepends smartpm-core
=>
smartpm-core
Reverse Depends:
  kpackage-kde4
  smartpm
  kpackage-kde4

Why isn't the reverse dependency to smartpm shown by smart, since smart says 
the following?:

$ smart query --show-requires smartpm
=>
smartpm_0.52-2
  Benötigt
    python
    python-central >= 0.5.8
    python-gtk2
    smartpm-core = 0.52-2

By the way, it is a little bit confusing, that "--requires=DEP" means the 
opposite of "--show-requires DEP", or am I missing something?

Greetings Pascal



More information about the Smart mailing list