Edit /usr/bin/yum and change the python in the first line to python2.6. The error message is
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in <module>
import yummain
File "/usr/share/yum-cli/yummain.py", line 34, in <module>
import cli
File "/usr/share/yum-cli/cli.py", line 34, in <module>
import output
File "/usr/share/yum-cli/output.py", line 450
self.reported_error_msgs = {k: False for (k, v) in ERRORS_TO_KBASE_ARTICLES.iteritems()}
^
Edit
/usr/bin/yum
, change python in the first line to python2.6You want to upgrade yum to python2.7, right? You only need to resolve the corresponding dependencies. However, the process is a bit cumbersome.
Edit /usr/bin/yum and change the python in the first line to python2.6. The error message is
SyntaxError: invalid syntax