Author Topic: YUM is broken  (Read 5832 times)

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1067
  • Karma: +27/-0
    • View Profile
    • Blonde Guy
YUM is broken
« on: March 25, 2015, 02:45:45 pm »
I see a situation where I can't use YUM anymore. Here is the error.

yum install libc
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named urlgrabber

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.6 (default, Apr  7 2014, 18:19:49)
[GCC 4.7.3]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq


Any idea how to fix this?
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Greggory Shaw

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
    • View Profile
Re: YUM is broken
« Reply #1 on: March 25, 2015, 03:48:16 pm »
http://www.os2world.com/forum/index.php/topic,668.0.html


Alex Taylor wrote:

Lars: That sounds like the bug where updating Python to 2.7 would break urlgrabber and thus yum.  The fix is to xcopy the \usr\lib\python2.6\site-packages\urlgrabber directory to \usr\lib\python2.7\site-packages\urlgrabber, then run 'yum update urlgrabber'.