Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-24-2007, 11:07 PM   #1
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- 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 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
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
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
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
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

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


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

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration