Your message dated Mon, 1 Dec 2003 12:15:01 -0600 (CST)
with message-id <[EMAIL PROTECTED]>
and subject line Bug#222251: /usr/sbin/dpkg-divert: refuses diverting of
symlinks pointing on a directory
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Nov 2003 20:35:22 +0000
>From [EMAIL PROTECTED] Wed Nov 26 14:35:21 2003
Return-path: <[EMAIL PROTECTED]>
Received: from uucp.gnuu.de [151.189.0.84]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AP6Nd-0001wh-00; Wed, 26 Nov 2003 14:35:21 -0600
Received: from alea.gnuu.de ([EMAIL PROTECTED])
by uucp.gnuu.de (8.12.9/8.12.9) with bsmtp id hAQKZKK0052460
for [EMAIL PROTECTED]; Wed, 26 Nov 2003 21:35:20 +0100 (CET)
Received: from [192.168.0.2] (helo=joerg.localnet)
by alea.gnuu.de with smtp (Exim 3.36 #1 (Debian))
id 1AP6E1-0008OV-00
for <[EMAIL PROTECTED]>; Wed, 26 Nov 2003 21:25:25 +0100
Received: by joerg.localnet (sSMTP sendmail emulation); Wed, 26 Nov 2003
21:25:26 +0100
Date: Wed, 26 Nov 2003 21:25:26 +0100
From: =?iso-8859-1?Q?J=F6rg?= Sommer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/sbin/dpkg-divert: refuses diverting of symlinks pointing on a
directory
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM"
Content-Disposition: inline
X-Reportbug-Version: 2.36
User-Agent: Mutt/1.5.4i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin
2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no
version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level:
--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: dpkg
Version: 1.10.18
Severity: normal
File: /usr/sbin/dpkg-divert
Tags: Patch
$ ls -l /usr/share/doc/python2.3/python-policy.html
lrwxrwxrwx 1 root root 28 2003-11-17 23:18
/usr/share/doc/python2.3/python-policy.html -> ../python/python-policy.html
# dpkg-divert --package python --rename
/usr/share/doc/python2.3/python-policy.html
dpkg-divert: Cannot divert directories
As you can see dpkg-divert refuses diverting of a symlink that points on
a directory.
--- /usr/sbin/dpkg-divert 2003-10-27 20:45:09.000000000 +0100
+++ /tmp/dpkg-divert 2003-11-26 21:22:33.000000000 +0100
@@ -119,7 +119,7 @@
$file= $ARGV[0];
$file =~ m#^/# || &badusage("filename \"$file\" is not absolute");
$file =~ m/\n/ && &badusage("file may not contain newlines");
- -d $file && &badusage("Cannot divert directories");
+ -d $file && ! -s $file && &badusage("Cannot divert directories");
$divertto= "$file.distrib" unless defined($divertto);
$divertto =~ m#^/# || &badusage("filename \"$divertto\" is not absolute");
$package= ':' unless defined($package);
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux joerg 2.6.0-test9 #2 Sun Nov 2 00:36:03 MET 2003 i586
Locale: LANG=de_DE, LC_CTYPE=de_DE
Versions of packages dpkg depends on:
ii dselect 1.10.18 a user tool to manage Debian packa
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
-- no debconf information
--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/xQw1Oyr72Bm2GZcRAunyAJ0QYx3ekpQYrPPQKmPY25jfNtEsrgCfbvyO
IdI2CtY1ySvRxH1I0EjY0po=
=rExI
-----END PGP SIGNATURE-----
--cWoXeonUoKmBZSoM--
---------------------------------------
Received: (at 222251-done) by bugs.debian.org; 1 Dec 2003 18:14:19 +0000
>From [EMAIL PROTECTED] Mon Dec 01 12:14:18 2003
Return-path: <[EMAIL PROTECTED]>
Received: from brown.brainfood.com (gradall.private.brainfood.com)
[146.82.138.61]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AQsYs-000478-00; Mon, 01 Dec 2003 12:14:18 -0600
Received: from localhost ([127.0.0.1] ident=adam)
by gradall.private.brainfood.com with esmtp (Exim 3.36 #1 (Debian))
id 1AQsZa-00014f-00; Mon, 01 Dec 2003 12:15:02 -0600
Date: Mon, 1 Dec 2003 12:15:01 -0600 (CST)
From: Adam Heath <[EMAIL PROTECTED]>
X-X-Sender: [EMAIL PROTECTED]
To: =?iso-8859-1?Q?J=F6rg?=Sommer <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>
Subject: Re: Bug#222251: /usr/sbin/dpkg-divert: refuses diverting of symlinks
pointing on a directory
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin
2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=FOOASDF,HAS_BUG_NUMBER
autolearn=no
version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level:
On Wed, 26 Nov 2003, J=F6rgSommer wrote:
> Package: dpkg
> Version: 1.10.18
> Severity: normal
> File: /usr/sbin/dpkg-divert
> Tags: Patch
>
> $ ls -l /usr/share/doc/python2.3/python-policy.html
> lrwxrwxrwx 1 root root 28 2003-11-17 23:18 /usr/share/do=
c/python2.3/python-policy.html -> ../python/python-policy.html
> # dpkg-divert --package python --rename /usr/share/doc/python2.3/python-p=
olicy.html
> dpkg-divert: Cannot divert directories
>
> As you can see dpkg-divert refuses diverting of a symlink that points on
> a directory.
Because you can't divert directories either.