Ask Your Question
1

Error upgrading to Fedora 25 - UTF8

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

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/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 120, in _main
    ret = resolving(cli, base)
  File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 149, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 228, in do_transaction
    super(BaseCli, self).do_transaction(display)
  File "/usr/lib/python3.5/site-packages/dnf/base.py", line 582, in do_transaction
    tserrors = self._ts.test(testcb)
  File "/usr/lib/python3.5/site-packages/dnf/rpm/transaction.py", line 110, in test
    tserrors = self.ts.run(cb.callback, '')
  File "/usr/lib/python3.5/site-packages/rpm/transaction.py", 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
1

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

hkrebs gravatar image

the following command solved the problem :

export LC_CTYPE="de_AT.utf-8"

ciao H.

edit flag offensive delete link more

Comments

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 -0600 )edit

Question Tools

Stats

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

Seen: 278 times

Last updated: Dec 03 '16