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

Re: Three short apt/dpkg questions



On Thu, Jun 16, 2005 at 10:24:36PM -0400, Michael Marsh wrote:
> On 6/16/05, Charlie Zender <zender@uci.edu> wrote:
> > 1. Which package contains the man-pages for C-library functions like
> > sprintf()?
> 
> manpages-dev
> 
> > 2. Is there a way to ask the system which package owns a specific
> > installed file?
> 
> $ dpkg -S /usr/share/man/man3/sprintf.3.gz 
> manpages-dev: /usr/share/man/man3/sprintf.3.gz
> 
> > 3. Is there a way to determine the name of the (non-installed) package
> > which owns a particular (non-installed) filename? e.g., which package
> > will install the file printf.1.gz?
> 
> http://www.debian.org/distrib/packages
> 
> 
> Look for "Search the contents of packages".

Hi,
'apt-file' will do the same thing (it downloads a db of the info) and
works offline.
cheers,
Kev

-- 
counter.li.org #238656 -- goto counter.li.org and be counted!
      `$'         $'         
       $          $                      _
 ,d$$$g$  ,d$$$b. $,d$$$b`$' g$$$$$b $,d$$b
,$P'  `$ ,$P' `Y$ $$'  `$ $  "'   `$ $$' `$
$$     $ $$ggggg$ $     $ $ ,$P""  $ $    $
`$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $    $
 `Y$$P'$. `Y$$$$P $$$P"' ,$. `Y$$P'$ $.  ,$.

Attachment: signature.asc
Description: Digital signature


Reply to: