LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-27-2009, 06:41 AM   #1
troelskn
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Rep: Reputation: 0
Unable to install package through yum


Hi,

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?
 
Old 04-27-2009, 06:57 AM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Why are you trying to install rpm-devel?
 
Old 04-27-2009, 07:10 AM   #3
troelskn
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dudydoo View Post
Why are you trying to install rpm-devel?
Because of this:

Code:
$ 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
 
Old 04-27-2009, 07:50 AM   #4
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
What is the output of?:

Code:
yum repolist
 
Old 04-27-2009, 07:58 AM   #5
troelskn
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dudydoo View Post
What is the output of?:

Code:
yum repolist
Here:
Code:
$ 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
But I suspect that's not overly useful?
 
Old 04-27-2009, 08:42 AM   #6
troelskn
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Original Poster
Rep: Reputation: 0
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.

Thanks for your help nonetheless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum - install particular version of a package? neiljt Linux - Software 8 06-23-2014 04:41 PM
Cannot install package using yum in RHEL5 shipon_97 Linux - Newbie 3 04-28-2009 03:26 AM
yum package install lensem Linux - Server 5 11-14-2008 03:29 AM
[SOLVED] Use yum to install package. brave heart Red Hat 9 09-06-2007 02:51 AM
Using YUM to install a package bwallace Linux - Newbie 2 02-21-2006 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration