LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 04-04-2008, 11:17 AM   #1
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Rep: Reputation: 15
"yum update" caused severe problems to my system (rhel4, x86_64)


sorry I posted my message in the wrong place...



A couple of days ago I ran "yum update" on my RHEL4, x86_64.
yum updated a whole banch of old packages and installed
some new packages. I think it also updated kernal.
This update caused severe problems on my system.
Certain applications like "Add/Remove Applications"
inside "System Settings" stopped working.
Attempt to run other applications causes even more severe
problems. Trying to run "wine" or "regedit"
or even trying to call "notepad" either gives me black display
so that I have to reboot the computer or just
log me off my account. Also the computer
when left with a "Lock sreen" for a long time
goes to the black screen. It apperas something happened
with wideocard driver, so I have to reboot the machine.
Before this "update" my system worked fine just fine,
and now ut is completely screwed up.

I would appreciate if somebody helps me with this problem.
What is the best way to get out from this situatiom?
Could I somehow undo this yum update? How?
Or may be should I reinstalled all applications which
are damaged one-by-one manually (A lot of work ...)

I would never ever use yum again !!! Better I install
applications manually. Once I fix the problem I just uninstall yum.
John

Last edited by saak.stepi; 04-04-2008 at 11:37 AM. Reason: wrong category
 
Old 04-04-2008, 11:34 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
You shouldn't uninstall yum (because it doesn't do any damage unless you run it, and not even then every day), but it's your own decicion

Well, the lesson obviously is that you should check what you are upgrading before going on. Especially if it's an "important" system that you can't reinstall just like that.

You can't "undo" the changes yum made, because "installing" or "upgrading" packages means that new files are copied to the system (the "package managing" part means that those changes are tracked, so that removing a package means removing the files that were copied to the filesystem when the package was installed), and in case of upgrade, any existing files are overwritten. If you don't have the old versions available (yum reposities only hold one version of a package, the newest one on that reposity, so your chances of finding a reposity with older packages are pretty small), you can't "downgrade" by installing the old packages, so your only options are to manually fix the problems (find the exact problems first) or to try to reinstall the packages and hope that it helps (probably not, if the upgrade itself worked out, but the packages just didn't work). A third option is to wait until new versions of the packages come to the reposity and then re-run yum upgrade to see if a new upgrade helps.

Typically upgrading trough yum should not create problems, but it is possible. You can try to reinstall the packages one by one if you think it helps, but I'd make sure your backups are in place, because if you can't figure anything else out, a reinstallation might be the quickest help Though if the problems are somewhat minor, and you have time for them, try to figure out what exactly is wrong with the apps and fix that. A kernel upgrade means that you need to reinstall any drivers that were added after the last kernel installation, like graphics card drivers, so you could just as well start from that..
 
Old 04-04-2008, 04:39 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
My first question is, if your kernel was updated, does your bootloader point to the new kernel or is it still booting the old one? In either case, the old kernel should still be there if it's the new one causing issues, but first I'd make sure you're booting the latest one.

What bootloader are you using?
 
Old 04-04-2008, 05:25 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
For more details into this issue, see the dup: http://www.linuxquestions.org/questi...-x8664-633015/
 
Old 04-07-2008, 10:46 AM   #5
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
My first question is, if your kernel was updated, does your bootloader point to the new kernel or is it still booting the old one? In either case, the old kernel should still be there if it's the new one causing issues, but first I'd make sure you're booting the latest one.

What bootloader are you using?
Thank you for your reply. I am still fairly new to linux.
So, could you please explain in more detail how I can find out
whuich kernal the bootloader points to.
I guess I need a bootloader program on my computer, which I do
not have now. Is this right ?

I appreciate your help.

Thank you,
John
 
Old 04-07-2008, 10:54 AM   #6
saak.stepi
Member
 
Registered: Dec 2007
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by anomie View Post
For more details into this issue, see the dup: http://www.linuxquestions.org/questi...-x8664-633015/

Thank you for your reply


Someone told me on this forum that Centos4 is exactly RHEL4
without RHEL logo. If this is correct, this should mean that Centos4
repositories should work for RHEL4. Actusally previously
I installed some programs from centos repositories on RHEL
and they worked fine.

I appreciate your help.

Thanks,
John
 
Old 04-07-2008, 01:21 PM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
I have never seen a problem mixing Centos with RHEL as long as you made sure you kept with the correct versions. 4.1 to 4.1, etc. The only thing I can think of is if you mixed versions (4.1 to 5.1) or if you used 32bit instead of 64bit.
 
  


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
Difference betweenn "yum install" and "yum update" john lee Linux - Newbie 1 02-12-2008 12:26 AM
problem with installing "hplip" on RHEL4 x86_64 saak.stepi Linux - Software 5 01-28-2008 02:11 PM
Initializing hardware hangs after "yum update kernel-smp.x86_64" jandersonlee Fedora - Installation 1 03-14-2006 10:39 PM
Boot problems after "yum update" hansmast Fedora 1 02-07-2006 10:18 AM
SuSE update caused "Unknown AUTHORIZATION state command" StigIrish Linux - Networking 1 05-06-2005 11:51 AM


All times are GMT -5. The time now is 01:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration