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

Re: How to make an upgraded system clean by automatically removing abandoned config files?



On Thu, Jan 13, 2011 at 08:10:07PM -0500, Drew Engelbrecht wrote:
>    I've noticed some abandoned configuration files have been left lying
>    around my harddrive, which by their existence have a (sometimes negative)
>    effect on my upgraded system. They were installed by packages in lenny,
>    but would not be installed in a fresh installation of squeeze. Despite
>    unmodified configuration files getting replaced by newer ones when
>    upgrading, it seems that if they don't belong to the same package in
>    squeeze as in lenny, then they are not removed... even though that file
>    may be unmodified from the original (and now useless or even harmful.)

You might take a look at cruft:

Description: Find any cruft built up on your system
 cruft is a program to look over your system for anything that shouldn't
 be there, but is; or for anything that should be there, but isn't.
 .
 It bases most of its results on dpkg's database, as well as a list of
 `extra files' that can appear during the lifetime of various packages.
 .
 cruft is still in pre-release; your assistance in improving its accuracy
 and performance is appreciated.
Homepage: http://alioth.debian.org/projects/cruft/

Attachment: signature.asc
Description: Digital signature


Reply to: