Dnf tem problemas utf-8

1

Eu tenho problema com dnf. Especificamente: não consigo mais atualizar minha caixa.

# dnf update
Last metadata expiration check: 0:02:11 ago on Thu Jun  2 14:32:01 2016.
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

Dentro de /etc/dnf/protected.d/

  • dnf.conf apenas com a string "dnf" dentro.
  • rpmfusion-free-release-23.noarch.rpm
  • rpmfusion-nonfree-release-23.noarch.rpm

Dentro de /etc/yum/protected.d/ there is just systemd.conf 'com "systemd" dentro.

Eu tentei quase tudo:  - remover todos os repositórios um por um e limpar tudo  - disparando um bug na plataforma redhat oficial para o relatório de bug (onde eles dizem que é um bug que será corrigido na próxima versão do dnf-2.

você tem alguma ideia nova?

    
por asdf 02.06.2016 / 16:53

0 respostas

Tags