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

Re: What should postrm purge actually do?

On Tue, 3 Jun 2008 21:05:30 +0200
Michael Koch <konqueror@gmx.de> wrote:

> So a good installer knows when you mount your $HOME on multiple machines
> and use some config files only on some machines? </irony>
> Its the job of the user to cleanup his home. He knows best what he still
> needs. Or at least should know.

When you have a lot of software installed on your system, it might get
difficult to trace exactly which configuration files you need and which
ones you don't need.

Now imagine the following situation: a package's maintainer can declare the
per-user configuration/cache files used by the program, so they are added
to the dpkg database along with other files belonging to the package.

It would then be trivial (or at least possible) to write a simple program
which scans the user's home directory, and notifies the user of
configuration/cache files which do not belong to any installed program.

Andrea Bolognani <eof@kiyuko.org>
Resistance is futile, you will be garbage collected.

Attachment: pgpbngCXtUPFH.pgp
Description: PGP signature

Reply to: