Bug#476973: Raising severity

2008-06-17 Thread James Vega
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]


signature.asc
Description: Digital signature


Bug#476973: Raising severity

2008-06-16 Thread Raphael Hertzog
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.
But I might be mistaken and I'd rather make sure that the bug is really
fixed before proceeding with the 1.14.20 upload.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



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



Bug#476973: Raising severity

2008-06-13 Thread James Vega
severity 476973 important
thanks

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.

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


signature.asc
Description: Digital signature