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 - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-24-2007, 11:07 PM   #1
npubudu
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Rep: Reputation: 0
yum remove rpm --> how to reinstall rpm


I have got errors from berkely db when cyrus imap service started to run.

imap[24405]: incorrect version of Berkeley db: compiled against 4.2.52, linked against 4.0.14

for this I tried to remove rpm based bdb version 4.0.14.

by rpm -e db-devel --> this lead rpm package manager to hangup.
So I thought of removing rpm package manager and reinstall it again via yum.

Ok I removed rpm by --> yum remove rpm

result --> Erased: rpm 4.2-0.69.i386 rpm-devel 4.2-0.69.i386 rpm-python 4.2-0.69.i386 rhn-applet 2.0.9-0.9.0.1.i386 redhat-config-network-tui 1.2.0-2.noarch redhat-config-network 1.2.0-2.noarch up2date 3.1.23-1.i386 firstboot 1.0.5-11.noarch redhat-config-packages 1.1.8-1.noarch rpm-build 4.2-0.69.i386 net-snmp-devel 5.0.9-2.90.1.i386 yum 2.0.4-1.rh.fr.i386 net-snmp 5.0.9-2.90.1.i386 up2date-gnome 3.1.23-1.i386

Now together with my rpm pkg manager the yum is also has gone.

yum list rpm
-bash: /usr/bin/yum: No such file or directory


Now how can I install rpm package manager again. I have physical acces to the machine.

Can I install anything now??? I am stucked.

Any help
 
Old 01-25-2007, 01:24 AM   #2
npubudu
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Original Poster
Rep: Reputation: 0
I am really stucked here-->

I have few toughts though.....

1)how does redhat install RPM package manager from the CD. --> if this can figured out then I can use my cd pack to install RPM
2)Where I can find source tarball of redhat9 rpm package manager.
3)Can I install anyother sort of package manager (which can be installed from source tar ball)which inreturn can be used to install rpm package manager

Ah I got another point installing yum from source but I realized from above experience that yum has double dependency on rpm pkg manager. So without it Shall I able to install yum successfully? Anyway I will try this since I familier with yum.
If APT would help can anybody tell me how to configure apt....??

Any help please....

Is there a way
 
Old 01-25-2007, 02:04 AM   #3
prashant joshi
LQ Newbie
 
Registered: Jan 2007
Location: india, pune
Posts: 15

Rep: Reputation: 1
format machine and reinstall
 
Old 01-25-2007, 02:18 AM   #4
npubudu
LQ Newbie
 
Registered: Oct 2006
Posts: 19

Original Poster
Rep: Reputation: 0
No Dear this is a running system I can't do that.

But Anybody has an experience of using the cd's and do the similar installation over the previous installation without formatting for partitions again?

I can see the previous installation setup on kickstart file. But don't know of this in surely.

Anybody has done that before.....

And I found to install yum rpm is a prerequarity...... no help in yum --> Then why this yum tool removed rpm blindly. (It shouldn't do that)

Can anybody suggest whether apt help for me???? does apt too depent on rpm..
 
Old 01-25-2007, 04:17 AM   #5
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
My suggestion is to install the rpm package manager manually, from your CD's (probably the last one) check through the RPMS directory and you should find it, when you start to install it, it will ask for dependencies, you will have do install all the dependencies manually.
 
Old 01-25-2007, 08:08 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by prashant joshi
format machine and reinstall
This is complete nonsense---what do you mean by "format machine"?
 
  


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
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
Tried to YUM remove GZIP and reinstall, Kernel Panics sagehealth Fedora 3 01-06-2006 07:06 AM
rpm -e & yum -remove. Easy questions. rickh Fedora 10 12-26-2005 10:46 AM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 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