Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to install imagemagick on a redhat machine, and have run into a road block, with the following:
Code:
$ sudo yum install rpm-devel
Loading "installonlyn" plugin
Loading "security" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from Red Hat Enterprise Linux 5Server - x86_64 - rpmforge - Unwire Local Repository
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package rpm-devel.i386 0:4.4.2.3-9.el5 set to be updated
---> Package rpm-devel.x86_64 0:4.4.2.3-9.el5 set to be updated
--> Running transaction check
--> Processing Dependency: rpm-libs = 4.4.2.3-9.el5 for package: rpm-devel
--> Processing Dependency: nss-devel for package: rpm-devel
--> Processing Dependency: rpm = 4.4.2.3-9.el5 for package: rpm-devel
--> Processing Dependency: popt = 1.10.2.3-9.el5 for package: rpm-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package nss-devel.x86_64 0:3.12.2.0-4.el5 set to be updated
---> Package rpm.x86_64 0:4.4.2.3-9.el5 set to be updated
---> Package rpm-libs.x86_64 0:4.4.2.3-9.el5 set to be updated
---> Package popt.x86_64 0:1.10.2.3-9.el5 set to be updated
--> Running transaction check
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-python
--> Processing Dependency: nspr-devel >= 4.6.99 for package: nss-devel
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-build
--> Processing Dependency: nss = 3.12.2.0-4.el5 for package: nss-devel
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package rpm-build.x86_64 0:4.4.2.3-9.el5 set to be updated
---> Package rpm-python.x86_64 0:4.4.2.3-9.el5 set to be updated
---> Package nspr-devel.x86_64 0:4.7.3-2.el5 set to be updated
---> Package nss.x86_64 0:3.12.2.0-4.el5 set to be updated
--> Running transaction check
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-libs
--> Processing Dependency: nspr >= 4.6.99 for package: nss
--> Processing Dependency: nspr = 4.7.3-2.el5 for package: nspr-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package nspr.x86_64 0:4.7.3-2.el5 set to be updated
--> Running transaction check
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
--> Running transaction check
--> Processing Dependency: rpm = 4.4.2-47.el5 for package: rpm-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
--> Running transaction check
Error: Unable to satisfy dependencies
Error: Package rpm-libs needs rpm = 4.4.2-47.el5, this is not available.
What does this error mean, and how do I resolve it?
$ sudo yum install ImageMagick-6.5.1-7.x86_64.rpm
Loading "installonlyn" plugin
Loading "security" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages from Red Hat Enterprise Linux 5Server - x86_64 - rpmforge - Unwire Local Repository
Finished
Parsing package install arguments
Examining ImageMagick-6.5.1-7.x86_64.rpm: ImageMagick - 6.5.1-7.x86_64
Marking ImageMagick-6.5.1-7.x86_64.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ImageMagick.x86_64 0:6.5.1-7 set to be updated
--> Running transaction check
--> Processing Dependency: rpmlib(FileDigests) <= 4.6.0-1 for package: ImageMagick
--> Processing Dependency: libdjvulibre.so.21()(64bit) for package: ImageMagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package djvulibre.x86_64 0:3.5.21-1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: rpmlib(FileDigests) <= 4.6.0-1 for package: ImageMagick
--> Finished Dependency Resolution
Error: Missing Dependency: rpmlib(FileDigests) <= 4.6.0-1 is needed by package ImageMagick
$ sudo yum repolist
Loading "installonlyn" plugin
Loading "security" plugin
usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, list-security, provides, shell, install, whatprovides, groupinstall, update, groupupdate, info, search, check-update, list-sec, list, remove, info-sec, clean, info-security, grouperase >
options:
-h, --help show this help message and exit
-t, --tolerant be tolerant of errors
-C run entirely from cache, don't update cache
-c [config file] config file location
-R [minutes] maximum command wait time
-d [debug level] debugging output level
-e [error level] error output level
-y answer yes for all questions
--version show Yum version and exit
--installroot=[path] set install root
--enablerepo=[repo] enable one or more repositories (wildcards allowed)
--disablerepo=[repo] disable one or more repositories (wildcards allowed)
-x [package], --exclude=[package]
exclude package(s) by name or glob
--obsoletes enable obsoletes processing during updates
--noplugins disable Yum plugins
--security Include security relevant packages
--cve=CVE Include packages needed to fix the given CVE
--bz=BZ Include packages needed to fix the given BZ
--advisory=ADVISORY Include packages needed to fix the given advisory
I think I figured out what's wrong. After speaking to my sysadm, I found out that we have an internal repository. I reckon that's why it couldn't find those dependencies. In any case, we ended up simply building imagemagick from source instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.