[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#199651: dpkg/apt: when removing a package, purge it if no config files



Package: dpkg
Version: 1.10.10
Severity: wishlist
File: /usr/bin/dpkg

    As I understand, removing a package instead of purging it is only meant
to leave the config files installed.  So does it make any sense to leave a
record in the package database (an "rc" line in the "dpkg -l" output) when
there aren't any config files in the package?  Here is an example of a
removed (but not purged) package:

$ dpkg -L libgmp3
Package `libgmp3' does not contain any files (!)

My suggestion is to automatically purge a package when it is requested to be
removed, iff the package does not contain any config files. Is that feasible?

Thanks,

    - Stephan.

Attachment: pgpnNWl9X_4rQ.pgp
Description: PGP signature


Reply to: