Yum upgrade having problem
Dear All,
I tried to run yum -y upgrade and I got this error towards the end. I tried yum -y upagrade --skip-broken still same. Any resolution to this issue? Quote:
|
first of all you REALLY DO NOT want to use the "-y" option
"-y" is the say yes TO EVERYTHING and do NOT show what it is JUST DO IT!!! it is not a wise option to use unless you know 100% EXACTLY what the outcome is going to be second what Operating system is this ? "yum upgrade" all by it's self will not work ! RHEL has it's own procedure CentOS has a slightly different one ScientivicLinux REQUIRES a new "6x" repo file installed FIRST Fedora -- well is using "preupgrade" or the install dvd |
Dear John,
Sorry I ran yum -y update not upgrade. The OS is centos 6.2 final. So what should I do now? |
cent 6.2
well there is your answer 6.2 is no longer supported there are NO updates for it please install CentOS 6.3 also if you have any third party repos installed they CAN cause a conflict "yum-priorities" plugin IS required if you are using repos besides the base cent updates and extras if it has been longer than 1 month sence the last update you can bring it "up to date" with the FINAL 6.2 IF only the cent6 "security" "updates" , "extras" are the ONLY installed repos Code:
su - if other non standard repos ARE installed ????? it is a "crap shoot" for a list run this Code:
su - however from this Quote:
those two programs are looking like they are from TWO DIFFERENT sources uninstall "Percona-Server-shared-51" if possible or "Percona-XtraDB-Cluster-shared" if possible uninstall one of them to see the information on each use the yum info command Code:
su - |
Dear John,
I did this yum clean all rpm --rebuilddb yum clean all yum update and it got stuck again so then I run this Quote:
|
Just disable or exclude the "percona.repo".
Then you can update all "CentOS original" packages. |
Dear John,
Thank you I have gone to the yum.repos.d and disabled via its file and the updates are working well now. How often do you suggest to run yum update and which option is best to run? |
you might want to look through the Cent wiki
and the section on third party repos http://wiki.centos.org/ http://wiki.centos.org/AdditionalResources/Repositories and the yum-Priorities plugin http://wiki.centos.org/PackageManagement/Yum/Priorities one of the two ( in that error) ARE a incompatible rpm unfortunately though that plugin is VERY easy to configure deciding on just WHAT repo to set at a lower Priority is a "guessing game" sometimes but a good educated guess is to set "percona CentOS 6" at 150 and leave the rest at the default 99 as above you can disable that repo for one time only or for good see Code:
yum --help BUT 6.2 is at End Of Life it is time to install CentOS 6.3 you do need to upgrade http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.3 |
All times are GMT -5. The time now is 08:53 AM. |