Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

yum broken

Francois DesfossesJul 23 2016 — edited Aug 12 2016


Hi guys, i am out of idea and i cannot find any valuable source for my problem or how can i fix it. i am running Oracle Linux,

Linux mail 3.8.13-118.8.1.el6uek.x86_64 #2 SMP Mon Jun 20 18:52:42 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux

my python version is

python-2.6.6-64.0.1.el6.x86_64

[16827:16826] [0:896] 04:26:01 Sat Jul 23 root@mail  +1 /etc/yum.repos.d

SUDO MODE ON

(1:896)# python --version

Python 2.6.6

and each time im running yum command, i get the following, yum with any parameter at all, like yum clean, update, list, etc...

[16827:16826] [0:893] 04:24:45 Sat Jul 23 root@mail  +1 /etc/yum.repos.d

SUDO MODE ON

(1:893)# yum

Traceback (most recent call last):

  File "/usr/bin/yum", line 29, in <module>

    yummain.user_main(sys.argv[1:], exit_code=True)

  File "/usr/share/yum-cli/yummain.py", line 298, in user_main

    errcode = main(args)

  File "/usr/share/yum-cli/yummain.py", line 110, in main

    base = cli.YumBaseCli()

  File "/usr/share/yum-cli/cli.py", line 72, in __init__

    output.YumOutput.__init__(self)

  File "/usr/share/yum-cli/output.py", line 307, in __init__

    self.reported_error_msgs = dict((k, False) for (k, v) in ERRORS_TO_KBASE_ARTICLES.iteritems())

NameError: global name 'ERRORS_TO_KBASE_ARTICLES' is not defined

what should i do at this point? im am lost in the dark

This post has been answered by Dude! on Aug 4 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2016
Added on Jul 23 2016
39 comments
9,643 views