News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

YUM is broken

Started by Neil Waldhauer, March 25, 2015, 02:45:45 PM

Previous topic - Next topic

Neil Waldhauer

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?
Retired consultant for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Greggory Shaw

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'.