[Aptitude-devel] why does not aptitude purge rather than just remove packages.

Daniel Hartwig mandyke at gmail.com
Wed Feb 22 15:36:04 UTC 2012


2012/2/22 shirish शिरीष <shirishag75 at gmail.com>:
>
>  would $dpkg -L $deleted-package-name
>
> show the files that are present ? I would test them the next time
> updating removes some files (old libraries which are being replaced by
> newer libraries and so on and so forth)
> .

No.  You can list the conf. files with:

$ dpkg-query --showformat='${Conffiles}\n' --show $PKG

Other files and cleanup actions are handled by the "purge" action in
/var/lib/dpkg/info/$PKG.postrm

Not all packages make use of these facilities.


[1] http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
[2] http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails



More information about the Aptitude-devel mailing list