finding leftovers
Many times, after upgrading/purging a package, the old/purged version
leaves some files behind it was not supposed to. Just to have an
example, after purging all the xemacs packages:
nr# dpkg -l xemacs*
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
pn xemacs <none> (no description available)
pn xemacs-support <none> (no description available)
pn xemacs-widget <none> (no description available)
un xemacs19 <none> (no description available)
un xemacs19-suppor <none> (no description available)
un xemacs19-suppor <none> (no description available)
pn xemacs20 <none> (no description available)
un xemacs20-bin <none> (no description available)
un xemacs20-mule <none> (no description available)
un xemacs20-mule-c <none> (no description available)
un xemacs20-nomule <none> (no description available)
pn xemacs20-suppor <none> (no description available)
un xemacs20-suppor <none> (no description available)
I still have:
nr# du /etc/xemacs20/
1 /etc/xemacs20/site-start.d
2 /etc/xemacs20
Is there a way to see what files are in my system that do not belong
to any installed package? It would probably be a script that would
inspect the installed packages and compare with the hd.
Sure, it would have to ignore
/home
/var/spool
/var/log
and maybe even:
/usr/local
and others...
Thanks!
--
Luiz Otavio L. Zorzella Product Engineer
zorzella@conexware.com http://www.conexware.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: