how to fix yum update problems
Can Someone help me debug my yum update problems?
Many thanks! Code:
# yum update |
try to manually resolve the dependancy problem
yum install xorg-x11-drv-elo2300 wine-core gsl-devel then yum update -y again should work |
.. And if some packages are excluded in /etc/yum.conf
.. you won't get them. Quote : "1198 packages excluded due to repository priority protections" Nice to know which 1,198 , and better check it. Example line in /etc/yum.conf : exclude=x* .. and you get no packages starting with x. ..... |
Okay, so I tried the first suggestion, but I get the same problem:
Code:
# yum install gsl-devel Code:
]# yum list installed gsl-devel gsl-static Code:
[main] Code:
yum.repos.d]# ls |
Try moving the "alien" repo's to a backup directory
e.g. /etc/yum.repos.d/backup/ or disable them all : ' epel-testing.repo lscsoft.repo eyemagnet.repo pidgin.repo rpmforge.repo '. The problem can be : one of the packages, you are trying to install, is having a higher (build) version in the 'alien' repo, and is thus selected from this non supported repo. But no guarantee, that the dependencies exist at all for that version. ? ..... |
Quote:
The Centos repos should be ok, although you shouldn't have 2 Centos-Base really... Note that there are other Centos-xxx repos you can add. See the Centos docs. epel is the unofficial repo for RHEL5/Centos compatible stuff ie stuff that RH don't supply. Should be ok. You NEVER want a repo called xxx-testing.xxx unless you enjoy alpha quality code testing. Disable it. All the other repos are ones I'd not try to install on a RHEL/Centos system. Try disabling them. use yum clean all possibly also rpm --rebuild to clean up the yum/rpm db/cache. Do you know the history of this box; why it's got those repos? Is it your personal box? |
Yeah it's my work (academic) box. So I added eyemagnet for compiz fusion, I guess I can leave that as it is working fine now. lscsoft is software I use for work, although I don't actually need to update that too often. I'm not sure about rpmforge - maybe I added that for vlc?
Anyway I disabled all the alien repos, then updated and this worked. It broke X because I have propietary NVIDIA drivers so i sorted all that out. Now even if I just enable the epel repo it won't work: Code:
CentOS-Base.repo:enabled=1 Code:
yum update Thanks for all your thoughts. |
The problem is once you start mixing unsupported repos in, your system can easily get confused, because multiple repos often have different versions/dependency lists.
There are extra Centos repos you don't have; might be worth looking at them to see if you can get what you need just from Centos. It'll be more stable. |
The problem is once you start mixing unsupported repos in, your system can easily get confused, because multiple repos often have different versions/dependency lists.
There are extra Centos repos you don't have; might be worth looking at them to see if you can get what you need just from Centos. It'll be more stable. |
All times are GMT -5. The time now is 08:25 AM. |