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

Bug#214699: marked as done (dpkg-divert: should warn that diverting libraries is tricky)



Your message dated Sun, 25 Apr 2004 14:17:03 -0400
with message-id <E1BHoBb-0002aU-00@newraff.debian.org>
and subject line Bug#214699: fixed in dpkg 1.10.21
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; 8 Oct 2003 05:40:49 +0000
>From ccheney@conr-adsl-cheney.txucom.net Wed Oct 08 00:40:48 2003
Return-path: <ccheney@conr-adsl-cheney.txucom.net>
Received: from (pico.surpasshosting.com) [64.5.56.18] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1A7744-0002fp-00; Wed, 08 Oct 2003 00:40:48 -0500
Received: from conr-adsl-cheney.txucom.net ([207.70.165.48] helo=calc)
	by pico.surpasshosting.com with esmtp (TLSv1:RC4-SHA:128)
	(Exim 4.24)
	id 1A7743-0005R5-4E; Wed, 08 Oct 2003 00:40:47 -0500
Received: from ccheney by calc with local (Exim 4.24)
	id 1A7742-0006ZZ-8w; Wed, 08 Oct 2003 00:40:46 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Chris Cheney <ccheney@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg-divert: appears to copy symlink and leaves old one there [libxrender1]
X-Mailer: reportbug 2.34
Date: Wed, 08 Oct 2003 00:40:46 -0500
Message-Id: <E1A7742-0006ZZ-8w@calc>
Sender: "Christopher L. Cheney" <ccheney@conr-adsl-cheney.txucom.net>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - pico.surpasshosting.com
X-AntiAbuse: Original Domain - bugs.debian.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - conr-adsl-cheney.txucom.net
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_05
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_05 (1.174.2.15-2003-03-30-exp)

Package: dpkg
Version: 1.10.15
Severity: serious

There appears to be some kind of issue with dpkg-divert not moving
symlinks at times. Both Branden and I have looked at libxrender1 and it
appears to be calling divert correctly but the file is diverted _AND_
the old file is still left in its location. I tested this inside a clean
chroot and was able to repeat it multiple times.

BTW - This is in libxrender1 0.8.3-1.

Chris

Here is its preinst:

---
#!/bin/sh

# $Id: libxrender1.preinst 27 2003-05-04 10:22:34Z branden $

set -e

if [ "$1" = "install" -o "$1" = "upgrade" ]; then
    dpkg-divert --package libxrender1 --add --rename \
        --divert /usr/X11R6/lib/libXrender-1.1.so.1 /usr/X11R6/lib/libXrender.so.1
fi



exit 0

# vim:set ai et sts=4 sw=4 tw=0:
---


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux calc 2.4.22-bk18 #1 SMP Mon Sep 15 12:55:07 CDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages dpkg depends on:
ii  dselect                       1.10.15    a user tool to manage Debian packa
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an

-- no debconf information


---------------------------------------
Received: (at 214699-close) by bugs.debian.org; 25 Apr 2004 18:23:11 +0000
>From katie@ftp-master.debian.org Sun Apr 25 11:23:11 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHoHX-0004kk-00; Sun, 25 Apr 2004 11:23:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BHoBb-0002aU-00; Sun, 25 Apr 2004 14:17:03 -0400
From: Scott James Remnant <scott@netsplit.com>
To: 214699-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#214699: fixed in dpkg 1.10.21
Message-Id: <E1BHoBb-0002aU-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 25 Apr 2004 14:17:03 -0400
Delivered-To: 214699-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 24

Source: dpkg
Source-Version: 1.10.21

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:

dpkg-dev_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-dev_1.10.21_all.deb
dpkg-doc_1.10.21_all.deb
  to pool/main/d/dpkg/dpkg-doc_1.10.21_all.deb
dpkg_1.10.21.dsc
  to pool/main/d/dpkg/dpkg_1.10.21.dsc
dpkg_1.10.21.tar.gz
  to pool/main/d/dpkg/dpkg_1.10.21.tar.gz
dpkg_1.10.21_i386.deb
  to pool/main/d/dpkg/dpkg_1.10.21_i386.deb
dselect_1.10.21_i386.deb
  to pool/main/d/dpkg/dselect_1.10.21_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 214699@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott James Remnant <scott@netsplit.com> (supplier of updated dpkg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 25 Apr 2004 18:55:10 +0100
Source: dpkg
Binary: dpkg-doc dpkg dselect dpkg-dev dpkg-static
Architecture: source all i386
Version: 1.10.21
Distribution: unstable
Urgency: low
Maintainer: Dpkg Development <debian-dpkg@lists.debian.org>
Changed-By: Scott James Remnant <scott@netsplit.com>
Description: 
 dpkg       - Package maintenance system for Debian
 dpkg-dev   - Package building tools for Debian
 dpkg-doc   - Dpkg Internals Documentation
 dselect    - a user tool to manage Debian packages
Closes: 10879 33046 47267 90623 98210 102094 109669 109691 115352 120970 124225 146167 151799 155456 158916 160761 161156 166052 171489 174973 174978 179192 187952 200701 200763 204275 207758 214699 219210 220776 225086 233614 237589 237624 237864 239000 240081 241503 242870 243191 244098 244316
Changes: 
 dpkg (1.10.21) unstable; urgency=low
 .
   * Fix incorrect linked list node removal code that caused every second
     shared or diverted conffile to be deleted by dpkg.
     Closes: #10879, #33046, #47267, #90623, #98210, #109691, #146167.
     Closes: #155456, #204275.
   * Call mknod with the required device type.  Closes: #158916.
   * Correct the default query output format to be consistent with
     what the underlying library expects.  Closes: #174973.
   * Fix missing NULL-termination in dpkg-query -W display of dependency
     fields.  Closes: #174978
   * Strip output from md5sum(1) after the first whitespace character.
     Closes: #200763.
   * Output a warning if we cannot open a configuration file instead of
     treating it as a fatal error, in case our home directory is not readable
     by root.  Closes: #200701.
   * Set LC_ALL to C before spawning off dpkg --search, to avoid searching
     on localized strings.  Closes: #244316.
   * Don't require argument for start-stop-daemon -V.  Closes: #237589.
   * Correct use of @ARGV within dpkg-scanpackages, allowing -u to work
     once again.  Closes: #225086, #241503.
   * Make sure file permissions passed to dpkg-statoverride are numeric.
     Closes: #161156.
   * Correctly break out of the loop in install-info.
     Closes: #124225, #160761.
   * Add --dir-file option to install-info for GNU install-info
     compatibility.  Closes: #179192
   * Refer to debian-policy in dpkg-doc's description instead of the
     non-existant packaging-manual.  Closes: #120970.
   * Remove incorrect mention of build-essential from dpkg-checkbuilddeps
     manpage.  Closes: #219210.
   * Add a note about diverting shared libraries to the dpkg-divert
     manpage.  Closes: #214699.
   * Updated Translations:
     - Brazilian Portugese (Andre Luis Lopes).  Closes: #237864.
     - Catalan (Jordi Mallach).
     - Danish (Claus Hindsgaul).  Closes: #237624.
     - Dutch (Pieter-Paul Spiertz, Bart Cornelis, Erwin).
       Closes: #102094, #151799, #207758.
     - French (Sam Hocevar).  Closes: #243191.
     - German (Florian Ernst).  Closes: #109669, #115352, #187952, #244098.
     - Japanese manpages (KISE Hiroshi).  Closes: #220776.
     - Polish (Bartosz Fenski).  Closes: #242870.
     - Spanish (Javier Fernández-Sanguino Peña).  Closes: #166052.
     - Swedish (Peter Karlsson).
   * New Translations:
     - Japanese dpkg-source manpage (KISE Hiroshi).  Closes: #239000.
     - Norwegian Nynorsk (Gaute Hvoslef Kvalnes).  Closes: #233614.
     - Portguese (Miguel Figueiredo).  Closes: #240081.
     - Spanish dpkg-source manpage (Ruben Porras).  Closes: #171489.
Files: 
 3c0ee1d26bd55362b92eee8e6255aee0 798 base required dpkg_1.10.21.dsc
 a9f6c43891db74d727beab7dfc0ee663 1682647 base required dpkg_1.10.21.tar.gz
 e492251ba4cf345982782b7880056e1f 1220962 base required dpkg_1.10.21_i386.deb
 132ac9df0f3dd8fd8b7adbf409f8ed3e 105530 base required dselect_1.10.21_i386.deb
 48e0a00caea19997c46ad2d7539b2731 137490 utils standard dpkg-dev_1.10.21_all.deb
 794381a64e07416e48af7d6bb4ae52d0 10620 doc optional dpkg-doc_1.10.21_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAi/2fIexP3IStZ2wRAn8pAJ9/rxk0uozGIQta1eA1i+IQZIQx9QCgpA1B
Hn7++hlhNM0b38XnzfCRzhg=
=GiSq
-----END PGP SIGNATURE-----



Reply to: