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

Re: Remove unwanted, orphaned files and dependencies



The aptitude command offers some help:

$ aptitude search '~c'

searches for packages that were removed but not purged, i.e., their
configuration files are still present;
to get rid of these files order

$ aptitude purge '~c'

Next:

$ aptitude search '~g'

searches for packages not required by any manually installed packages.
If you are sure you want to get rid of them order something like

$ aptitude purge $(aptitude -F "%p" search '~g')

-- 
Regards,
jvp.



Reply to: