Time synchronization with Red Hat 7.2
David Cook
dcook at redhat.com
Sat Mar 23 18:47:14 PST 2002
On Thu, Mar 21, 2002 at 11:33:58AM -0800, John Oliver wrote:
> Yes, I know. But if you don't have the package installed, you aren't
> likely to get an answer either way... :-)
The rpmdb-redhat has an rpm database of every package in the distro. You
can specify this rpm db with --dbpath:
rpm -qf --dbpath /usr/lib/rpmdb/i386-redhat-linux/redhat filename
There are a couple "popt aliases" that work with this, e.g.:
rpm -q --redhatprovides webserver
rpm -q --redhatrequires librpm-4.0.3.so
See /usr/lib/rpm/rpmpopt-*
Apparently, you can define your own popt aliases in /etc/popt. Haven't
tried it yet.
Dave
More information about the KPLUG-List
mailing list