On 09/17/12 13:05, Dmitriy Matrosov wrote:
[1]: Though, note, that (/var/lib/dpkg/status) file will be listed in
`apt-cache showpkg` output even for uninstalled packages, which config
files
still present. E.g. for status, like:
Status: deinstall ok config-files
Just want to add: if you need to exclude these packages (like ones with
status
'deinstall ok config-files') you may do this by filtering dpkg-query
output, like so
$ dpkg-query -Wf '${Package}\t${Status}\n' | sed -ne '/install ok
installed/s/\t.*//p'
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50570dd7.3060...@gmail.com