-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 05 December 2002 09:03 am, Edward Wildgoose wrote: > Hmm, interesting. Will try it in a moment. > > Is there any way to find dependency packages using up2date? eg > > [root@plain download]# rpm -Uvh purp-1.1.0-1.i386.rpm > error: failed dependencies: > libdb-3.1.so is needed by purp-1.1.0-1 > librpmio.so.0 is needed by purp-1.1.0-1 > librpm.so.0 is needed by purp-1.1.0-1 > > A quick way to find where libdb is from (presumably librpm is from > rpm-devel?)
Well, not really. Up2date will solve dependencies for packages it is attempting to update. You can install the rpmdb-redhat package, which allows you to query a database of all packages available for the release. It's quite useful for tracking down the package that contains ${file}. The drawback is that it contains info only on packages included with the release. It doesn't get update when packages get added/updated. You can of course add the information about additional/upgraded packages to the database. [root@enigma root]# cat /etc/redhat-release Red Hat Linux release 7.2 (Enigma) [root@enigma root]# rpm -qa | grep rpmdb rpmdb-redhat-7.2-0.20010924 [root@enigma root]# rpm -q --redhatprovides libdb-3.1.so db31-3.1.17-1 Quite useful. See both 'man rpm', and 'rpm --help' for more details. Good info is also available from: http://rpm.org/ - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9787Wn/07WoAb/SsRAmsNAJ4mwdBKaOv0y8xs2MxRvltclr5ObQCeJ1Ug EAQZRJivRzgkBJV9jZR6Nx8= =q1FA -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list