On 5/17/07, <b class="gmail_sendername">Linux Rockz</b> <<a href="mailto:LinuxRockz@gmail.com">LinuxRockz@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I got this after upgrading on my C3 box.<br><br># yum update<br>Traceback (most recent call last):<br> File "/usr/bin/yum", line 28, in ?<br> import yummain<br> File "/usr/share/yum-cli/yummain.py", line 24, in ?
<br> import cli<br> File "/usr/share/yum-cli/cli.py", line 27, in ?<br> from optparse import OptionParser<br>ImportError: No module named optparse<br><br><br></blockquote></div><br>Hmm. I've updated 10 CentOS 3 servers now without a hitch. I'm guessing something didn't get updated as python can't find the optparse module. Here's a snip from my
yum.log for the upgrade:<br><br>May 17 10:58:06 Dep Installed: python-sqlite 1.1.7-1.2.1.i386<br>May 17 10:58:06 Dep Installed: sqlite 3.3.6-2.i386<br>May 17 10:58:06 Dep Installed: python-elementtree 1.2.6-5.el3.centos.i386
<br>May 17 10:58:06 Dep Installed: yum-metadata-parser 1.1.0-2.el3.centos.i386<br>May 17 10:58:06 Dep Installed: python-urlgrabber 2.9.8-2.noarch<br>May 17 10:58:06 Dep Installed: centos-yumconf 3-2.noarch<br>May 17 10:58:06 Updated: yum
2.4.3-4.el3.centos.noarch<br><br><br>