On Mon, Jun 16, 2008 at 08:30:13AM +0200, Raphael Hertzog wrote:
> On Fri, 13 Jun 2008, James Vega wrote:
> > Since this potentially causes any *new* installs of packages using
> > diversions to fail, I'm raising the severity to important.  The current
> > behavior will cause failed installs for packages that divert files in
> > package-specific directories using the code snippets in Section G of
> > policy.
> 
> Can you check if the following patch is enough to resolve your problems?
> 
> http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=d329b123b6d061df4b7a6dce938d6d9046b879ae
> 
> I tend to think that it's not yet enough as it will still fail if the
> destination directory doesn't exist while the file-to-be-diverted does.

You're right. It does still fail in this scenario, although I'm inclined
to think that is a corner case.

The example code in dpkg-divert(8) and policy place the diverted file in
the same directory.  Checking the lintian lab, the same is also true of
all current preinst scripts.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to