yum remove rpm --> how to reinstall rpm
I have got errors from berkely db when cyrus imap service started to run.
imap: 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.
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
format machine and reinstall
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..
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.
|All times are GMT -5. The time now is 06:43 PM.|