Re: searching for what package includes a given file
Nicolas Kratz <nick@ikarus.dyndns.org> writes:
> On Wed, Apr 02, 2003 at 11:36:28PM -0500, Benjamin Rutt wrote:
>> Is there a way to do that search via command-line tools without
>> resorting to the web page? I know that dpkg -S <expression> will do
>> that for packages already installed on your system, but doesn't help
>> for those that are not.
>
> apt-file search <filename>
Thanks, it seems to work, after I ran "apt-file update". However,
should I be concerned about the following error:
# apt-file update
Error: http://security.debian.org//dists/stable/updates/Contents-i386.gz not found
In case it is helpful, here are the contents of /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
--
Benjamin
Reply to: