Description of problem: I cannot run anymore dnf update, nor install any packages. Version-Release number of selected component (if applicable): [root@fedora-23]# dnf --version 1.1.9 Installed: dnf-0:1.1.9-1.fc23.noarch at 2016-05-26 07:23 Built : Fedora Project at 2016-05-19 09:29 Installed: rpm-0:4.13.0-0.rc1.13.fc23.x86_64 at 2016-05-01 15:37 Built : Fedora Project at 2016-04-25 13:50 How reproducible: no idea. I have tried to remove and place repository one by one. Steps to Reproduce: 1. dnf update or dnf install Actual results: A python exception gets thrown. Expected results: I would expect to complete the update. Additional info: That's the error message I receive after "dependencied resolved" Dependencies resolved. Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 120, in _main ret = resolving(cli, base) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 142, in resolving base._plugins.run_resolved() File "/usr/lib/python3.4/site-packages/dnf/plugin.py", line 82, in fn dnf.util.mapall(operator.methodcaller(method), self.plugins) File "/usr/lib/python3.4/site-packages/dnf/util.py", line 183, in mapall return list(map(fn, *seq)) File "/usr/lib/python3.4/site-packages/dnf-plugins/protected_packages.py", line 66, in resolved protected = set(get_protected_names()) File "/usr/lib/python3.4/site-packages/dnf-plugins/protected_packages.py", line 38, in get_protected_names protected.extend(map(str.strip, conf_file.readlines())) File "/usr/lib64/python3.4/codecs.py", line 319, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 0: invalid continuation byte
this will be removed in dnf-2 and it would be config option. This should be fixed. https://github.com/rpm-software-management/dnf/pull/503
Hi Jan! Thanks for your answer. Is there any way I can fix this problem on my release? I tried to apply the patch manually, but it seems that many other code is still missing.