[clug] Matching a pkg to a file without packages.debian.org
sam at couter.dropbear.id.au
Sun Nov 23 11:34:58 EST 2003
Anthony David <adavid at adavid.com.au> wrote:
> For future reference, the question regarding finding files is packages
> that aren't installed still stands.
If the package isn't installed, packages.debian.org is about the only
way I know of.
But if they are installed, there's an easier way than banging on the
up-arrow key and hoping to find the command that installed the package:
bash-2.05b$ dpkg -S `which ls`
Won't work for all files (such as some configuration files in /etc, log
files, etc) because some files are created by the package during
installation or use and aren't contained in the package itself.
Sam "Eddie" Couter | mailto:sam at couter.dropbear.id.au
Debian Developer | mailto:eddie at debian.org
| jabber:sam at teknohaus.dyndns.org
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/linux/attachments/20031123/0a94e722/attachment.bin
More information about the linux