search file list of packages
Gustavo Niemeyer
gustavo at niemeyer.net
Thu Apr 6 07:03:01 PDT 2006
> I have so far not found a smart command to show me
> which files are available in what packages.
>
> For example,
> rpm -ql bash
> dpkg -L bash
> each provide a list of all files installed by the
> "bash" package.
> Can smart do this?
Yes: smart info --paths bash
> Unfortunately this only works for installed packages. To actually
> find out which available packages contain a particular file you have
> to search on 'packages.debian.org' for debian.
That works for remotes as well, but it depends on the information being
availble in the repository in a way that can be assigned to packages
somehow.
If you want to search for files, doing "smart search /bin/sh" will work.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Smart
mailing list