"dnf upgrade --refresh" error

OK, trying to update the system to be able to upgrade to F32.

The following error comes up:

Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/share/man/man5/cert8.db.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64
  file /usr/share/man/man5/cert9.db.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64
  file /usr/share/man/man5/key3.db.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64
  file /usr/share/man/man5/key4.db.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64
  file /usr/share/man/man5/pkcs11.txt.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64
  file /usr/share/man/man5/secmod.db.5.gz from install of nss-3.52.0-2.fc31.i686 conflicts with file from package nss-3.51.1-1.fc31.x86_64

Any ideas? At first, it got totally stuck at some point and I did a hard reset, does it have something to do with that?

Any help will be highly appreciated!

OK, I figured out a part of it but I get some other errors now.

I removed the nss.i686 package and it updated the system just fine.

Now, trying to upgrade to F32:

dnf system-upgrade download --releasever=32 --skip-broken 
Before you continue ensure that your system is fully upgraded by running "dnf --refresh upgrade". Do you want to continue [y/N]: y
created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/                                     47 kB/s | 3.3 kB     00:00    
Fedora Modular 32 - x86_64                                                                                                    37 kB/s |  24 kB     00:00    
Fedora Modular 32 - x86_64 - Updates                                                                                          23 kB/s |  11 kB     00:00    
Fedora 32 - x86_64 - Updates                                                                                                  39 kB/s |  21 kB     00:00    
Fedora 32 - x86_64                                                                                                            95 kB/s |  24 kB     00:00    
google-chrome                                                                                                                 18 kB/s | 1.3 kB     00:00    
RPM Fusion for Fedora 32 - Free - Updates                                                                                     52 kB/s | 9.1 kB     00:00    
RPM Fusion for Fedora 32 - Free                                                                                               52 kB/s |  10 kB     00:00    
RPM Fusion for Fedora 32 - Nonfree - Updates                                                                                  67 kB/s | 9.3 kB     00:00    
RPM Fusion for Fedora 32 - Nonfree                                                                                            80 kB/s |  10 kB     00:00    
Visual Studio Code                                                                                                            12 kB/s | 3.0 kB     00:00    
Modular dependency problem:

 Problem: conflicting requests
  - nothing provides module(platform:f31) needed by module gimp:2.10:3120191106095052:f636be4b-0.x86_64
Error: 
 Problem: package php-recode-7.3.18-1.fc31.x86_64 requires php-common(x86-64) = 7.3.18-1.fc31, but none of the providers can be installed
  - php-common-7.3.18-1.fc31.x86_64 does not belong to a distupgrade repository
  - problem with installed package php-recode-7.3.18-1.fc31.x86_64

Any ideas?

For the first, I think you need to run dnf module reset '*' first. For the second, I’ve filed bug 1844655.

I managed to upgrade to F32 with

dnf system-upgrade download --refresh --allowerasing --releasever=32

There’s an issue with PHP 7.4.6, otherwise everything seems to be OK.