Unresolved Dependency
RPM packages may sometimes depend on other packages, which mean that they
require other packages to be installed to run properly. If you try to install a
package which has an unresolved dependency, output similar to the following is
displayed:
require other packages to be installed to run properly. If you try to install a
package which has an unresolved dependency, output similar to the following is
displayed:
error: Failed dependencies: bar.so.2 is needed by foo-
1.0-1 Suggested
resolutions: bar-2.0.20-3.i386.rpm
1.0-1 Suggested
resolutions: bar-2.0.20-3.i386.rpm
If you are installing a package from the Red Hat Enterprise Linux CD-
ROM set, it usually suggests the package(s) needed to resolve the dependency.
Find the suggested package(s) on the Red Hat Enterprise Linux CD-
ROMs or from Red Hat Network, and add it to the command:
displayed:
Preparing...
########################################### [100%]
1:foo
########################################### [ 50%]
2:bar
########################################### [100%]
If it does not suggest a package to resolve the dependency, you can try the –
redhat provides option to determine which package contains the required
file. You need the rpmdb-redhat package installed to use this option.
rpmdb-redhat package, the name of the package is displayed
may not run correctly), use the --nodeps option.
ROM set, it usually suggests the package(s) needed to resolve the dependency.
Find the suggested package(s) on the Red Hat Enterprise Linux CD-
ROMs or from Red Hat Network, and add it to the command:
- rpm -ivh foo-1.0-1.i386.rpm bar-2.0.20-3.i386.rpm
displayed:
Preparing...
########################################### [100%]
1:foo
########################################### [ 50%]
2:bar
########################################### [100%]
If it does not suggest a package to resolve the dependency, you can try the –
redhat provides option to determine which package contains the required
file. You need the rpmdb-redhat package installed to use this option.
- rpm -q --redhatprovides bar.so.2
rpmdb-redhat package, the name of the package is displayed
- bar-2.0.20-3.i386.rpm
may not run correctly), use the --nodeps option.
Comments
Post a Comment