Package does not verify: Payload SHA256 digest: BAD

I was following the solution for this issue

This is my cmd history

[giuliohome@myfedora ~]$ sudo rm -rf /usr/share/dotnet
[giuliohome@myfedora ~]$ sudo rm -rf /usr/bin/dotnet
[giuliohome@myfedora ~]$ sudo rm -rf /etc/yum.repos.d/microsoft-prod.repo
[giuliohome@myfedora ~]$ sudo dnf clean all
79 files removed
[giuliohome@myfedora ~]$ sudo dnf upgrade
Adobe Systems Incorporated                      2.7 kB/s | 1.9 kB     00:00    
Fedora 32 openh264 (From Cisco) - x86_64        2.1 kB/s | 5.1 kB     00:02    
Fedora Modular 32 - x86_64                      1.0 MB/s | 4.9 MB     00:05    
Fedora Modular 32 - x86_64 - Updates            1.0 MB/s | 3.7 MB     00:03    
Fedora 32 - x86_64 - Updates                    1.7 MB/s |  22 MB     00:13    
Fedora 32 - x86_64                              2.0 MB/s |  70 MB     00:35    
RPM Fusion for Fedora 32 - Free - Updates       275 kB/s | 630 kB     00:02    
RPM Fusion for Fedora 32 - Free                 430 kB/s | 679 kB     00:01    
RPM Fusion for Fedora 32 - Nonfree - Updates    110 kB/s | 139 kB     00:01    
RPM Fusion for Fedora 32 - Nonfree              190 kB/s | 225 kB     00:01    
Dependencies resolved.
================================================================================
 Package                        Arch   Version                   Repo      Size
================================================================================
Installing:
 kernel                         x86_64 5.8.7-200.fc32            updates   25 k
 kernel-core                    x86_64 5.8.7-200.fc32            updates   33 M
 kernel-devel                   x86_64 5.8.7-200.fc32            updates   13 M
 kernel-modules                 x86_64 5.8.7-200.fc32            updates   30 M
 kernel-modules-extra           x86_64 5.8.7-200.fc32            updates  2.0 M
Upgrading:
 ImageMagick-c++                x86_64 1:6.9.11.27-1.fc32        updates  185 k
 ImageMagick-libs               x86_64 1:6.9.11.27-1.fc32        updates  2.3 M
 LibRaw                         x86_64 0.19.5-4.fc32             updates  320 k
 NetworkManager

 vim-minimal                    x86_64 2:8.2.1551-1.fc32         updates  664 k
 virtualbox-guest-additions     x86_64 6.1.12-1.fc32             updates  1.4 M
 webkit2gtk3                    x86_64 2.28.4-3.fc32             updates   15 M
 webkit2gtk3-devel              x86_64 2.28.4-3.fc32             updates  289 k
 webkit2gtk3-jsc                x86_64 2.28.4-3.fc32             updates  6.0 M
 webkit2gtk3-jsc-devel          x86_64 2.28.4-3.fc32             updates  138 k
 wkhtmltopdf                    x86_64 0.12.6-1.fc32             updates  207 k
 xxhash-libs                    x86_64 0.8.0-1.fc32              updates   41 k
Installing dependencies:
 libsane-airscan                x86_64 0.99.16-1.fc32            updates  119 k
 nodejs-packaging               noarch 25-1.fc32                 updates   20 k
Removing:
 kernel                         x86_64 5.6.15-200.fc31           @updates   0  
 kernel-core                    x86_64 5.6.15-200.fc31           @updates  72 M
 kernel-devel                   x86_64 5.6.15-200.fc31           @updates  50 M
 kernel-modules                 x86_64 5.6.15-200.fc31           @updates  28 M
 kernel-modules-extra           x86_64 5.6.15-200.fc31           @updates 1.9 M
Removing dependent packages:
 kmod-wl-5.6.15-200.fc31.x86_64 x86_64 6.30.223.271-32.fc31      @@commandline
                                                                          7.2 M
 python2-pip                    noarch 19.1.1-8.fc31             @updates 8.6 M

Transaction Summary
================================================================================
Install    7 Packages
Upgrade  410 Packages
Remove     7 Packages

Total download size: 975 M
Is this ok [y/N]: y
Downloading Packages:
(1/417): elfutils-libelf-devel-0.179-2.fc32_0.1  29 kB/s |  14 kB     00:00    
(2/417): elfutils-libelf-0.179-2.fc32_0.181-1.f  78 kB/s |  39 kB     00:00    
(3/417): elfutils-libs-0.179-2.fc32_0.181-1.fc3 118 kB/s |  61 kB     00:00    
(4/417): libwacom-1.4.1-1.fc32_1.5-1.fc32.x86_6 163 kB/s |  15 kB     00:00    
(5/417): libwacom-data-1.4.1-1.fc32_1.5-1.fc32. 403 kB/s |  55 kB     00:00    
(6/417): open-vm-tools-desktop-11.1.0-2.fc32_11 443 kB/s |  49 kB     00:00    
(7/417): simple-scan-3.36.4-1.fc32_3.36.6-1.fc3 469 kB/s | 246 kB     00:00  

(414/417): libde265-1.0.6-1.fc32.x86_64.rpm        139 kB/s | 329 kB     00:02    
(415/417): rpmfusion-free-appstream-data-32-4.fc32 141 kB/s | 429 kB     00:03    
(416/417): webkit2gtk3-2.28.4-3.fc32.x86_64.rpm    1.3 MB/s |  15 MB     00:11    
(417/417): webkit2gtk3-jsc-2.28.4-3.fc32.x86_64.rp 658 kB/s | 6.0 MB     00:09    
[DRPM 7/9] simple-scan-3.36.4-1.fc32_3.36.6-1.fc32.x86_64.drpm: done              
[DRPM 8/9] open-vm-tools-11.1.0-2.fc32_11.1.5-1.fc32.x86_64.drpm: done            
[DRPM 9/9] gnome-software-3.36.1-1.fc32_3.36.1-2.fc32.x86_64.drpm: done           
-----------------------------------------------------------------------------------
Total                                              2.1 MB/s | 966 MB     07:34     
Delta RPMs reduced 974.9 MB of updates to 966.3 MB (0.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                           1/1 
Transaction couldn't start:
package libreoffice-core-1:6.4.6.2-2.fc32.x86_64 does not verify: Payload SHA256 digest: BAD (Expected f6395c2a3af05301a22dd15cb164bf3115f0119d2fc90608e63c911a9e578e96 != e356920f7313792294b7b3d04e9afca4f95ad41d63854389a0b8bc1054729cae)
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Could not run transaction.
1 Like

Try again and see if you can reproduce the issue:

sudo dnf clean all
sudo dnf --refresh upgrade
2 Likes

I’m already in the middle of a simple retry

[giuliohome@myfedora ~]$ sudo dnf clean packages
417 files removed
[giuliohome@myfedora ~]$ sudo dnf upgrade


If either my simple retry or yours above (the only differences are the options all in the first line and --refresh in the second) will work, I will mark your reply as the answer, otherwise I’ll get back here to ask further support… thanks in the meantime

1 Like

This issue can be the result of an incomplete download due to temporary network or mirror-related problems such as packet loss.

1 Like

My simple retry went ok.
I’m still having an issue with dotnet. Should I open another question under “using fedora” or can I keep going here?
Anyway this is what I see after the successful upgrade and reboot

[giuliohome@myfedora ~]$ dotnet --info
bash: dotnet: command not found...
Install package 'dotnet-host' to provide command 'dotnet'? [N/y] y


 * Waiting in queue... Failed to install packages: higher version "3.1.6-1.fc32" of package dotnet-host.x86_64 is already installed
1 Like

Yep, it’s best to open another thread as the issue doesn’t seem to be related with the current one.

2 Likes

yeah, it is unrelated, but never mind, I’ve solved the dotnet problem by following this reasoning.

Thank you again for your help in the upgrade!

This is a great community, every time I find the right support for Fedora

1 Like