LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2003, 01:00 AM   #1
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Exclamation How to recover after an rpm -e --nodeps rpm



How can one restore normalcy after

# rpm -e --nodeps rpm

I am referring to removal of the RPM package itself (the rpm-4.2-0.69.rpm that contains the rpm related files).

Without this package you won't have the rpm utility to reinstall the rpm package.


Last edited by ppuru; 08-07-2003 at 01:03 AM.
 
Old 08-07-2003, 01:17 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
go download the tarball i guess...
why would you have done that anyways?
 
Old 08-07-2003, 02:00 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Original Poster
Rep: Reputation: 50
This is a test system to play around with. I just wanted to see how one can recover from such a situation.

I wanted to check whether I can get into rescue mode and use rpm to install the rpm package. Yet to try ...

Perhaps we should start a thread to find out ways and means (other than rm -rf /) to wreck a Linux system and recover from it without actually reinstalling it. Not sure whether that thread would fall into General or Linux General.

Last edited by ppuru; 08-07-2003 at 02:01 AM.
 
Old 08-07-2003, 06:03 AM   #4
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Quote:
Originally posted by ppuru
Perhaps we should start a thread to find out ways and means (other than rm -rf /) to wreck a Linux system and recover from it without actually reinstalling it.

Ummm, isn't that what this site is all about??
 
Old 08-07-2003, 08:25 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I wanted to check whether I can get into rescue mode and use rpm to install the rpm package.
Won't work, rescue mode doesn't alter the SW map on the box.
Using a rescue CD will work, because rpm is on it, just gotta point the root to the root of the box, and maybe nudge rpm into seeing the databases in /var/lib/rpm .
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm -Uvh --nodeps php-5.0xxxx did a mistake pudhiyavan Linux - Software 2 06-06-2005 03:35 AM
rpm nodeps question ergo_sum Linux - Newbie 3 05-04-2005 03:39 PM
is it ok to 'rpm -e kernel --nodeps' ??? qwijibow Linux - Software 1 05-27-2004 01:21 AM
RPM still checks for dependencies even with -- nodeps . Travis86 Linux - Software 9 09-28-2003 09:15 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:23 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
Open Source Consulting | Domain Registration