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

Bug#511522: marked as done (general: Man pages should say what package a program belongs to)



Your message dated Sun, 11 Jan 2009 21:22:34 +0100
with message-id <[🔎] 20090111202234.GA2695@chistera.yi.org>
and subject line Re: Bug#511522: general: Man pages should say what package a program belongs to
has caused the Debian Bug report #511522,
regarding general: Man pages should say what package a program belongs to
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
511522: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511522
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: general
Severity: wishlist


If some program belongs to a package which does not have the same name 
as the program, the man page for that command should say which package 
the program is part of.
This is not the case in, for instance, coreutils or util-linux.
This information is needed, even for packages that are always installed 
as part of the base distribution, since to get source code for a program 
in coreutils one needs to know that it is part of that package.

Jack

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18jack1
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)






--- End Message ---
--- Begin Message ---
* Jack Grahl [Sun, 11 Jan 2009 19:56:52 +0000]:

> Package: general
> Severity: wishlist

Hello, Jack.

> If some program belongs to a package which does not have the same name 
> as the program, the man page for that command should say which package 
> the program is part of.
> This is not the case in, for instance, coreutils or util-linux.
> This information is needed, even for packages that are always installed 
> as part of the base distribution, since to get source code for a program 
> in coreutils one needs to know that it is part of that package.

I understand what you're asking, but I don't think modifying every man
page in Debian to say what package the binary comes from is a good idea.
In particular, man pages come from upstream, and we'd be carrying an
unnecessary diff in *every* package. (Except, heh, for those binaries
without a man page).

I'm closing this bug, because there *is* a standard and more scalable
way in Debian to achieve what you want: dpkg -S. You can run that
command to know what package a binary (or, in general, any file) belongs
to. For example:

    % dpkg -S /bin/ls
    coreutils: /bin/ls

Hope this helps.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
— Oh, George, you didn't jump into the river. How sensible of you! 
                -- Mrs Banks in “Mary Poppins”



--- End Message ---

Reply to: