Goswin von Brederlow writes ("Re: Question about dpkg -r"):
> Say foo and bar both use /foobar/. When you install foo dpkg has to
> create the directory. When you install bar the directory is already
> there. When you purge foo the directory is not empty and fails to
> rmdir. Now, when you purge bar it won't remove /foobar because
> installing bar did not create it. You have a useless leftover dir.

Is this the dpkg bug your referred to earlier ?  Because it would be a
bug if when you install bar the directory isn't recorded as being used
by bar (ie, in bar's .list file).

NB that packages are supposed to contain the directories containing
their files, IYSWIM.

So this package:
   usr
   usr/bin
   usr/bin/hello
is fine but this one:
   usr/bin/hello
is wrong.

Ian.


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

Reply via email to