S
S
SL932016-08-19 06:42:35
linux
SL93, 2016-08-19 06:42:35

How to fix yum?

Hello, when you try to install something, you get the following errors
yum install mc
/usr/bin/yum: line 2: import: command not found
/usr/bin/yum: line 3: try:: command not found
/usr/bin/yum: line 4: import: command not found
/usr/bin/yum: line 5: except: command not found
/usr/bin/yum: line 23: syntax error near unexpected token `('
/usr/bin/yum: line 23 : `""" % (sys.exc_value, sys.version)'
yum update
/usr/bin/yum: line 2: import: command not found
/usr/bin/yum: line 3: try:: command not found
/ usr/bin/yum: line 4: import: command not found
/usr/bin/yum: line 5: except: command not found
/usr/bin/yum: line 23: syntax error near unexpected token `('
/usr/bin/yum: line 23: `""" %(sys.exc_value, sys.version)'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question