Your message dated Sun, 22 Nov 2009 06:54:17 +0100
with message-id <[email protected]>
and subject line Re: Bug#199651: dpkg: Purging instead of removing if no 
conffiles would be great
has caused the Debian Bug report #199651,
regarding dpkg/apt: when removing a package, purge it if no config files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
199651: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=199651
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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: pgpoBtUp6srKM.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hi!

On Tue, 2007-01-30 at 11:33:10 +0100, Frank Lichtenheld wrote:
> On Sat, Jan 20, 2007 at 02:26:31AM +0100, Eric Estievenart wrote:
> > => at least 130 could have been purged, with all corresponding files
> > in var/lib/dpkg/info
> 
> Please note that the difference between remove/purge is one of
> all configuration of a package, not just its conffiles. dpkg
> can't know wether a package does delete additional data
> (like e.g. debconf or ucf data) in case of a purge or not.

As Frank said, it's not possible for dpkg to know this, and in fact
it already purges a package when the user asked for removal iff there's
no conffiles and there's no postrm script.

Thus closing.

regards,
guillem


--- End Message ---

Reply via email to