On Wed, 11 Apr 2012, Brian May wrote:
> On 10 April 2012 16:06, Yves-Alexis Perez <cor...@debian.org> wrote:
> >> dpkg -l | awk '/^rc/ {print $2}' | xargs --no-run-if-empty dpkg --purge
> >>
> > That's a pretty dangerous line. People (sometimes) don't purge packages
> > for a reason, you might lose data here.
> 
> Under some circumstances it can delete configuration files that are in
> use by active packages.
> 
> e.g. package b replaces package a, however uses the same set of
> configuration files - purge package a and it will delete the
> configuration
> files now in use by package b.

Err, no. At least dpkg shouldn't do that. If you can reproduce it, please
file a bug.

(Make sure it's not some postrm that is badly behaving)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120411061929.gf8...@rivendell.home.ouaza.com

Reply via email to