Thanks for the suggestions Reuben. Comments are below...

Received Sat 26 Apr 2008  6:20am +1000 from Reuben Thomas:
> Package: wajig
> Version: 2.0.38
> Severity: wishlist
> 
> 
> I often go through my packages and purge configuration files of removed
> packages. It'd be nice to do at least one of two things:
> 
> 1. Have wajig purge prompt. I often want to know whether a purge is
> likely to cause problems, so I run wajig remove to see if any problems
> will be caused, then wajig purge to remove the packages. This is to
> avoid the situation where packages are purged but still installed
> because of dependency problems, as wajig purge doesn't prompt, but just
> goes ahead and tries to purge the packages you ask to be purged without
> first checking dependencies.

I just use dpkg --purge here. So wajig does not dependency checks. In
fact, doesn't it fail if there are dependencies?

> 2. Add wajig purge-removed to purge packages that have already been
> removed but have configuration files still in the system. This is useful
> in its own right e.g. after a system upgrade. I use the following script
> for this at the moment:
> 
> dpkg-query -W --showformat='${Package}\t${Status}\n' | grep "deinstall ok 
> config-files" | cut -f 1 | xargs wajig purge
> 

Would this be the same as dpkg --purge --pending?

Regards,
Graham



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to