LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-04-2006, 06:09 PM   #1
sagehealth
LQ Newbie
 
Registered: Jun 2005
Location: virginia
Distribution: FC4
Posts: 2

Rep: Reputation: 0
Tried to YUM remove GZIP and reinstall, Kernel Panics


I have been having problems with GZIP so late at night I tried to uninstall GZIP and reinstall it. When I saw all the depend. that it was removing I stopped the process. Now the kernel panics and I can't boot. How would I use rescue to fix it.

George
 
Old 01-04-2006, 09:09 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
So, looking at what you may have done;

$ rpm -e gzip --test
error: Failed dependencies:
gzip is needed by (installed) mkinitrd-4.2.1.6-1.x86_64
gzip is needed by (installed) man-1.5o1-9.x86_64
gzip is needed by (installed) system-config-printer-0.6.131-1.x86_64

(bad idea 1, let's remove mkinitrd)

$ rpm -e mkinitrd --test
error: Failed dependencies:
mkinitrd is needed by (installed) mkbootdisk-1.5.2-1.i386
/sbin/nash is needed by (installed) initscripts-8.11.1-1.x86_64

(bad idea 2, let's remove initscripts)

$ rpm -e initscripts --test
error: Failed dependencies:
initscripts >= 7.93.14.EL is needed by (installed) hotplug-2004_04_01-7.6.x86_64
initscripts >= 5.86-1 is needed by (installed) kbd-1.12-2.x86_64
initscripts >= 5.92 is needed by (installed) isdn4k-utils-3.2-18.p1.1.x86_64
initscripts >= 5.54 is needed by (installed) portmap-4.0-63.x86_64
initscripts >= 6.38 is needed by (installed) quota-3.12-5.x86_64
initscripts >= 5.92 is needed by (installed) rp-pppoe-3.5-22.x86_64
initscripts is needed by (installed) xinetd-2.3.13-4.4E.1.x86_64
initscripts is needed by (installed) foomatic-3.0.2-3.x86_64
initscripts is needed by (installed) xorg-x11-xfs-6.8.2-1.EL.13.20.x86_64
initscripts >= 4.42 is needed by (installed) aumix-2.8-9.x86_64
initscripts >= 5.83 is needed by (installed) glibc-kernheaders-2.4-9.1.9

<snip, this is enough, MAN!! I really screwed myself now!!!>

Forcing the removal of packages additional packages when you do not understand what the consequences are is a bad idea (as you now know). Consider this a valuable lesson, without know how far you got it, you may have better luck with doing an upgrade re-installation instead.

The hard part is making a backup of everything that is important (system settings, email, bookmarks, docs and such). A live CD like knoppix and some external storage device/location may be your best bet. Hopefully others may offer additional advice and suggestions.
 
Old 01-05-2006, 09:38 PM   #3
sagehealth
LQ Newbie
 
Registered: Jun 2005
Location: virginia
Distribution: FC4
Posts: 2

Original Poster
Rep: Reputation: 0
Yup, bad idea, I know. I rebuilt the system and from the backups of the etc and various other directories I had the system back up in about 4 hours. I do a rsync backup every night to another drive. Backup all my data as well. I was hoping I could "undo" stuff but the new install went pretty error free.

Thanks
George
 
Old 01-06-2006, 07:06 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Good for you, I'm glad everything was recovered from backups and nothing other then time was lost.

This experience is a strong statement of the importance of making and maintaining backups. Hopefully others will see this thread and realize this fact.

Go rsync!!!!

I also hope you understand, my reply was not only directed at you but others as well. Hopefully it showed just how quickly one can kill a system by mistake.
 
  


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
Reinstall YUM hypnotiks Linux - Newbie 1 08-27-2005 12:30 PM
Can YUM Reinstall PHP? stefaandk Fedora 3 06-27-2005 07:23 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM
Kernel Panics? cli_man Linux - Software 0 09-05-2003 08:58 AM
kernel panics please help valleyman Linux - Hardware 12 06-26-2003 05:23 AM


All times are GMT -5. The time now is 05:06 PM.

Main Menu
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