Finally a relevant thread. I’m also having this issue.
really don’t want to invest in a fresh install on the machine I’m working on. still my main linux machine.
So getting all the same issues as above. Stuck at 0% and timeouts.
Weird thing is if I do upgrade via softwarecenter instead of the CLI, I get to 26% and basicaly the same error (-cacheonly error).
anyway… so back to CLI updating.
I mainly deleted outdated python2 and wine* packages and after couple of sytem-upgrade tries eventually decided also to deleted all i686 packages.
disabled all repos except fedora and updates
still the 0% problem…
/var/log/dnf.log keeps adding packages that are ‘faulty’
eventually found out I had some el7 packages. removed those, and then finaly it started upgrading and reboot still stuck at 0% and failes to system-upgrade
so no progress yet. my dnf.log always looks like this:
CRITICAL Error: Some packages have invalid cache, but cannot be downloaded due to “–cacheonly” option
everytime it’s another inimportant packages from the updates repo, i delete it (can always install later again). do the whole reoutine again: system-upgrade clean, dnf clean all, dnf update, dnf upgrade --refresh, system-upgrade download --refresh --releasever=32, sytem-upgrade reboot
keeps hanging at 0% and keeps adding the same error in dnf.log, just different packages. I kept deleting those non-vital packages until I hit this:
Transaction Summary
Install 63 Packages
Upgrade 2860 Packages
Remove 5 Packages
Downgrade 3 Packages
2020-07-02T21:01:12Z DEBUG systemd-245.6-2.fc32.x86_64: sha256 check failed: 83d20d0681cdddfe2b19e236ca5a15248ca503d27ea326b1c4521a8ab943ddf8 vs edde21d3251b50f0c63eda51d1b7fa8775e2db42fe58f5d418cbff4910a35550
2020-07-02T21:01:21Z INFO Total size: 2.7 G
2020-07-02T21:01:21Z INFO Total download size: 4.2 M
2020-07-02T21:01:21Z INFO Downloading Packages:
2020-07-02T21:01:26Z DEBUG systemd-245.6-2.fc32.x86_64: sha256 check failed: 8f8e4dce350f0ee9195eacd690ba54889dd80746339bb71f5400970d5247e67e vs edde21d3251b50f0c63eda51d1b7fa8775e2db42fe58f5d418cbff4910a35550
2020-07-02T21:01:26Z CRITICAL Package “systemd-245.6-2.fc32.x86_64” from repository “updates” has incorrect checksum
2020-07-02T21:01:32Z DDEBUG Cleaning up.
2020-07-02T21:01:32Z SUBDEBUG
Traceback (most recent call last):
File “/usr/lib/python3.7/site-packages/dnf/cli/main.py”, line 67, in main
return _main(base, args, cli_class, option_parser_class)
File “/usr/lib/python3.7/site-packages/dnf/cli/main.py”, line 106, in _main
return cli_run(cli, base)
File “/usr/lib/python3.7/site-packages/dnf/cli/main.py”, line 130, in cli_run
ret = resolving(cli, base)
File “/usr/lib/python3.7/site-packages/dnf/cli/main.py”, line 176, in resolving
base.do_transaction(display=displays)
File “/usr/lib/python3.7/site-packages/dnf/cli/cli.py”, line 226, in do_transaction
self.download_packages(install_pkgs, self.output.progress, total_cb)
File “/usr/lib/python3.7/site-packages/dnf/base.py”, line 1137, in download_packages
remote_pkgs, local_pkgs = self._select_remote_pkgs(pkglist)
File “/usr/lib/python3.7/site-packages/dnf/base.py”, line 2519, in _select_remote_pkgs
_('Some packages have invalid cache, but cannot be downloaded due to ’
dnf.exceptions.Error: Some packages have invalid cache, but cannot be downloaded due to “–cacheonly” option
2020-07-02T21:01:32Z CRITICAL Error: Some packages have invalid cache, but cannot be downloaded due to “–cacheonly” option
Let’s not delete that one…
any idea how to proceed further?