CODE
:
[root@]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
import yummain
File "yummain.py", line 21, in ?
File "clientStuff.py", line 18, in ?
ImportError: librpm-4.2.so: cannot open shared object file: No such file or directory
[root@]# rpm
-bash: rpm: command not found
[root@]#
[root@]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
import yummain
File "yummain.py", line 21, in ?
File "clientStuff.py", line 18, in ?
ImportError: librpm-4.2.so: cannot open shared object file: No such file or directory
[root@]# rpm
-bash: rpm: command not found
[root@]#
happened after deinstalling perl-mailspamassassin
suggested solution in http://forums.ev1servers.net/showthread.ph...&threadid=51707 doesnt work, cause rpm --rebuild is unknown command:
CODE
[root@localhost root]# rpm --rebuilddb
-bash: rpm: command not found
[root@localhost root]#
-bash: rpm: command not found
[root@localhost root]#