Grant McChesney wrote:
On 5/17/07, *Linux Rockz* <LinuxRockz@gmail.com mailto:LinuxRockz@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
CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
I have all those packages installed ....