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

Re: Bug#511522: general: Man pages should say what package a program belongs to

On Mon, Jan 12, 2009 at 12:55:48PM +0100, Vincent Lefevre wrote:
> I'm not the bug reporter, but...
> On 2009-01-11 20:21:59 +0000, Roger Leigh wrote:
> > % dpkg -S /usr/bin/basename
> > coreutils: /usr/bin/basename
> This may be a bit more complex when the file is a symlink to an
> alternative. Concerning the man pages, packages sometimes install
> symlinks, and it isn't always easy to find what package installed
> them, 

$ readlink -f `which vi`

$ dpkg -S $(readlink -f `which vi`)
vim-gtk: /usr/bin/vim.gtk

> in particular when they became dangling symlinks due to some bug.

If the man page is a dandling link, trying to read it won't buy you 
anything. So adding the information in the man page itself wouldn't 
have helped there.

Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend

Reply to: