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

Re: Dselect 'Purge' does not remove directories from /etc



On Sun, Aug 18, 2002 at 11:55:22AM +0200, Balazs Javor wrote:
> I've been wondering about this for a while now,
> and maybe it's something obvious, but I would greatfull if
> somewhan could explain it to me.
> 
> From time to time I look at different packages to find out
> which I like. (E.g. which is the best ICQ client.)
> Now, when it comes to removing those I didn't like,
> even though I select to 'purge' config files in dselect
> in many cases it will leave at least the directories behind
> saying 'directory is not empty, not removed'
> After a while the /etc directory starts to get cluttered up...

Make sure it's reported as a minor bug against the packages in question,
please. dpkg doesn't handle this case as well as it might: it tries to
remove the directories before the configuration files are removed, finds
it can't and prints an error about it, but doesn't try again after
running the postrm script to remove configuration files. Thus, packages
currently have to handle this themselves.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: