OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Setup & Installation => Topic started by: Neil Waldhauer 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?
-
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'.