Solved

red hat package error libXfont

Posted on 2014-02-26
6
779 Views
Last Modified: 2014-02-27
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.
0
Comment
Question by:jcuWM
6 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39890938
What repos  do you have enabled? Have you try 'skin-broken'?

  yum update --skip-broken

Open in new window

0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39890960
what happens when you do yum update libXfont-devel ?
does it show it will update libXfont also under "updating for dependencies" ?
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39891240
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
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:jcuWM
ID: 39892161
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
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 250 total points
ID: 39893035
You actually need to fetch the rpm file from  the Red Hat repository. Or at least you have to be cd'd to the directory containing it before issuing the command. (It's not like yum in that regard). Yum may have fetched the file for you: if so then locate ibXfont-devel-1.4.5-2.el6.x86_64.rpm will tell you where it is.
0
 

Author Closing Comment

by:jcuWM
ID: 39893157
Duncan Roe - thanks for the assistance.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now