On Wed, 2006-06-14 at 14:36 +0200, Roland Ziegler (dopoly GmbH) wrote: > Hi, > > seth vidal wrote: > > >On Wed, 2006-06-14 at 12:40 +0200, Roland Ziegler (dopoly GmbH) wrote: > > > > > >>Hi All, > >> > >>I recently tried to reinstall yum by removing the rpms from my FC4 > >>system using "rpm --erase yum-2.3.2-7" and installing it again using > >>"rpm -Uvh yum-2.3.2-7.noarch.rpm". After doing this, I receive the > >>following error message while starting yum regardless what parameters I use: > >> > >>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 34, in main > >> locale.setlocale(locale.LC_ALL, '') > >> File "/usr/lib/python2.4/locale.py", line 379, in setlocale > >> return _setlocale(category, locale) > >>locale.Error: unsupported locale setting > >> > >>I even tried to reinstall python (the same way like yum) and installed > >>different versions of yum but nothing did help up to now. > >> > >>Does anyone of you have an idea how to fix that? > >> > >> > >> > > > >use a more recent version of yum. > > > >yum 2.4.1 or 2.4.2 should be in updates-released from FC4. > > > >-sv > > > > > Thank you for your help. > > I've updated now to yum-2.4.1-1.fc4 but the error message has only > slightly changed: > > 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 67, in main > locale.setlocale(locale.LC_ALL, '') > File "/usr/lib/python2.4/locale.py", line 379, in setlocale > return _setlocale(category, locale) > locale.Error: unsupported locale setting looks like this fix is only in yum 2.4.2 - not in 2.4.1 -sv