LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-17-2008, 10:54 AM   #1
watoan
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
Help! Yum problem


I wanna upgrade my Centos 4.6 to 5.2

I have installed a package called "centos-release-5-2.el5.centos.i386.rpm", after this I try to run the command "yum upgrade"

It seems run normally, but after it download the package header and Running transaction check, it show the below and nothing done
-----------------------------------------------------------
Error: Missing Dependency: libdb.so.2(GLIBC_2.0) is needed by package gnome-libs
Error: Missing Dependency: libdb.so.2 is needed by package gnome-libs
Error: Missing Dependency: libmysqlclient_r.so.14 is needed by package MySQL-python
Error: Missing Dependency: xorg-x11 is needed by package linuxwacom
Error: Missing Dependency: libttf.so.2 is needed by package VFlib2
Error: Missing Dependency: python-abi = 2.3 is needed by package python-elementtree
Error: Missing Dependency: libmysqlclient_r.so.14(libmysqlclient_14) is needed by package MySQL-python
Error: Unable to satisfy dependencies
Error: Package gnome-libs needs libdb.so.2, this is not available.
Error: Package kudzu needs kernel < 2.6.13, this is not available.
Error: Package VFlib2 needs libttf.so.2, this is not available.
Error: Package MySQL-python needs libmysqlclient_r.so.14, this is not available.
Error: Package hal needs kernel < 2.6.17, this is not available.
Error: Package initscripts needs kernel < 2.6.12, this is not available.
Error: Package autofs needs kernel < 2.6.17, this is not available.
Error: Package linuxwacom needs xorg-x11, this is not available.
Error: Package gnome-libs needs libdb.so.2(GLIBC_2.0), this is not available.
Error: Package lksctp-tools needs kernel < 2.6.10, this is not available.
Error: Package MySQL-python needs libmysqlclient_r.so.14(libmysqlclient_14), this is not available.
Error: Package python-elementtree needs python-abi = 2.3, this is not available.
-----------------------------------------------------------

I have try "yum clean all", "yum update" also. But still error.
Please help! What can I do now?
 
Old 11-17-2008, 11:23 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Most of these are dependent on your currently running kernel. Try upgrading the kernel only first, reboot with the new kernel, then run an upgrade.
 
Old 11-17-2008, 11:24 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Also if you've installed any 3rd party RPM's that aren't part of the CentOS mirrors might cause you some headaches, just strip them out and reinstall if necessary.
 
Old 11-17-2008, 02:17 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Save yourself a lot of time and headaches, just download the install disk and do a fresh install. Even if you eventually get a functional install, using yum upgrade, there are often files left behind that cause issues. I have done a fresh install on a lot of yum upgraded systems that have been slow, acted screwy, or just been unreliable. Poof, with a fresh install, all the bad behavior just disappears.
 
Old 11-17-2008, 02:22 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by lazlow View Post
Save yourself a lot of time and headaches, just download the install disk and do a fresh install. Even if you eventually get a functional install, using yum upgrade, there are often files left behind that cause issues. I have done a fresh install on a lot of yum upgraded systems that have been slow, acted screwy, or just been unreliable. Poof, with a fresh install, all the bad behavior just disappears.
Sometimes that's just not a viable solution. Yum provides a way to upgrade without or with little downtime if it's a production server or the like.
 
Old 11-17-2008, 04:08 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
In the long run it usually actually saves time to do a fresh install vs troubleshooting what yum missed. What I usually try to do is have one extra server(even if it is just strong enough to limp along), upgrade it, swap it in to replace the server that is being upgraded, make sure it runs fine, then upgrade the original server, swap it back in, verify it is functional, then move on.
 
Old 11-17-2008, 04:49 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by lazlow View Post
In the long run it usually actually saves time to do a fresh install vs troubleshooting what yum missed. What I usually try to do is have one extra server(even if it is just strong enough to limp along), upgrade it, swap it in to replace the server that is being upgraded, make sure it runs fine, then upgrade the original server, swap it back in, verify it is functional, then move on.
Real men can upgrade though without reinstalling..
 
Old 11-18-2008, 03:15 AM   #8
watoan
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trickykid View Post
Most of these are dependent on your currently running kernel. Try upgrading the kernel only first, reboot with the new kernel, then run an upgrade.
I have try this method, boot with the latest kernel and run yum upgrade again, but problem still here.
 
Old 11-18-2008, 03:19 AM   #9
watoan
LQ Newbie
 
Registered: Nov 2008
Posts: 3

Original Poster
Rep: Reputation: 0
First, Thank you everyone!

I have try all the usual method that in forum, but still useless
I cannot do a fresh install, because there are many data inside, reinstall takes me lot of time.

Please Help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Installing Yum: "No module named yum" braclayrab Linux - Newbie 9 08-04-2009 07:57 PM
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
YUM problem kantor_98 Linux - Newbie 9 04-12-2007 08:13 AM
Yum problem jojojo Linux - Newbie 2 06-19-2006 07:28 AM
Yum Problem - /var/cache/yum/base/primary.xml.gz:1 ice99 Linux - Software 0 12-15-2005 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration