Description of problem: I am running sudo dnf system-upgrade download --releasever=23 --best on a fedora 22 server installation via ssh. This is not a unicode-terminal. After running the comand I get Traceback (most recent call last): File "/usr/lib64/python2.7/logging/__init__.py", line 859, in emit msg = self.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 732, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 471, in format record.message = record.getMessage() File "/usr/lib64/python2.7/logging/__init__.py", line 335, in getMessage msg = msg % self.args UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128) Logged from file system_upgrade.py, line 607 Traceback (most recent call last): File "/usr/lib64/python2.7/logging/__init__.py", line 859, in emit msg = self.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 732, in format return fmt.format(record) File "/usr/lib64/python2.7/logging/__init__.py", line 471, in format record.message = record.getMessage() File "/usr/lib64/python2.7/logging/__init__.py", line 335, in getMessage msg = msg % self.args UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 9: ordinal not in range(128) Logged from file system_upgrade.py, line 607 The downloaded packages were saved in cache till the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. so it seems to be successful but still throws an error because some print statements didn't work. Version-Release number of selected component (if applicable): dnf-0:1.1.3-1.fc22.noarch dnf-plugin-system-upgrade 0.7.0 How reproducible: Steps to Reproduce: 1. Use Non-Unicode console (maybe ssh) 2. run sudo dnf system-upgrade download --releasever=23 --best Actual results: Error message Expected results: Whatever text should have been printed, including the unicode characters. Additional info:
This could be fixed together with bug 1278031 by applying [1]. [1] https://github.com/rpm-software-management/dnf-plugin-system-upgrade/pull/38
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.