Yum Issue - Go Figure!
Yum won't update my system, here is my repo file:
Code:
# CentOS-Base.repo |
Can you post the yum command you used and its output - we might be able to give hints if it is a true dependency issue.
A couple of gotchas I've seen that you might want to look at. 1) Most RHEL5/CentOS5 systems are running the yum-updatesd daemon by default. This can interfere with command line yum runs. Running "service yum-updatesd stop" and retrying your yum CLI might resolve your issue. 2) The yum cache sometimes gets confused so running "yum clean all" to clear the cache often helps. Note that if you have set yum to keep all rpms and headers it downloads this will delete them (not the installed packages themselves - just the files that were used to install them.) If you want to save those rpm bundles you need to copy them from the /var/cache/yum/* directories to another location prior to the yum cleaning. |
It's telling me to run a package-cleanup, but none of those commands seem to work, and yum-utils isn't a package as far as my PC is concerned, I did a search and nothing turned up. Did the yum clean all and yum makecache, no change.
|
1 Attachment(s)
Where is your main repo ? ?
Code:
[base] Also, you have ""?release=5&arch=i386&repo"" instead of "?release=$releasever&arch=$basearch&repo" ..... |
I never modified that file... I'd think it would be right as it's system generated.
|
Well, it's not "system generated" :
We'll simply ask "To which package does this file belong" → rpm -qf /etc/yum.repos.d/CentOS-Base.repo The reply is : centos-release-5-5.el5.centos Suggest : install centos-release.... # rpm -Uvh centos-release-5-5.el5.centos.i386.rpm ( Or # rpm -Uvh --force centos-release-5-5.el5.centos.i386.rpm , ... if 'rpm' says "already installed". I.e. --force will replace the buggy file.) P.S. : Could this bug origin from a CentOS live cd ? .. |
-snip-
My bad. Hold on. |
Code:
--> Missing Dependency: libXt-devel is needed by package xulrunner-devel-1.9.2.9-1.el5.i386 (updates) |
Reply to post # 7 ( Which before your edit said : No such file .. ).
The blue text centos-release-5-5.el5.centos.i386.rpm is a direct link to the package : You will have to download it. And : cd <location-of-downloaded-package>/ ; su ; ... and then 'rpm -Uvh --force centos-release-5-5.el5.centos.i386.rpm' ... |
this may also be a repo incompatibility issue
but the spinets of output you have posted make it imposable to tell it is VERY VERY VERY easy to have incompatible rpm's installed .That is why there are the two yum plugins " priorities" and "protect base" posting the FULL command and output would help and also the output of this Code:
yum repolist all and the text in the first post is a INCOMPLETE *.repo file not everything is there that SHOULD be there use the link in the above post to reinstall the base centOS repo file |
Quote:
Quote:
Also: Code:
yum repolist all |
i will get back to you later on today ( i will have to boot inst Cent - it is my backup instal )
|
?? have you fixed the centos-base.repo ?
-- the top part of mine -- you are missing the [base] part Code:
# CentOS-Base.repo you are missing the BASE when i run "yum repolist i have the BASE listed Quote:
a yum search for "yum-utils" gives you no output? Code:
su - Quote:
|
All times are GMT -5. The time now is 08:45 AM. |