On 5/17/07, <b class="gmail_sendername">Linux Rockz</b> &lt;<a href="mailto:LinuxRockz@gmail.com">LinuxRockz@gmail.com</a>&gt; 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>&nbsp;&nbsp;File &quot;/usr/bin/yum&quot;, line 28, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp;import yummain<br>&nbsp;&nbsp;File &quot;/usr/share/yum-cli/yummain.py&quot;, line 24, in ?
<br>&nbsp;&nbsp;&nbsp;&nbsp;import cli<br>&nbsp;&nbsp;File &quot;/usr/share/yum-cli/cli.py&quot;, line 27, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp;from optparse import OptionParser<br>ImportError: No module named optparse<br><br><br></blockquote></div><br>Hmm.&nbsp; I&#39;ve updated 10 CentOS 3 servers now without a hitch.&nbsp; I&#39;m guessing something didn&#39;t get updated as python can&#39;t find the optparse module.&nbsp; Here&#39;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>