On Wed, 2006-08-02 at 12:06 +0200, Rainer Traut wrote: > Hi, > > though I know it clearly states 2.4.3 is compatible with python > 2.3 > I thought I give it a try; somebody seems to have tried already: > https://lists.dulug.duke.edu/pipermail/yum/2006-March/008425.html > > I'm running into problems with yum-shell: > Setting up Yum Shell > > update > Traceback (most recent call last): > File "/usr/bin/yum", line 29, in ? > yummain.main(sys.argv[1:]) > File "/usr/share/yum-cli/yummain.py", line 97, in main > result, resultmsgs = do() > File "/usr/share/yum-cli/cli.py", line 444, in doShell > yumshell.cmdloop() > File "/usr/lib/python2.2/cmd.py", line 123, in cmdloop > stop = self.onecmd(line) > File "/usr/lib/python2.2/cmd.py", line 199, in onecmd > return self.default(line) > File "/usr/share/yum-cli/shell.py", line 64, in default > self.base.cmds = shlex.split(self.base.cmdstring) > AttributeError: 'module' object has no attribute 'split' > > Probably this is because of python 2.2. > Is there a workaround (small patch?) for this? > > Reason is, yum 2.2.2 does not like to update some packages: > > # yum list mc > Setting up Repos > ... > Reading repository metadata in from local files > ... > Installed Packages > mc.i686 1:4.6.0-18 installed > Available Packages > mc.i386 1:4.6.1-1 xxx > > yum 2.4.3 updates mc, while yum 2.2.2 does not... > > Thx > Rainer We are working on a version of yum-2.4.x for CentOS-3. It has work around patches for yum-shell and a couple other items (some of the yum plugins, etc.). It is not quite ready yet, as there are problems still with the updating of kernels and properly setting the new kernel as the default boot kernel. There is also a problem with upgrading it as part of an upgrade of other packages ... so you would need to upgrade yum first (and it's required python/sqlite packages), then upgrade the other packages with the new yum. When we do have it fully working it will be in the CentOS-3 centosplus repo here: http://mirror.centos.org/centos/3/centosplus/ (should be w/in the next week or so) Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20060812/d7f0ce69/attachment.bin