Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: tariqf on March 21, 2019, 11:18:44 AM
-
Hi guys, our sme server (9.2) has a non working yum all of a sudden and I cannot recall what may have changed to cause this. Does anyone have any ideas?
[root@sme ~]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 23, in <module>
import rpm
File "/usr/lib64/python2.6/site-packages/rpm/__init__.py", line 24, in <module>
ts = TransactionSet
NameError: name 'TransactionSet' is not defined
-
Hi guys, our sme server (9.2) has a non working yum all of a sudden and I cannot recall what may have changed to cause this.
Presumably something did actually change.
See what:
rpm -q yum rpm-python
rpm -V yum rpm-python
tells you.
-
Hi, I agree something must have changed it can't just stop working. I just cant figure out why it's not working. Here is the output from your suggestion below - interestingly if I run the same command on another install of SME 9.2 then the output is lacking the last line about transaction.pyc.
[root@sme ~]# rpm -V yum rpm-python
S.5....T. c /etc/yum.conf
S.5....T. /usr/lib64/python2.6/site-packages/rpm/transaction.pyc
[root@sme ~]#
-
Thanks CharlieBrady this is now resolved - I copied the transaction.pyc from a fresh install and now it's working again. Not sure how it happened but I'm pleased this is working
:smile: