Description of problem: Steps to Reproduce: $ echo $LANG pt_BR.utf8 $ dnf makecache timer error about 'ascii' codec $env LANG=C dnf makecache timer no error: everything is ok. However, I have the package yum-plugin-local installed and dnf disable the _local repository. Additional info: Message about _local repository: """ Problem with repo '_local': Cannot prepare internal mirrorlist: realpath(file:/var/lib/yum/plugins/local) error: No such file or directory, disabling. """ Maybe the translated message cause the bug... Version-Release number of selected component: dnf-0.4.9-1.fc20 Additional info: reporter: libreport-2.1.10 cmdline: /usr/bin/python /usr/bin/dnf -v makecache timer executable: /usr/bin/dnf kernel: 3.12.5-302.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: base.py:125:_add_repo_to_sack:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 260, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 63, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 122, in _main result, resultmsgs = cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1471, in run return self.command.doCommand(self.base.basecmd, self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands.py", line 953, in doCommand self.base.fill_sack() # performs the md sync File "/usr/lib/python2.7/site-packages/dnf/base.py", line 214, in fill_sack self._add_repo_to_sack(r.id) File "/usr/lib/python2.7/site-packages/dnf/base.py", line 125, in _add_repo_to_sack msg = _("%s, disabling.") % str(e) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 129: ordinal not in range(128) Local variables in innermost frame: repo: <Repo _local> hrepo: <_hawkey.Repo object at 0x7f52bfe774f8> self: <dnf.cli.cli.BaseCli object at 0x1942410> e: RepoError() name: '_local'
Created attachment 841905 [details] File: backtrace
Created attachment 841906 [details] File: environ
*** This bug has been marked as a duplicate of bug 1044502 ***