apt-rdepends does not accept package version

Bug #1859834 reported by Gage LeBlanc
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-rdepends (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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://example.com/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 :)

Gage LeBlanc (gleblanc4)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-rdepends (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.