LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RHEL 5 Yum Update Errors, Pup Broken - Help. (https://www.linuxquestions.org/questions/red-hat-31/rhel-5-yum-update-errors-pup-broken-help-577476/)

maxvonseibold 08-16-2007 03:01 AM

RHEL 5 Yum Update Errors, Pup Broken - Help.
 
Hello,

Recently installed RHEL 5 Client at work for testing and was trying to get the packages updated prior to installing some new things.

Code:

yum update
Gives this:-

Code:

Error: Missing Dependency: libgcj = 4.1.1-52.el5 is needed by package libgcj-devel
Error: Missing Dependency: gcc = 4.1.1-52.el5 is needed by package gcc-c++
Error: Missing Dependency: libXfont = 1.2.2-1.fc6 is needed by package libXfont-devel

The list was a lot longer so I only gave the first few entries.

I googled a lot and found plenty of people saying that the current situation is a disaster:-

http://www.oreillynet.com/linux/blog...hy_yum_an.html
http://www.osnews.com/story.php/1594...But-Dont-Touch

To name a few.

In addition, Pup will not even load.


For a supposedly "Enterprise" grade release, this is frankly insane. Can anyone advise me on this?

I have tried running

Code:

yum whatprovides libgcj
but frankly the list of failed dependencies is huge and the whole point of package management is to prevent this kind of problem in the first place.

Have people had similar problems?

Lenard 08-16-2007 06:33 AM

Try reducing the update load a bit, try something like this to get started;

yum update gcc

It may be a good idea to also and the CentOS5 repos to the mix, a sample /etc/yum.repos.d/CentOS.repo file below;

[c5]
name=CentOS-5
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

[c5updates]
name=CentOS-5-Updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

[c5extras]
name=CentOS-5-Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

[c5plus]
name=CentOS-5-Plus
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus
gpgcheck=0
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

Then you can try; yum update --enablerepo=c5*


All times are GMT -5. The time now is 07:09 PM.