Bug#198220: dpkg: Should dpkg -S follow symlinks?
Package: dpkg
Version: 1.10.10
Severity: wishlist
$ dpkg -S /usr/bin/java
dpkg: /usr/bin/java not found.
$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 Jun 4 20:12 /usr/bin/java -> /etc/alternatives/java
$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 26 Jun 8 02:11 /etc/alternatives/java -> /usr/lib/j2se/1.4/bin/java
$ ls -l /usr/lib/j2se/1.4/bin/java
-rwxr-xr-x 2 root root 20820 Nov 1 2002 /usr/lib/j2se/1.4/bin/java
$ dpkg -S /usr/lib/j2se/1.4/bin/java
j2re1.4: /usr/lib/j2se/1.4/bin/java
Should dpkg follow symbolic links if match is not found?
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dsl-hkigw4a35.dial.inet.fi 2.4.20-3-k7 #1 Sun Jun 8 01:35:14 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages dpkg depends on:
ii dselect 1.10.10 a user tool to manage Debian packa
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
-- no debconf information
Reply to: