dpkg --get-selections

If none of the more specific forums is the right place to ask

Re: dpkg --get-selections

Postby gnudude » 2009-05-07 14:03

So we can safely conclude...

so 'purge' will result in the package no longer being listed at all

and 'remove' will usually result in deinstall listing but may result in the package no longer being listed at all
Posts: 1712
Joined: 2009-04-05 17:30
Location: gone....

Re: dpkg --get-selections

Postby TAS » 2009-05-08 14:01

If there is no configuration, cache files or whatever to be removed, then the package will be completely removed and not left in 'c' (deinstall) state.

E.g. server01-dom0:~# dpkg -L telnet

This should always be completely removed. Dependencies that were installed automatically are never purged by default (if not uninstalled manually, using the purge command).
Posts: 20
Joined: 2009-04-29 06:57

Re: dpkg --get-selections

Postby hasi » 2009-07-17 12:22

I had the same problem. The following commands fixed it for me:
Code: Select all
aptitude purge $(dpkg --get-selections | grep deinstall | sed s/deinstall//)
Posts: 1
Joined: 2009-07-17 12:19


Return to General Questions

Who is online

Users browsing this forum: No registered users and 16 guests