By mistake i deleted the rpm that contains the rpm command and now my system dosent know the rpm command and yum fails with the following message:
Code:
root@localhost ~]# yum update
error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory.
error: no dbpath has been set
error: cannot open Packages database in /%{_dbpath}
CRITICAL:yum.main:
Error: rpmdb open failed
How can i fix this problem?
Thanks