Comment 0 for bug 1859834

Revision history for this message
Gage LeBlanc (gleblanc4) wrote :

Found on Ubuntu 16.04.6 LTS
xxx@ip-172-28-1-25:~$ apt-cache policy apt-rdepends
apt-rdepends:
  Installed: 1.3.0-5
  Candidate: 1.3.0-5
  Version table:
 *** 1.3.0-5 500
        500 https://repo.optanix.io/external xenial/main amd64 Packages
        100 /var/lib/dpkg/status

When running apt-rdepends without a version the information is returned as expected.

xxx@ip-172-28-1-25:~$ apt-rdepends bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
bash
  Depends: base-files (>= 2.1.12)
  Depends: debianutils (>= 2.15)
  PreDepends: dash (>= 0.5.5.1-2.2)
  PreDepends: libc6 (>= 2.15)
  PreDepends: libtinfo5

but when running with a version as you would in an apt-get command this happens:

xxx@ip-172-28-1-25:~$ apt-rdepends bash=4.3-14ubuntu1
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Unable to locate package bash=4.3-14ubuntu1
bash=4.3-14ubuntu1

To me, it seems like this functionality is vital to this tool especially when managing large pools of packages. If this is intended functionality feel free to close :)