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

Re: Can /usr/share/doc/<pkg> be deleted on upgrade ?

On Sun, Nov 29, 2009 at 05:13:51PM -0600, Manoj Srivastava wrote:
> On Thu, Nov 26 2009, Matthew Palmer wrote:
> > On Thu, Nov 26, 2009 at 01:38:32PM +0100, Lucas B. Cohen wrote:
> >> Is it considered acceptable for a package to blindly delete, then
> >> recreate its entire directory under /usr/share/doc upon installation or
> >> upgrade ?
> >
> > I would consider it extremely unacceptable.  Your package can fiddle
> > with files it owns, but anything else is Right Out.
>         Right. But a package owns the directory
>  /usr/share/doc/<package-name>, and other packages should not be dumping
>  things in there -- there should be no expectation of any directory
>  structure under another packages /usr/share/doc directory surviving.

According to dpkg -L, sysklogd owns /var/log (and /var, /usr, and /usr/sbin
for that matter); I would still consider it unpleasant if sysklogd decided
to go and delete any of those directories because it "owned" it.  I did use
the word "file" in my previous statement quite deliberately.

- Matt

Reply to: