[Yum] more problems with yum and el4

seth vidal skvidal at phy.duke.edu
Mon Jun 13 05:07:04 UTC 2005


On Mon, 2005-06-06 at 00:10 -0400, Tom Diehl wrote:
> Hi all,
> 
> I am trying to get yum-2.3.2-1 working on el4. I thought I had it and infact
> it does work fine on the machine I built it on. I have another el4 machine
> that when I install yum and try to run it I get the following traceback:
> 
> Transaction Summary
> =============================================================================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 9.5 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing: kernel                       ######################### [1/1]
> Traceback (most recent call last):
>   File "/usr/bin/yum", line 15, in ?
>     yummain.main(sys.argv[1:])
>   File "/usr/share/yum-cli/yummain.py", line 146, in main
>     base.doTransaction()
>   File "/usr/share/yum-cli/cli.py", line 713, in doTransaction
>     self.runTransaction(cb=cb)
>   File "__init__.py", line 338, in runTransaction
>   File "/usr/share/yum-cli/callback.py", line 133, in callback
>     self.filelog(0, msg)
>   File "logger.py", line 258, in log
>   File "logger.py", line 232, in gen_prefix
>   File "/usr/share/yum-cli/output.py", line 41, in printtime
>     locale.resetlocale(locale.LC_TIME)
>   File "/usr/lib/python2.3/locale.py", line 391, in resetlocale
>     _setlocale(category, _build_localename(getdefaultlocale()))
> locale.Error: unsupported locale setting
> 
> I would appreciate it if someone can tell me what this means and how to fix it:
> FWIW the transaction appears to have succeeded. The kernel I installed is in the
> rpm database.
> 

it looks like a bug, the way to fix it is to check out cvs-HEAD.

-sv





More information about the Yum mailing list