Dnf conflict after upgrade to F41; impossible to upgrade

             .',;::::;,'.                
         .';:cccccccccccc:;,.            --------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 41 (Workstation Edition) x86_64 
    .:cccccccccccccccccccccccccc:.       Kernel: 6.6.64-200.fc41.x86_64 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Uptime: 9 mins 
^R:ccccccccccccc;OWMKOOXMWd;ccccccc:.
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 3599 (rpm), 35 (flatpak), 11 (snap) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.32 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 1920x1080, 1920x1080 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: Cinnamon 6.2.9 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: Mutter (Muffin) 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   WM Theme: Mint-Y-Dark-Blue (Adwaita) 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Theme: Mint-Y-Dark-Blue [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Icons: Mint-Y-Blue [GTK2/3] 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal: gnome-terminal 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: AMD A10-7850K Radeon R7 4C+8G (4) @ 3.700GHz 
:cccccccccccccccccccccccccccc:'.         GPU: AMD ATI Radeon R7 Graphics 
.:cccccccccccccccccccccc:;,..            Memory: 3986MiB / 31022MiB 
  '::cccccccccccccc::;,.
                                                                 
                                                                 


$ LANG=C sudo dnf --refresh upgrade
Updating and loading repositories:
 Dangerzone repository                                                                                                  100% |  14.3 KiB/s |   3.0 KiB |  00m00s
 Fedora 41 openh264 (From Cisco) - x86_64                                                                               100% |   4.6 KiB/s | 989.0   B |  00m00s
 RPM Fusion for Fedora 41 – Nonfree – Steam                                                                         100% |  10.5 KiB/s |   7.8 KiB |  00m01s
 Copr repo for palemoon owned by bgstack15                                                                              100% |   5.3 KiB/s |   1.5 KiB |  00m00s
 vivaldi                                                                                                                100% |  25.3 KiB/s |   3.0 KiB |  00m00s
 RPM Fusion for Fedora 41 - Nonfree - Updates                                                                           100% |  17.2 KiB/s |   7.8 KiB |  00m00s
 RPM Fusion for Fedora 41 - Free - Updates                                                                              100% | 127.1 KiB/s |   7.2 KiB |  00m00s
 Brave Browser                                                                                                          100% |  13.1 KiB/s |   2.0 KiB |  00m00s
 Copr repo for kernel-longterm-6.6 owned by kwizart                                                                     100% |  11.1 KiB/s |   1.5 KiB |  00m00s
 RPM Fusion for Fedora 41 - Nonfree                                                                                     100% |  18.5 KiB/s |   8.5 KiB |  00m00s
 Fedora 41 - x86_64 - Updates                                                                                           100% | 188.6 KiB/s |  26.8 KiB |  00m00s
 Fedora 41 - x86_64                                                                                                     100% |  82.8 KiB/s |  31.3 KiB |  00m00s
 Copr repo for PyCharm owned by phracek                                                                                 100% |  14.0 KiB/s |   1.8 KiB |  00m00s
 RPM Fusion for Fedora 41 - Free                                                                                        100% | 118.7 KiB/s |   7.8 KiB |  00m00s
 Copr repo for better_fonts owned by chriscowleyunix                                                                    100% |  11.3 KiB/s |   1.5 KiB |  00m00s
 Copr repo for preload owned by elxreno                                                                                 100% |  11.5 KiB/s |   1.5 KiB |  00m00s
Repositories loaded.
Problem 1: installed package libcurl-minimal-8.9.1-2.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package dnf5-plugin-automatic-5.2.8.1-1.fc41.x86_64 from updates requires libcurl-full(x86-64), but none of the providers can be installed
  - cannot install the best update candidate for package libcurl-minimal-8.9.1-2.fc41.x86_64
  - cannot install the best update candidate for package dnf-automatic-4.21.1-1.fc41.noarch
 Problem 2: libcurl-minimal-8.9.1-2.fc41.i686 from @System has inferior architecture
  - installed package libcurl-minimal-8.9.1-2.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package libcurl-minimal-8.9.1-2.fc41.x86_64 from fedora conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package dnf5-plugin-automatic-5.2.8.1-1.fc41.x86_64 from updates requires libcurl-full(x86-64), but none of the providers can be installed
  - problem with installed package
  - installed package dnf-automatic-4.21.1-1.fc41.noarch requires python3-dnf = 4.21.1-1.fc41, but none of the providers can be installed
  - package dnf-automatic-4.21.1-1.fc41.noarch from fedora requires python3-dnf = 4.21.1-1.fc41, but none of the providers can be installed
  - package dnf5-plugin-automatic-5.2.6.2-1.fc41.x86_64 from fedora requires dnf5(x86-64) = 5.2.6.2-1.fc41, but none of the providers can be installed
  - cannot install both python3-dnf-4.22.0-1.fc41.noarch from updates and python3-dnf-4.21.1-1.fc41.noarch from @System
  - cannot install both python3-dnf-4.21.1-1.fc41.noarch from fedora and python3-dnf-4.22.0-1.fc41.noarch from updates
  - cannot install both dnf5-5.2.6.2-1.fc41.x86_64 from fedora and dnf5-5.2.8.1-1.fc41.x86_64 from @System
  - cannot install the best update candidate for package python3-dnf-4.21.1-1.fc41.noarch
  - cannot install the best update candidate for package libcurl-minimal-8.9.1-2.fc41.i686
  - cannot install the best update candidate for package dnf5-5.2.8.1-1.fc41.x86_64

Package                                               Arch         Version                                               Repository                         Size
Skipping packages with conflicts:
 python3-dnf                                          noarch       4.22.0-1.fc41                                         updates                         2.6 MiB
 dnf5                                                 x86_64       5.2.6.2-1.fc41                                        fedora                          1.6 MiB
 libcurl                                              x86_64       8.9.1-2.fc41                                          fedora                        818.1 KiB
Skipping packages with broken dependencies:
 dnf5-plugin-automatic                                x86_64       5.2.8.1-1.fc41                                        updates                       173.2 KiB
 dnf-automatic                                        noarch       4.21.1-1.fc41                                         fedora                         76.6 KiB
 dnf5-plugin-automatic                                x86_64       5.2.6.2-1.fc41                                        fedora                        178.4 KiB

Nothing to do.

Try the upgrade in stages and possibly add the --allowerasing option.
I would first remove libcurl, then try the full upgrade again.

Note what I have installed from curl below. I last did a clean installation with the release of f39 and have since upgraded to both f40 and f41 as they were released.

# dnf list --installed *curl*
Installed packages
curl.x86_64               8.9.1-2.fc41   fedora
libcurl-devel.x86_64      8.9.1-2.fc41   fedora
libcurl-minimal.i686      8.9.1-2.fc41   fedora
libcurl-minimal.x86_64    8.9.1-2.fc41   fedora
nbdkit-curl-plugin.x86_64 1.40.4-1.fc41  fedora
qemu-block-curl.x86_64    2:9.1.2-2.fc41 updates

I suspect that since libcurl-minimal is conflicting with libcurl (and since I do not have libcurl) you can probably eliminate the conflict by removing libcurl and only have libcurl-minimal remaining

Hi, thanks for your help. That’s precisely what I did and I have the same files installed as yourself.

$ LANG=C dnf list installed *curl*
Updating and loading repositories:
Repositories loaded.
Installed packages
curl.x86_64                                        8.9.1-2.fc41     fedora
libcurl-minimal.i686                               8.9.1-2.fc41     fedora
libcurl-minimal.x86_64                             8.9.1-2.fc41     fedora
nbdkit-curl-plugin.x86_64                          1.40.4-1.fc41    fedora
python3-pycurl.x86_64                              7.45.3-4.fc41    fedora
qemu-block-curl.x86_64                             2:9.1.2-2.fc41   updates

$ sudo dnf upgrade --refresh
$ sudo dnf system-upgrade download --releasever=41 --allowerasing
$ sudo dnf system-upgrade reboot

The problem looks like the conflicting package is available from 2 sources (updates and @system). I don’t have libcurl currently installed.

After removing the conflicting libcurl-minimal, I was able to install the remaining packages, but cannot re-install libcurl-minimal… Libcurl (full) seems to be required by dnf5.

$ sudo dnf install --best python3-dnf --allowerasing
Mise à jour et chargement des dépôts :
Dépôts chargés.
Le paquet "python3-dnf-4.21.1-1.fc41.noarch" est déjà installé.

Paquet                                               Architecture      Version                                              Dépôt                         Taille
Suppression des paquets dépendants :
 libcurl-minimal                                     i686              8.9.1-2.fc41                                         fedora                     663.8 KiB
 libcurl-minimal                                     x86_64            8.9.1-2.fc41                                         fedora                     647.7 KiB
Mise à jour de :
 dnf-data                                            noarch            4.22.0-1.fc41                                        updates                     38.6 KiB
   remplacement de dnf-data                          noarch            4.21.1-1.fc41                                        fedora                      38.3 KiB
 python3-dnf                                         noarch            4.22.0-1.fc41                                        updates                      2.6 MiB
   remplacement de python3-dnf                       noarch            4.21.1-1.fc41                                        fedora                       2.6 MiB
Installation de :
 dnf5-plugin-automatic                               x86_64            5.2.8.1-1.fc41                                       updates                    173.2 KiB
   remplacement de dnf-automatic                     noarch            4.21.1-1.fc41                                        fedora                      76.6 KiB
Installation des dépendances :
 cyrus-sasl-lib                                      i686              2.1.28-27.fc41                                       fedora                       2.5 MiB
 gdbm-libs                                           i686              1:1.23-7.fc41                                        fedora                     124.6 KiB
 libcurl                                             i686              8.9.1-2.fc41                                         fedora                     846.1 KiB
 libcurl                                             x86_64            8.9.1-2.fc41                                         fedora                     818.1 KiB
 libssh                                              i686              0.10.6-8.fc41                                        fedora                     547.3 KiB
 openldap                                            i686              2.6.8-6.fc41                                         updates                    664.2 KiB

Résumé de la transaction :
 Installation :      7 paquets
 Mise à jour :       2 paquets
 Remplacement :      3 paquets
 Suppression :       2 paquets

La taille totale des paquets entrants est de 3 MiB. Un téléchargement de 3 MiB est nécessaire.
Après cette opération, 4 MiB supplémentaires seront utilisés (+8 MiB, -4 MiB).
Is this ok [Y/n]: 
[1/9] dnf-data-0:4.22.0-1.fc41.noarch                                                                                   100% | 555.7 KiB/s |  40.0 KiB |  00m00s
[2/9] gdbm-libs-1:1.23-7.fc41.i686                                                                                      100% | 604.0 KiB/s |  59.8 KiB |  00m00s
[3/9] libssh-0:0.10.6-8.fc41.i686                                                                                       100% |   1.7 MiB/s | 226.7 KiB |  00m00s
[4/9] python3-dnf-0:4.22.0-1.fc41.noarch                                                                                100% |   4.3 MiB/s | 627.4 KiB |  00m00s
[5/9] libcurl-0:8.9.1-2.fc41.x86_64                                                                                     100% |   2.3 MiB/s | 361.9 KiB |  00m00s
[6/9] openldap-0:2.6.8-6.fc41.i686                                                                                      100% |   1.6 MiB/s | 259.4 KiB |  00m00s
[7/9] dnf5-plugin-automatic-0:5.2.8.1-1.fc41.x86_64                                                                     100% | 799.7 KiB/s | 133.5 KiB |  00m00s
[8/9] libcurl-0:8.9.1-2.fc41.i686                                                                                       100% |   2.2 MiB/s | 389.6 KiB |  00m00s
[9/9] cyrus-sasl-lib-0:2.1.28-27.fc41.i686                                                                              100% |   4.5 MiB/s | 860.0 KiB |  00m00s
----------------------------------------------------------------------------------------------------------------------------------------------------------------
[9/9] Total                                                                                                             100% |   2.4 MiB/s |   2.9 MiB |  00m01s
Exécution de la transaction
[ 1/16] Vérifier les fichiers des paquets                                                                              100% | 219.0   B/s |   9.0   B |  00m00s
[ 2/16] Préparer la transaction                                                                                        100% |  10.0   B/s |  14.0   B |  00m01s
[ 3/16] Mise à jour de dnf-data-0:4.22.0-1.fc41.noarch                                                                 100% |   1.7 MiB/s |  40.6 KiB |  00m00s
[ 4/16] Installation de libcurl-0:8.9.1-2.fc41.x86_64                                                                   100% |  30.8 MiB/s | 819.2 KiB |  00m00s
[ 5/16] Installation de gdbm-libs-1:1.23-7.fc41.i686                                                                    100% |  10.3 MiB/s | 126.3 KiB |  00m00s
[ 6/16] Installation de cyrus-sasl-lib-0:2.1.28-27.fc41.i686                                                            100% |  73.0 MiB/s |   2.5 MiB |  00m00s
[ 7/16] Installation de openldap-0:2.6.8-6.fc41.i686                                                                    100% |  27.2 MiB/s | 668.0 KiB |  00m00s
[ 8/16] Installation de libssh-0:0.10.6-8.fc41.i686                                                                     100% |  21.5 MiB/s | 549.4 KiB |  00m00s
[ 9/16] Installation de dnf5-plugin-automatic-0:5.2.8.1-1.fc41.x86_64                                                   100% |  10.7 MiB/s | 175.3 KiB |  00m00s
[10/16] Mise à jour de python3-dnf-0:4.22.0-1.fc41.noarch                                                              100% |  21.8 MiB/s |   2.7 MiB |  00m00s
[11/16] Installation de libcurl-0:8.9.1-2.fc41.i686                                                                     100% |   8.0 MiB/s | 847.2 KiB |  00m00s
[12/16] Suppression de dnf-automatic-0:4.21.1-1.fc41.noarch                                                             100% | 666.0   B/s |  22.0   B |  00m00s
[13/16] Suppression de python3-dnf-0:4.21.1-1.fc41.noarch                                                               100% |  20.7 KiB/s | 275.0   B |  00m00s
[14/16] Suppression de dnf-data-0:4.21.1-1.fc41.noarch                                                                  100% |   3.2 KiB/s |  23.0   B |  00m00s
[15/16] Suppression de libcurl-minimal-0:8.9.1-2.fc41.i686                                                              100% | 777.0   B/s |   7.0   B |  00m00s
[16/16] Suppression de libcurl-minimal-0:8.9.1-2.fc41.x86_64                                                            100% |   1.0   B/s |   7.0   B |  00m04s
Terminé !
shizuma@shizuma:~$ sudo dnf install --best libcurl-minimal
Mise à jour et chargement des dépôts :
Dépôts chargés.
Échec de la résolution de la transaction:
Problème : problème avec le paquet installé
  - le paquet installé libcurl-8.9.1-2.fc41.x86_64 entre en conflit avec libcurl(x86-64), fourni par libcurl-minimal-8.9.1-2.fc41.x86_64 de fedora
  - le paquet libcurl-minimal-8.9.1-2.fc41.x86_64 de fedora entre en conflit avec libcurl(x86-64), fourni par libcurl-8.9.1-2.fc41.x86_64 de fedora
  - impossible d'installer le meilleur candidat pour la tâche
Vous pouvez essayer d'ajouter à la ligne de commande :
  --no-best pour ne pas limiter la transaction aux meilleurs candidats
  --allowerasing pour autoriser la suppression de paquets installés dans le but de résoudre des problèmes
  --skip-broken pour passer les paquets impossibles à installer

$ LANG=C sudo dnf upgrade
Updating and loading repositories:
Repositories loaded.
Nothing to do.

Might be solved. Unclear. Future will tell…

Those lists are different.

Dnf5 does not seem to require libcurl. My system only has libcurl-minimal and uses dnf5.

As noted above, the conflict seems to be between libcurl and libcurl-minimal.

# dnf list libcurl*
Updating and loading repositories:
Repositories loaded.
Installed packages
libcurl-devel.x86_64   8.9.1-2.fc41 fedora
libcurl-minimal.i686   8.9.1-2.fc41 fedora
libcurl-minimal.x86_64 8.9.1-2.fc41 fedora

Available packages
libcurl.i686           8.9.1-2.fc41 fedora
libcurl.x86_64         8.9.1-2.fc41 fedora
libcurl-devel.i686     8.9.1-2.fc41 fedora

The error you see is clear

# dnf install libcurl
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: problem with installed package
  - installed package libcurl-minimal-8.9.1-2.fc41.i686 conflicts with libcurl(x86-32) provided by libcurl-8.9.1-2.fc41.i686 from fedora
  - package libcurl-minimal-8.9.1-2.fc41.i686 from fedora conflicts with libcurl(x86-32) provided by libcurl-8.9.1-2.fc41.i686 from fedora
  - conflicting requests
  - problem with installed package
  - installed package libcurl-minimal-8.9.1-2.fc41.x86_64 conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
  - package libcurl-minimal-8.9.1-2.fc41.x86_64 from fedora conflicts with libcurl(x86-64) provided by libcurl-8.9.1-2.fc41.x86_64 from fedora
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems
  --skip-broken to skip uninstallable packages

Apparently you can have one or the other but not both those packages installed.

IIRC, dnf-automatic for dnf4 becomes dnf5-plugin-automatic with dnf5.

Based on the errors, I would remove dnf-automatic before retrying the system-upgrade.

dnf-automatic for dnf4 becomes dnf5-plugin-automatic with dnf5

Thanks, it seems it was already removed by the installation. I still have some dnf 4 packages. Haven’t got rid of the obsolete packages yet. Was very busy getting sound working again.

$ dnf list installed dnf*
Mise à jour et chargement des dépôts :
Dépôts chargés.
Paquets installés
dnf-data.noarch              4.22.0-1.fc41  updates
dnf-plugins-core.noarch      4.10.0-1.fc41  updates
dnf-utils.noarch             4.10.0-1.fc41  updates
dnf5.x86_64                  5.2.8.1-1.fc41 updates
dnf5-plugin-automatic.x86_64 5.2.8.1-1.fc41 updates
dnf5-plugins.x86_64          5.2.8.1-1.fc41 updates