Bug 543410
| Summary: | Locales are breaking package-cleanup tool | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zdenek Kabelac <zkabelac> |
| Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | christoph.wickert, edgar.hoch, james.antill, maxamillion, pb, pmatilai, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-02-01 20:38:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Same here with de_DE.utf8 *** Bug 542107 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 560369 *** |
Description of problem: package-cleanup doesn't work with Czech locales. # LANG=cs_CZ.UTF-8 package-cleanup Zavedeny zásuvné moduly:dellsysidplugin2, priorities, refresh-packagekit, refresh-updatesd Traceback (most recent call last): File "/usr/bin/package-cleanup", line 382, in <module> util = PackageCleanup() File "/usr/bin/package-cleanup", line 58, in __init__ self.main() File "/usr/bin/package-cleanup", line 302, in main self.optparser.print_help() File "/usr/lib64/python2.6/optparse.py", line 1664, in print_help file.write(self.format_help().encode(encoding, "replace")) File "/usr/lib64/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 188: ordinal not in range(128) However works without problems with plain C locales: Loaded plugins: dellsysidplugin2, priorities, refresh-packagekit, refresh- : updatesd Usage: package-cleanup: helps find problems in the rpmdb of system and correct them usage: package-cleanup --problems or --leaves or --orphans or --oldkernels .... Version-Release number of selected component (if applicable): yum-utils-1.1.24-2.fc13.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: