Ask Your Question

Error upgrading to Fedora 25 - UTF8

asked 2016-12-03 09:34:34 -0500

hkrebs gravatar image

dear all,

on serveral machines (some server and one workstation) i cannot upgrade to FC25. if i run fedup download --releasever=25 on these maschines the packages are downloaded, the transaction is tested and the the following error occurs:

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.5/site-packages/dnf/cli/", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/", line 120, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/", line 149, in resolving
  File "/usr/lib/python3.5/site-packages/dnf/cli/", line 228, in do_transaction
    super(BaseCli, self).do_transaction(display)
  File "/usr/lib/python3.5/site-packages/dnf/", line 582, in do_transaction
    tserrors = self._ts.test(testcb)
  File "/usr/lib/python3.5/site-packages/dnf/rpm/", line 110, in test
    tserrors =, '')
  File "/usr/lib/python3.5/site-packages/rpm/", line 114, in run
    item = ("%s" % prob, (prob.type, prob._str, prob._num))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 55: invalid start byte

any suggestions??

ciao H.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-04 14:39:15 -0500

hkrebs gravatar image

the following command solved the problem :

export LC_CTYPE="de_AT.utf-8"

ciao H.

edit flag offensive delete link more


Hi hkrebs - don't forget to accept your own answer - otherwise if someone is browsing or searching for the solution they will think this issue went unresolved.

padraic gravatar imagepadraic ( 2016-12-05 03:36:55 -0500 )edit

Question Tools


Asked: 2016-12-03 09:34:34 -0500

Seen: 282 times

Last updated: Dec 03 '16