Description of problem: exact the same problem as written here: http://fedoraforum.org/forum/showthread.php?p=1388757 yum updated to 3.2.28-1 and after this yum cannot do any useful anymore. It ends in an UnicodeEncodeError while writing history. Usually I have LANG=de_DE.UTF-8, but even setting it to LANG=C doesn't help Version-Release number of selected component (if applicable): 3.2.28-1 How reproducible: every time Steps to Reproduce: 1. update yum to 3.2.28-1 2. yum install kdeedu-math-cantor-R 3. Actual results: [...] Total size: 35 M Installed size: 69 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 258, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 196, in main return_code = base.doTransaction() File "/usr/share/yum-cli/cli.py", line 544, in doTransaction resultobject = self.runTransaction(cb=cb) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1336, in runTransaction self._store_config_in_history() File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4718, in _store_config_in_history self.history.write_addon_data('config-repos', myrepos) File "/usr/lib/python2.6/site-packages/yum/history.py", line 613, in write_addon_data fo.write(data) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 16569: ordinal not in range(128) Expected results: Normal install Additional info: as described in the forum entry, downgrading to 3.2.27-4 fixes the situation
Can you test a simple patch?
(In reply to comment #1) > Can you test a simple patch? sure - where is it?
http://fpaste.org/BO6w/ that's it - I tested it with random unicode garbage in my config file and it works.
Seems to work...
yum-3.2.28-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc12
yum-3.2.28-2.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc14
yum-3.2.28-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc13
*** Bug 622843 has been marked as a duplicate of this bug. ***
yum-3.2.28-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc13
yum-3.2.28-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc12
yum-3.2.28-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/yum-3.2.28-2.fc14
yum-3.2.28-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc12
yum-3.2.28-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc13
yum-3.2.28-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/yum-3.2.28-3.fc14
yum-3.2.28-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.2.28-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.2.28-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.