Hi,

I'm trying to upgrade from 27 -> 28.

Yesterday I was running `sudo dnf system-upgrade download --releasever=28` when 
I had a power failure.

After I got power back, I tried to run it again I get the trace below.

I have tried repeating the process again from `sudo dnf upgrade --refresh` and 
removing and reinstalling system-upgrade, but I still get the same message.

Any suggestions on how to get round this?

Cheers,

Ewan

[ewan@headcrash ~]$ sudo dnf system-upgrade download --releasever=28
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.6/site-packages/dnf/cli/main.py", line 179, in 
user_main
    errcode = main(args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 95, in _main
    cli.configure(list(map(ucd, args)), option_parser())
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 860, in configure
    self._parse_commands(opts, args)
  File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 783, in 
_parse_commands
    self.command = command_cls(self)
  File "/usr/lib/python3.6/site-packages/dnf-plugins/system_upgrade.py", line 
292, in __init__
    self.state = State()
  File "/usr/lib/python3.6/site-packages/dnf-plugins/system_upgrade.py", line 
109, in __init__
    self._read()
  File "/usr/lib/python3.6/site-packages/dnf-plugins/system_upgrade.py", line 
114, in _read
    self._data = json.load(fp)
  File "/usr/lib64/python3.6/json/__init__.py", line 299, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to