[Yum] yum 2.4.3 for EL3? (problems with 2.2.2)

seth vidal skvidal at linux.duke.edu
Fri Aug 11 04:19:42 UTC 2006


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...
> 

yah - that's correct - that was a behavioral change in how 'exactarch'
worked b/t 2.2.X and 2.4.X

-sv





More information about the Yum mailing list