apt-mark: list automatically-installed packages
Bug #411369 reported by
Paul Sladen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: apt
Currently 'apt-mark' can set, or unset the auto-remove status ('Auto-Installed:') in /var/lib/
However, the best way to *list* the content of those flags appears to be some invocation of
grep -A1 packagename /var/lib/
Ideally, if apt-mark is given a commandline with no set/unset command it should list the status of the matching package(s).
Alternatively, this could be via an added 'apt-mark list' or 'apt-mark show' option.
To post a comment you must log in.
Colin suggests a current (clean) workaround is:
$ grep-dctrl -nsAuto-Installed -PX libc6-dev /var/lib/ apt/extended_ states