Link to home
Start Free TrialLog in
Avatar of jcuWM
jcuWMFlag for United States of America

asked on

red hat package error libXfont

Running into an issue when running yum update. On this redHat 6 server, this package is giving an error.

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXfont.x86_64 0:1.4.5-2.el6 will be updated
--> Processing Dependency: libXfont = 1.4.5-2.el6 for package: libXfont-devel-1.4.5-2.el6.x86_64
---> Package libXfont.x86_64 0:1.4.5-3.el6_5 will be an update
--> Finished Dependency Resolution
Error: Package: libXfont-devel-1.4.5-2.el6.x86_64 (@ol6_latest)
           Requires: libXfont = 1.4.5-2.el6
           Removing: libXfont-1.4.5-2.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4)
               libXfont = 1.4.5-2.el6
           Updated By: libXfont-1.4.5-3.el6_5.x86_64 (rhel-6-server-rpms)
               libXfont = 1.4.5-3.el6_5
           Available: libXfont-1.4.1-1.el6.x86_64 (rhel-6-server-rpms)
               libXfont = 1.4.1-1.el6
           Available: libXfont-1.4.1-2.el6_1.x86_64 (rhel-6-server-rpms)
               libXfont = 1.4.1-2.el6_1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I then run the command with --skip-broken and get this:

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXfont.x86_64 0:1.4.5-2.el6 will be updated
--> Processing Dependency: libXfont = 1.4.5-2.el6 for package: libXfont-devel-1.4.5-2.el6.x86_64
---> Package libXfont.x86_64 0:1.4.5-3.el6_5 will be an update

Packages skipped because of dependency problems:
    libXfont-1.4.5-3.el6_5.x86_64 from rhel-6-server-rpms


Appreciate the help.
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

What repos  do you have enabled? Have you try 'skin-broken'?

  yum update --skip-broken

Open in new window

what happens when you do yum update libXfont-devel ?
does it show it will update libXfont also under "updating for dependencies" ?
This looks like an error in the package dependencies:
Error: Package: libXfont-devel-1.4.5-2.el6.x86_64 (@ol6_latest)
           Requires: libXfont = 1.4.5-2.el6

The 64-bit devel package is claiming to require the 32-bit base package.
Re-install libXfont-1.4.5-2.el6.x86_64 , then fetch libXfont-devel-1.4.5-2.el6.x86_64.rpm and manually install it:
rpm -ivh --nodeps libXfont-devel-1.4.5-2.el6.x86_64.rpm
Avatar of jcuWM

ASKER

Mazdajai
the results of --skip-broken are in the initial question.

Seth Simmons
It says No Packages marked for Update

Duncan Roe
I ran yum remove libXfont-1.4.5-2.el6.x86_64
and it removed it:
 
I then reinstalled with no errors
yum install libXfont-1.4.5-2.el6.x86_64

Running the rpm command gave me this:
 error: open of libXfont-devel-1.4.5-2.el6.x86_64.rpm failed: No such file or directory
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jcuWM

ASKER

Duncan Roe - thanks for the assistance.