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

Bug#264606: dpkg has problems to replace directories with symlinks during updates



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

Attachment: example.tar.gz
Description: Binary data


Reply to: