[Yum] YUM 2.2.1-1 and SuSE Linux 9.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

  I know this configuration is not supported but I'd
still like to report the following - YUM 2.2.1 gets
confused by the "2.3+" that SuSE 9.0's Python
reports:
---------------------- 8< ----------------------
$ python -V
Python 2.3+

$ yum --version
Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
  File "/usr/share/yum-cli/yummain.py", line 23, in ?
    import yum
  File "__init__.py", line 34, in ?
  File "config.py", line 31, in ?
  File "__init__.py", line 53, in ?
  File "grabber.py", line 328, in ?
  File "keepalive.py", line 113, in ?
ValueError: invalid literal for int(): 3+
---------------------- 8< ----------------------

The offending lines in question (urlgrabber/keepalive.py):
---------------------- 8< ----------------------
    112 import sys
    113 _python_version = map(int, sys.version.split()[0].split('.'))
    114 if _python_version < [2, 4]: HANDLE_ERRORS = 1
    115 else: HANDLE_ERRORS = 0
    116
---------------------- 8< ----------------------

YUM 2.0.8 seems to work fine on SuSE 9.0 with basic
support for updating from RPM repositories. I haven't
tested kernel/glibc upgrades, etc. I *have* seen
messages like this one:

https://lists.dulug.duke.edu/pipermail/yum/2005-March/006261.html

so I know what I could be getting into.

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux