forcemerge 198220 433290
thanks

On Mon, 16 Jul 2007, Bruce Sass wrote:
> This is a known wishlist item and should either be closed or merged with 
> bug #198220 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=198220)

Agreed and merged. My personal opinion is that dpkg -S should follow
symlinks but not display it like a direct match. It should do something
similar to diversions.

For diversions we have:
$ LANG=C dpkg -S /usr/bin/objdump
diversion by binutils-multiarch from: /usr/bin/objdump
diversion by binutils-multiarch to: /usr/bin/objdump.single
binutils-multiarch, binutils: /usr/bin/objdump

For symlinks we could have:
$ dpkg -S /usr/bin/man
non-packaged symlink to /usr/lib/man-db/man: /usr/bin/man
man-db: /usr/lib/man-db/man

It should do symlink resolution one by one. Which means that for
alternatives we should have:
$ dpkg -S /usr/bin/editor
non-packaged symlink to /etc/alternatives/editor: /usr/bin/editor
non-packaged symlink to /usr/bin/vim: /etc/alternatives/editor
non-packaged symlink to /etc/alternatives/vim: /usr/bin/vim
non-packaged symlink to /usr/bin/vim.full: /etc/alternatives/vim
vim-full: /usr/bin/vim.full

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to