[CentOS-devel] yum 2.4.3 updates for CentOS 3 and 4 in the testing repo

Thu May 17 23:19:34 UTC 2007
Grant McChesney <grantmc at gmail.com>

On 5/17/07, Linux Rockz <LinuxRockz at gmail.com> wrote:
>
>
> I got this after upgrading on my C3 box.
>
> # yum update
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 28, in ?
>     import yummain
>   File "/usr/share/yum-cli/yummain.py", line 24, in ?
>     import cli
>   File "/usr/share/yum-cli/cli.py", line 27, in ?
>     from optparse import OptionParser
> ImportError: No module named optparse
>
>
>
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:

May 17 10:58:06 Dep Installed: python-sqlite 1.1.7-1.2.1.i386
May 17 10:58:06 Dep Installed: sqlite 3.3.6-2.i386
May 17 10:58:06 Dep Installed: python-elementtree 1.2.6-5.el3.centos.i386
May 17 10:58:06 Dep Installed: yum-metadata-parser 1.1.0-2.el3.centos.i386
May 17 10:58:06 Dep Installed: python-urlgrabber 2.9.8-2.noarch
May 17 10:58:06 Dep Installed: centos-yumconf 3-2.noarch
May 17 10:58:06 Updated: yum 2.4.3-4.el3.centos.noarch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20070517/cfd9df96/attachment-0007.html>