[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM & dependencies
- From: Michael Fratoni <mfratoni tuxfan homeip net>
- To: redhat-list redhat com
- Subject: Re: RPM & dependencies
- Date: Wed Aug 21 23:43:30 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 21 August 2002 07:27 pm, James D. Parra wrote:
> Hello,
>
> What is the quickest way to get missing dependencies when installing an
> rpm? Is there a tool that can locate and grab missing dependencies?
There are several possibilities for navigating dependency nightmares. One
of the easiest is Red Hat's "up2date" (One system is free.) Using up2date
is simple, and it should resolve most dependency issues, provided you are
installing Red Hat rpms. Just register for the service, configure
up2date, and then you run:
up2date {package_name}
which will fetch (and perhaps install, depending on configuration)
package_name.
To help solve dependencies yourself, there are also tools available.
First, install the rpmdb-redhat package. This allows querrying packages
not installed on your system. For example:
$ rpm -q --redhatprovides libnss_ldap.so.2
nss_ldap-185-1
However, it only knows about packages included in the initial release, as
it isn't updated for erratta packages.
If you know what package you need/want to install, but don't want to
search through several CDs, I've written a tool to help.
http://www.tuxfan.homeip.net:8080/rpms/whichcd-0.1-4.noarch.rpm
Usage is simple:
Usage: whichcd [-v version] search_name1 search_name2....
Where 'version' is the Red Hat release you want to search.
(Defaults to installed version, if unspecified), and 'search_name'
is the name (or partial name) of the desired package.
For example:
$ whichcd -v 7.3 rpmdb quanta
Searching for rpmdb...
CD-3:rpmdb-redhat-7.3-0.20020419.i386.rpm
SOURCE-CD-2:rpmdb-redhat-7.3-0.20020419.src.rpm
Searching for quanta...
CD-3:quanta-2.1-0.cvs20020404.2.i386.rpm
SOURCE-CD-2:quanta-2.1-0.cvs20020404.2.src.rpm
That should get you started.
- --
- -Michael
pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3} in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj1kW04ACgkQn/07WoAb/SvxnACfWZZbgNJKu0OMCJeLhJqNfuHT
0UgAn15qmbLBDOWah2d+COQ9wBEZfqgx
=8T33
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]