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

Re: apt-file

On Mon, Sep 02, 2002 at 03:36:43PM -0700, Bob Nielsen wrote:
> On Mon, Sep 02, 2002 at 09:50:47PM +0100, ee00158@fe.up.pt wrote:
> > I'm new in linux and i wan't knew how to find a package by a file
> > that belong to it. i knew that is whith the apt-file, but when i do,
> > apt-file search "file_name", i only see the message:
> > Can't locate object method "host" via package "URI::_foreign" (perhaps you
> > forgot to load "URI::_foreign"?) at /usr/bin/apt-file line 189.
> > Could somebody say me what have i do?
> I don't know anything about apt-file, but 'dpkg -S <filename>' works
> for this.

Only for files you already have installed, though. apt-file (or
auto-apt) searches the Contents files which are provided in the Debian
archive, and so works for uninstalled files too.

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: