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



Relevant Pages

  • Re: How to make an upgraded system clean by automatically removing abandoned config files?
    ... but would not be installed in a fresh installation of squeeze. ... squeeze as in lenny, ... Find any cruft built up on your system ... `extra files' that can appear during the lifetime of various packages. ...
    (Debian-User)
  • Advice on tulip driver
    ... as root user xsane finds the scanner but as a normal user xsane ... > First you need to run apt-get update to read the list of packages. ... I removed the existing KDE installation: ... > Probing devices to guess BIOS drives. ...
    (Debian-User)
  • Re: Feedback wanted for a drag-and-drop install location interface for PackMan
    ... You mean the "Packages to configure"? ... fact that items in that window can be selected. ... the window for the current app. ... installation (though that's at odds with my comments about the drag and drop ...
    (comp.sys.acorn.apps)
  • Re: [SLE] late KDE update!
    ... >> installing first all the base packages. ... e) Added the new installation source in YaST using a local mirror. ... t) The conflict window returned with several KDE packages listed. ...
    (SuSE)
  • Re: XP Full/upgrade what?
    ... You have a current installation of Windows 98/98SE/ME/NT ... "FULL OEM" CD. ... The COA and Product Keys for these packages will be the same as the ... packages from Microsoft, ...
    (microsoft.public.windowsxp.basics)