l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2003 Nov 16 19:31
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] finding the debian package that provides a command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] finding the debian package that provides a command



On 2003.11.16 19:12, David Hummel wrote:
Does dpkg or apt (or maybe some other tool) provide a mechanism for
determining what package a file or command belongs to for packages
that
aren't installed?

Let's say I haven't gotten around to installing the package that
provides the xargs command (findutils), but I wanted to find out the
name of the package ... so that I can apt-get it.

dpkg -S does nicely for installed packages, but since it's impossible
(at least for me) to know the package names that provide every single
command or program in debian, I'm hoping there's a command line way of
doing this that's easier than searching through
http://packages.debian.org.
the apt-file and the auto-apt command do this. (apt-file used to not work, but now it works like a charm and probably beats auto-apt for functionality in this domain)

you need, however, to run `apt-file update` separately from `apt-get update` to keep the file lists from your debian mirrors up to date too. I handle this (and prevent forgetfulness) by tacking on `apt-file update` at the end of the cronjob I use to download upgrades to my system for latter installation.

--
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.
My key was last signed 10/14/2003. If you use GPG *please* see me about
signing the key. ***** My computer can't give you viruses by email. ***

Attachment: pgp00009.pgp
Description: PGP signature



Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
PC Memory Store
PC Memory Store donated give-aways to LUGOD in early 2008.