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

Bug#264606: marked as done (dpkg has problems to replace directories with symlinks during updates)



Your message dated Mon, 9 Aug 2004 12:53:49 -0500 (CDT)
with message-id <Pine.LNX.4.58.0408091252430.1546@gradall.private.brainfood.com>
and subject line Bug#264606: dpkg has problems to replace directories with symlinks during updates
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; 9 Aug 2004 15:51:06 +0000
>From thomas.schmidt@in.stud.tu-ilmenau.de Mon Aug 09 08:51:06 2004
Return-path: <thomas.schmidt@in.stud.tu-ilmenau.de>
Received: from piggy.rz.tu-ilmenau.de [141.24.4.8] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BuCQU-0003lv-00; Mon, 09 Aug 2004 08:51:06 -0700
Received: from slipstream.wg (vpn22.rz.tu-ilmenau.de [141.24.172.22])
	(authenticated bits=0)
	by piggy.rz.tu-ilmenau.de (8.12.10/8.12.10) with ESMTP id i79Fp3ME023830
	(version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO)
	for finalrecipients; Mon, 9 Aug 2004 17:51:04 +0200 (MET DST)
Received: from chelli by slipstream.wg with local (Exim 4.34 #1 (Debian))
	id 1BuCQR-0001G2-9M; Mon, 09 Aug 2004 17:51:03 +0200
Content-Type: multipart/mixed; boundary="===============1506524415=="
MIME-Version: 1.0
From: Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg has problems to replace directories with symlinks during updates
X-Mailer: reportbug 2.64
Date: Mon, 09 Aug 2004 17:51:03 +0200
Message-Id: <[🔎] E1BuCQR-0001G2-9M@slipstream.wg>
Sender: Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
Delivered-To: submit@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=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_DSBL autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1506524415==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: dpkg
Version: 1.10.23
Severity: important

Hi

During the T&S-Stage of the NM-process i found a weird problem with 
dpkg:

Assume you have a package (revision 1) with 2 directories which contain 
the same data. You now want to change in revision 2 that directory 2 is
just a symlink to directory 1.

But after the upgrade from revision 1 to revision 2, directory 2 wont be
a symlink, but a empty!!! directory.

(When installing revision 2 without the revision 1 installed previously,
everything works as expected.)

My Application Manager, Marc Brockschmidt wrote a simple package to
demonstrate this issue, see the attached file.

Regards,
Thomas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-bk20
Locale: LANG=de_DE@euro, LC_CTYPE=iso_8859_15 (ignored: LC_ALL set to de_DE@euro)

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

-- no debconf information

--===============1506524415==
Content-Type: application/octet-stream
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="example.tar.gz"

H4sIAHKWF0EAA+2bXXOjNhSGfRv9CnV6sdvu2pEEApu2O5tMdmdzkc7OuNPbDAbZMMHgCmg3/fUV
4K8GG69rLJLueSax+TQfLy9HOpLEF3e+iESfXvbOBlHYnBff1OZk+3tFjxJKuE2ZQWiPUGqZd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/
cYj/Oljn/1hj/u/alUfm/+6S+C3GI3yVz6r8H7UdajmM4zdEzSMEmcfnQN3/3eb/qvhvmjbk/7QA
+b9vm5r/O6j/mxbbKv+ZZf0f4r8e/hf1/yhW553icsGuev43Xsdvoub/rsd/VfU/C+p/etipf5fj
v0r9q/If6H9+9urf1fivUn9edAMC/TXQrH8H4z9K/S0C/T/10KQ/a+kYx/vfotToYdbiO2gvoH9d
/y7H/5Dl+B8Y/6eFJv11jf9Rwtf8bzJ4/+vgyPE/XZ8u0DJN/u9k/E/lf8Zs8L8O9o//Ya2M/6EW
jP95ztT833X/36r8Rym0/2lh1f+XQf9fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgx/AP+
foP+AHgAAA==
--===============1506524415==--

---------------------------------------
Received: (at 264606-done) by bugs.debian.org; 9 Aug 2004 17:53:53 +0000
>From doogie@debian.org Mon Aug 09 10:53:53 2004
Return-path: <doogie@debian.org>
Received: from brown.brainfood.com (gradall.private.brainfood.com) [146.82.138.61] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BuELJ-0007uZ-00; Mon, 09 Aug 2004 10:53:53 -0700
Received: from localhost ([127.0.0.1] ident=adam)
	by gradall.private.brainfood.com with esmtp (Exim 3.36 #1 (Debian))
	id 1BuELG-0001s8-00; Mon, 09 Aug 2004 12:53:50 -0500
Date: Mon, 9 Aug 2004 12:53:49 -0500 (CDT)
From: Adam Heath <doogie@debian.org>
X-X-Sender: adam@gradall.private.brainfood.com
To: Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>, 
    264606-done@bugs.debian.org
Subject: Re: Bug#264606: dpkg has problems to replace directories with symlinks
 during updates
In-Reply-To: <[🔎] E1BuCQR-0001G2-9M@slipstream.wg>
Message-ID: <Pine.LNX.4.58.0408091252430.1546@gradall.private.brainfood.com>
References: <[🔎] E1BuCQR-0001G2-9M@slipstream.wg>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 264606-done@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Mon, 9 Aug 2004, Thomas Schmidt wrote:

> Package: dpkg
> Version: 1.10.23
> Severity: important
>
> Hi
>
> During the T&S-Stage of the NM-process i found a weird problem with
> dpkg:
>
> Assume you have a package (revision 1) with 2 directories which contain
> the same data. You now want to change in revision 2 that directory 2 is
> just a symlink to directory 1.
>
> But after the upgrade from revision 1 to revision 2, directory 2 wont be
> a symlink, but a empty!!! directory.
>
> (When installing revision 2 without the revision 1 installed previously,
> everything works as expected.)
>
> My Application Manager, Marc Brockschmidt wrote a simple package to
> demonstrate this issue, see the attached file.

This is how it is supposed to function.  Use your preinst to change it, if you
really can.

Consider the case where a local admin has symlinked a directory to a new
place.  If dpkg changed it back, it would be buggy.



Reply to: