Description of problem: Upgrading to Fedora 31 Beta via DNF System upgrade tool as per Fedora Documentation. Getting CRITICAL ERROR 1):opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/plasma-desktop-5.16.5-1.fc31.x86_64.rpm 2) plasma-desktop-5.16.5-1.fc31.x86_64" from repository "fedora" has incorrect checksum 3) Package "plasma-integration-5.16.5-2.fc31.x86_64" from repository "fedora" has incorrect checksum 4) Package "plasma-lookandfeel-fedora-5.16.5-1.fc31.noarch" from repository "fedora" has incorrect checksum 5) Some other KDE packages also failed see below for full log output. Upgrade halted and system reboots back to Fedora 30 Version-Release number of selected component (if applicable): Upgrading from Fedora 30 to 31 Beta How reproducible: Fedora 30 Fedora 30 testing repositories were enabled. No 3rd party repositories are installed except rpm-fusion Steps to Reproduce: 1.Ran DNF upgrade --refresh reboot tried system upgrade and got checksum errors 2.Ran DNF distro-sync reboot and again got same errors. 3. Disabled testing repositories ran dnf distro-sync rebooted same result. Actual results: Transaction Summary ================================================================================ Install 42 Packages Upgrade 3405 Packages Remove 10 Packages Downgrade 106 Packages Skip 3 Packages 2019-10-15T03:11:24Z INFO Total size: 3.8 G 2019-10-15T03:11:24Z INFO Total download size: 21 M 2019-10-15T03:11:25Z INFO Downloading Packages: 2019-10-15T03:12:30Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/plasma-desktop-5.16.5-1.fc31.x86_64.rpm 2019-10-15T03:12:30Z CRITICAL Package "plasma-desktop-5.16.5-1.fc31.x86_64" from repository "fedora" has incorrect checksum 2019-10-15T03:12:30Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/plasma-integration-5.16.5-2.fc31.x86_64.rpm 2019-10-15T03:12:30Z CRITICAL Package "plasma-integration-5.16.5-2.fc31.x86_64" from repository "fedora" has incorrect checksum 2019-10-15T03:12:30Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/plasma-lookandfeel-fedora-5.16.5-1.fc31.noarch.rpm 2019-10-15T03:12:30Z CRITICAL Package "plasma-lookandfeel-fedora-5.16.5-1.fc31.noarch" from repository "fedora" has incorrect checksum 2019-10-15T03:12:30Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/plasma-workspace-5.16.5-1.fc31.x86_64.rpm 2019-10-15T03:12:30Z CRITICAL Package "plasma-workspace-5.16.5-1.fc31.x86_64" from repository "fedora" has incorrect checksum 2019-10-15T03:12:39Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-3589ee8a7ee1691d/packages/sddm-breeze-5.16.5-1.fc31.noarch.rpm 2019-10-15T03:12:39Z CRITICAL Package "sddm-breeze-5.16.5-1.fc31.noarch" from repository "fedora" has incorrect checksum 2019-10-15T03:12:49Z DDEBUG Cleaning up. 2019-10-15T03:12:49Z SUBDEBUG Expected results: Upgrading to Fedora 31 complete successfully Additional info: screenfetch system info: OS: Fedora 30 Thirty Kernel: x86_64 Linux 5.3.5-200.fc30.x86_64 Uptime: 1h 22m Packages: 3748 Shell: bash 5.0.7 Resolution: 1366x768 XFCE4 WM: Xfwm4 WM Theme: Default GTK Theme: Adwaita-dark [GTK2] Icon Theme: Fedora Font: Sans 10 CPU: Intel Core i5-6200U @ 4x 2.8GHz GPU: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) RAM: 1591MiB / 7868MiB
Most likely this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1754066 Try: "sudo dnf module reset libgit2" then try the upgrade again.
I have tried running the above command and then proceeded with the complete DNF system upgrade. While it appears to solved the issues with the files reported before, a new file appeared with a checksum error. rpmfusion-nonfree-appstream-data-30-1.20181021.fc30.noarch. This of course halted the upgrade. Log copied below. Just a thought, as we have options of --allowerasing and --nogpgcheck maybe consider a way to ignore the error with a message that the "file will not be upgraded or installed, would you like to continue?" As this is clearly not a system critical file this would offer a nice option. Just a thought. Thanks for your help! Transaction Summary ================================================================================ Install 45 Packages Upgrade 3552 Packages Remove 14 Packages Downgrade 24 Packages 2019-10-23T05:09:35Z INFO Total size: 4.0 G 2019-10-23T05:09:35Z INFO Total download size: 62 k 2019-10-23T05:09:35Z INFO Downloading Packages: 2019-10-23T05:09:36Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/rpmfusion-nonfree-c253272f7b309f17/packages/rpmfusion-nonfree-appstream-data-30-1.20181021.fc30.noarch.rpm 2019-10-23T05:09:36Z CRITICAL Package "rpmfusion-nonfree-appstream-data-30-1.20181021.fc30.noarch" from repository "rpmfusion-nonfree" has incorrect checksum 2019-10-23T05:11:04Z DDEBUG Cleaning up.
The rpmfusion issue is very likely duplicate of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1764169 *** This bug has been marked as a duplicate of bug 1764169 ***