Package: dpkg
Version: 1.13.21
Severity: normal

Hi,

I noticed that dpkg does not support .deb packages that try to install
a symbolic link over a regular file.
The test package in my case is gzip, which has these contents:
$ dpkg --contents '../gzip_1.3.5-13_i386.deb'
[...]
hrwxr-xr-x root/root         0 2006-06-06 23:38:54 ./bin/gunzip link to 
./bin/gzip
hrwxr-xr-x root/root         0 2006-06-06 23:38:54 ./bin/zcat link to ./bin/gzip
hrwxr-xr-x root/root         0 2006-06-06 23:38:51 ./bin/zcmp link to 
./bin/zdiff
hrwxr-xr-x root/root         0 2006-06-06 23:38:51 ./bin/zegrep link to 
./bin/zgrep
hrwxr-xr-x root/root         0 2006-06-06 23:38:51 ./bin/zfgrep link to 
./bin/zgrep
hrwxr-xr-x root/root         0 2006-06-06 23:38:54 ./bin/uncompress link to 
./bin/gzip
[...]

The current situation however (before and after installing the above
package) is this:
$ ls -al /bin/{gunzip,zcat,zcmp,zegrep,zfgrep,uncompress}
-rwxr-xr-x 4 root root 53664 2006-06-06 23:38 /bin/gunzip
-rwxr-xr-x 4 root root 53664 2006-06-06 23:38 /bin/uncompress
-rwxr-xr-x 4 root root 53664 2006-06-06 23:38 /bin/zcat
-rwxr-xr-x 2 root root  1974 2006-06-06 23:38 /bin/zcmp
-rwxr-xr-x 3 root root  3018 2006-06-06 23:38 /bin/zegrep
-rwxr-xr-x 3 root root  3018 2006-06-06 23:38 /bin/zfgrep

So the symbolic links did not install correctly.
Instead it seems the target files were copied to the symlink locations.


Regards,
  Bastian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-treasure17
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dpkg depends on:
ii  coreutils                     5.96-3     The GNU core utilities
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to