LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-22-2003, 05:15 PM   #1
ToBe
Member
 
Registered: Aug 2003
Distribution: RHEL 4&5 Ubuntu LTS 6.06 & 8.04, FreeBSD
Posts: 74

Rep: Reputation: 20
DUMB Mistake: installed RH9 rpm's on RH8 system


I'm not exactly a But I made a VERY VERY dumb mistake. Too much coffee or something.

I put a RH9 cdrom into a RH8 server, wanting to install compilers. so I could compile stuff. When I tried using the Xwindow Redhat Package Manager, it complained about a handful of RPM's failing deps, so I went to the command line and RPM -Uvh blah.rpm --nodeps..

Dumb dumb (kicking myself in the head) I wont even go into WHY I did this... Just.. dumb.

So, I've hosed my system.. Samba doesn't work, Xwindows doesn't work, SSH doesn't work... I'm not sure what to do. I tried putting in the RH8 cdrom and RPM -Uvh blah.rpm those RPM's I overwrote with the RH9 packages, but it tells me those files are already installed.

Files in question that I really screwed up are:

openssl
openldap
cyrus-sasl
glibc
krb5-libs

All the above were up2date'ed as of today on the RH8 machine. I later in the day popped in a RH9 disc (by mistake by the way.. label those ISO burns well, folks!) and RPM -Uvh package.rpm --nodeps all of the above.

What do you folks suggest I do now? Feel free to call me names, but please post some suggestions

 
Old 09-22-2003, 05:40 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Re: DUMB Mistake: installed RH9 rpm's on RH8 system

Quote:
Originally posted by ToBe
I tried putting in the RH8 cdrom and RPM -Uvh blah.rpm those RPM's I overwrote with the RH9 packages, but it tells me those files are already installed.
Hmmm... maybe take those "files already installed" and 'rpm -e' them. Then go back and 'rpm -i' them with red hat 8 CD? Just a thought.

Certainly don't do that on my suggestion, but maybe give it some thought and wait for advice from others.
 
Old 09-22-2003, 08:15 PM   #3
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
First of all, you can downgrade packages with rpm option: --oldpackage

Boot first CD in rescue mode. Don't enter your system via chroot. That means, don't follow the on-screen instructions. Instead, mount your system's partitions manually. Then use the rescue system's rpm tool to erase/upgrade/install/whatever packages on the mounted system. RPM parameter --root /mnt/something will help you to access the correct system, e.g.

rpm --root /mnt/sysimage -Uvh glibc*.rpm --oldpackage
 
Old 09-23-2003, 09:42 AM   #4
ToBe
Member
 
Registered: Aug 2003
Distribution: RHEL 4&5 Ubuntu LTS 6.06 & 8.04, FreeBSD
Posts: 74

Original Poster
Rep: Reputation: 20
Folks if you can afford the space, you guys should definitely toggle the "keep RPM's" after up2date :P It would have made things MUCH easier..

I'm still trying to get this sucker back up.

I'm not sure what the suggestion from Misc is all about.. Why would I want to mount my partitions manually? I'm confused with what you are suggesting, Misc...
 
Old 09-23-2003, 09:45 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Well, you wrote that glibc is messed up. So, does your system still work? If not, you need rescue mode. In your original posting, the current state of your system doesn't become clear at all. In case your system -- and in particular, rpm -- still works, what is your problem?
 
Old 09-23-2003, 01:22 PM   #6
ToBe
Member
 
Registered: Aug 2003
Distribution: RHEL 4&5 Ubuntu LTS 6.06 & 8.04, FreeBSD
Posts: 74

Original Poster
Rep: Reputation: 20
Sorry for being unclear.

I boot up fine to the command line. I can do stuff on the command line, but Samba , SSH, Sendmail are all broken. I'm sure there are other problems, but these are the only one I have noticed so far.

These are the packages I forced --nodeps on (dumb me)

openssl
openldap
cyrus-sasl
glibc
krb5-libs

----some time passes as ToBe tinkers----

AHA!!!! THANK YOU! the --oldpackages --nodeps did the trick! Samba is back up, SSH & StartX are all functional!

Thank you thank you thank you thank you!!!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 03:45 AM
Dumb ass newbie mistake...help! craigb Linux - Newbie 4 11-14-2004 12:07 PM
dumb mistake tej Linux - Newbie 1 09-01-2004 03:15 AM
screwed up fedora install - dumb mistake itsjustme Fedora 2 06-19-2004 03:54 AM
Really dumb mistake - need a MDK 9.2 boot disk Delmarc Linux - Newbie 4 03-18-2004 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:03 AM.

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