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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-17-2008, 09:54 AM
|
#1
|
LQ Newbie
Registered: Nov 2008
Posts: 3
Rep:
|
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?
|
|
|
11-17-2008, 10:23 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
11-17-2008, 10:24 AM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
11-17-2008, 01:17 PM
|
#4
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
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.
|
|
|
11-17-2008, 01:22 PM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally Posted by lazlow
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.
|
|
|
11-17-2008, 03:08 PM
|
#6
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
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.
|
|
|
11-17-2008, 03:49 PM
|
#7
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally Posted by lazlow
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.. 
|
|
|
11-18-2008, 02:15 AM
|
#8
|
LQ Newbie
Registered: Nov 2008
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by trickykid
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.
|
|
|
11-18-2008, 02:19 AM
|
#9
|
LQ Newbie
Registered: Nov 2008
Posts: 3
Original Poster
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 07:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|