Package: dpkg Version: 1.13.26 Followup-For: Bug #182747 I've created a package for a proprietary software that bundles with java. We've decided since then to replace the bundled java with a symlink to the system java, but when our systems update the package, they are left with an empty directory. I have attached some small test packages that exhibit this problem if you do an update, but not if you do a removal and install.
-- System Information: Debian Release: 4.0 APT prefers oldstable APT policy: (500, 'oldstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.24-etchnhalf.1-686-bigmem Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Versions of packages dpkg depends on: ii coreutils 5.97-5.3 The GNU core utilities ii libc6 2.3.6.ds1-13etch9+b1 GNU C Library: Shared libraries dpkg recommends no packages. -- no debconf information
test_0-2.tar.gz
Description: Binary data
Format: 1.7 Date: Tue, 7 Apr 2009 11:07:29 +1000 Source: test Binary: test Architecture: source all Version: 0-2 Distribution: unstable Urgency: low Maintainer: MATHS <z3208...@science.unsw.edu.au> Changed-By: MATHS <z3208...@science.unsw.edu.au> Description: test - <insert up to 60 chars description> Changes: test (0-2) unstable; urgency=low . * replace test dir with link Files: 674d7914213a3675db4ef2d2b2ad820c 245 unknown extra test_0-2.dsc af42f4554ed136dd295e82137f72a7e8 8384 unknown extra test_0-2.tar.gz 9b38f3b2298d727f8c0f82cc6f1528dc 1686 unknown extra test_0-2_all.deb
test_0-2_all.deb
Description: application/archive
Format: 1.0 Source: test Version: 0-2 Binary: test Maintainer: MATHS <z3208...@science.unsw.edu.au> Architecture: all Standards-Version: 3.7.2 Build-Depends: debhelper (>= 5), quilt Files: af42f4554ed136dd295e82137f72a7e8 8384 test_0-2.tar.gz
test_0-1.tar.gz
Description: Binary data
Format: 1.7 Date: Tue, 7 Apr 2009 10:58:41 +1000 Source: test Binary: test Architecture: source all Version: 0-1 Distribution: unstable Urgency: low Maintainer: MATHS <z3208...@science.unsw.edu.au> Changed-By: MATHS <z3208...@science.unsw.edu.au> Description: test - <insert up to 60 chars description> Changes: test (0-1) unstable; urgency=low . * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> Files: fe620059720553c80c415baa79055b95 245 unknown extra test_0-1.dsc 4cb87fefc975f77d5f0a42c6307ebbd6 8252 unknown extra test_0-1.tar.gz 5247cf3c3102b5c933889a616102e561 1626 unknown extra test_0-1_all.deb
Format: 1.0 Source: test Version: 0-1 Binary: test Maintainer: MATHS <z3208...@science.unsw.edu.au> Architecture: all Standards-Version: 3.7.2 Build-Depends: debhelper (>= 5), quilt Files: 4cb87fefc975f77d5f0a42c6307ebbd6 8252 test_0-1.tar.gz
test_0-1_all.deb
Description: application/archive