On Tue, 07 Nov 2000, Paul Lussier <[EMAIL PROTECTED]> wrote:
>
> > I think what Suzanne wants is a way to find out what package owns, say,
> >"/usr/bin/foo", without having to have that package installed first. In other
> >words, a "dpkg -S" command that works on uninstalled packages.
>
> How would you do this with RPM?
Perhaps something like:
% rpm -q --filesbypkg -p /usr/RPMS/*.rpm | grep /sbin/iptunnel
net-tools /sbin/iptunnel
Of course this requires all the rpm's being available (e.g. local
disk, CD-ROM, or ftp:// URL), and so I can't imagine *any*
packaging system that couldn't provide this info. E.g. with the
help of a little for-loop and grep. Remember folks, this *is* Unix. ;-)
Karl
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************