Error when trying to download 32 updates

Error running transaction: file /usr/share/config.kcfg/mailtransport.kcfg from install of kmailtransport-24.12.0-1.fc40.x86_64 conflicts with file from package kf5-kmailtransport-23.08.5-3.fc40.x86_64.

Running Fedora 40, 6.11.11-200.fc40.x86_64.
How do I solve this problem?

Please share all the output of dnf command that is failing.

I have the same error when attempting to update. I am also on Fedora 40. What Lars posted was the entirety of the error. DNF downloads the updates and as soon as it starts to install it spits out the error that Lars provided. I tried moving that file (/usr/share/config.kcfg/mailtransport.kcfg) to a temporary folder (in my home folder) but it still complains even though the file is no longer in that directory. I’ve never even used kmail before. I did try opening and closing kmail once just to see if it made a difference but still get the error when attempting to update.

When a conflict in dnf is reported it is listed on more then 1 line of output.
I wish to see the details and not the summary that I cannot debug the issue from.

Here is the complete update.

https://pastebin.com/jWB4nP7b

Unfortunately it exceeded the maximum forum character count of 32,000 characters.

Thanks for the details.

I think its a packaging bug on f40, the same issue does not exist on f41.
But there is small bump in the package version on f41.

f40 - kf5-kmailtransport-23.08.5-3.fc40
f41 - kf5-kmailtransport-23.08.5-5.fc41

I wonder if the maintainer fixed something in the 5 revision?

I think you should raise a bug against kf5-kmailtransport so that the maintainer can take a look at the issue.

Thanks for the info Barry.

Hi. I have exactly this same bug. First part of dnf O/P is
root>dnf update
Fedora 40 - x86_64 - Updates 102 kB/s | 26 kB 00:00
Fedora 40 - x86_64 - Updates 1.3 MB/s | 4.1 MB 00:03
Last metadata expiration check: 0:00:05 ago on Mon 30 Dec 2024 09:07:40 GMT.
Dependencies resolved.

Problem 1: package kreport-3.2.0-12.fc39.x86_64 from @System requires libmarblewidget-qt5.so.28()(64bit), but none of the providers can be installed

  • package marble-widget-qt6-1:24.12.0-1.fc40.x86_64 from updates conflicts with marble-widget-qt5 < 1:24.12.0-1.fc40 provided by marble-widget-qt5-1:24.08.3-1.fc40.x86_64 from @System
  • package marble-widget-qt6-1:24.12.0-1.fc40.x86_64 from updates obsoletes marble-widget-qt5 < 1:24.12.0-1.fc40 provided by marble-widget-qt5-1:24.08.3-1.fc40.x86_64 from @System
  • package marble-widget-qt6-1:24.12.0-1.fc40.x86_64 from updates conflicts with marble-widget-qt5 < 1:24.12.0-1.fc40 provided by marble-widget-qt5-1:24.02.1-1.fc40.x86_64 from fedora
  • package marble-widget-qt6-1:24.12.0-1.fc40.x86_64 from updates obsoletes marble-widget-qt5 < 1:24.12.0-1.fc40 provided by marble-widget-qt5-1:24.02.1-1.fc40.x86_64 from fedora
  • cannot install the best update candidate for package marble-widget-qt5-1:24.08.3-1.fc40.x86_64
  • cannot install the best update candidate for package kreport-3.2.0-12.fc39.x86_64
    Problem 2: problem with installed package kreport-3.2.0-12.fc39.x86_64
  • package kreport-3.2.0-12.fc39.x86_64 from @System requires libmarblewidget-qt5.so.28()(64bit), but none of the providers can be installed
  • package kreport-3.2.0-12.fc39.x86_64 from fedora requires libmarblewidget-qt5.so.28()(64bit), but none of the providers can be installed
  • package marble-widget-qt5-1:24.08.3-1.fc40.x86_64 from @System requires marble-astro(x86-64) = 1:24.08.3-1.fc40, but none of the providers can be installed
  • package marble-widget-qt5-1:24.02.1-1.fc40.x86_64 from fedora requires marble-astro(x86-64) = 1:24.02.1-1.fc40, but none of the providers can be installed
  • cannot install both marble-astro-1:24.12.0-1.fc40.x86_64 from updates and marble-astro-1:24.08.3-1.fc40.x86_64 from @System
  • cannot install both marble-astro-1:24.12.0-1.fc40.x86_64 from updates and marble-astro-1:24.02.1-1.fc40.x86_64 from fedora
  • cannot install the best update candidate for package marble-astro-1:24.08.3-1.fc40.x86_64
    ================================================================================================================
    Package Architecture Version Repository Size
    ================================================================================================================
    Upgrading:
    akonadi-calendar x86_64 24.12.0-1.fc40 updates 845 k
    akonadi-contacts x86_64 24.12.0-1.fc40 updates 632 k
    akonadi-import-wizard x86_64 24.12.0-1.fc40 updates 802 k
    akonadi-mime x86_64 24.12.0-1.fc40 updates 290 k
    akonadi-search x86_64 24.12.0-1.fc40 updates 839 k
    akonadi-server x86_64 24.12.0-1.fc40 updates 3.2 M
    akonadi-server-mysql x86_64 24.12.0-1.fc40 updates 12 k
    akregator x86_64 24.12.0-1.fc40 updates 1.9 M
    akregator-libs x86_64 24.12.0-1.fc40 updates 613 k
    alsa-sof-firmware noarch 2024.09.2-2.fc40 updates 7.7 M
    ark x86_64 24.12.0-1.fc40 updates 1.1 M
    ark-libs x86_64 24.12.0-1.fc40 updates 513 k
    audiocd-kio x86_64 24.12.0-1.fc40 updates 473 k
    audiocd-kio-doc noarch 24.12.0-1.fc40 updates 450 k
    baloo-widgets x86_64 24.12.0-1.fc40 updates 204 k
    c-ares x86_64 1.34.4-1.fc40 updates 116 k
    calendarsupport x86_64 24.12.0-1.fc40 updates 670 k
    calligra-data noarch 24.12.0-1.fc40 updates 19 M
    calligra-karbon x86_64 24.12.0-1.fc40 updates 48 k
    calligra-karbon-libs x86_64 24.12.0-1.fc40 updates 401 k
    calligra-libs x86_64 24.12.0-1.fc40 updates 6.3 M
    calligra-okular-odpgenerator x86_64 24.12.0-1.fc40 updates 41 k
    calligra-okular-odtgenerator x86_64 24.12.0-1.fc40 updates 61 k
    calligra-sheets x86_64 24.12.0-1.fc40 updates 36 k
    calligra-sheets-libs x86_64 24.12.0-1.fc40 updates 3.0 M
    calligra-stage x86_64 24.12.0-1.fc40 updates 39 k
    calligra-stage-libs x86_64 24.12.0-1.fc40 updates 1.2 M
    calligra-words x86_64 24.12.0-1.fc40 updates 36 k
    calligra-words-libs x86_64 24.12.0-1.fc40 updates 1.3 M
    colord-kde x86_64 24.12.0-1.fc40 updates 270 k
    cups-browsed x86_64 1:2.1.0-1.fc40 updates 140 k
    dolphin x86_64 24.12.0.1-1.fc40 updates 4.3 M
    dolphin-libs x86_64 24.12.0.1-1.fc40 updates 637 k
    dolphin-plugins x86_64 24.12.0-1.fc40 updates 630 k
    dragon x86_64 24.12.0-1.fc40 updates 2.0 M
    eventviews x86_64 24.12.0-1.fc40 updates 757 k
    falkon x86_64 24.12.0-1.fc40 updates 3.1 M
    ffmpegthumbs x86_64 24.12.0-1.fc40 updates 51 k
    filelight x86_64 1:24.12.0-1.fc40 updates 833 k
    flatpak x86_64 1.15.91-1.fc40 updates 1.7 M
    flatpak-libs x86_64 1.15.91-1.fc40 updates 431 k
    flatpak-selinux noarch 1.15.91-1.fc40 updates 22 k
    flatpak-session-helper x86_64 1.15.91-1.fc40 updates 42 k
    grantlee-editor x86_64 24.12.0-1.fc40 updates 351 k
    grantlee-editor-libs x86_64 24.12.0-1.fc40 updates 47 k
    grantleetheme x86_64 24.12.0-1.fc40 updates 111 k
    gwenview x86_64 1:24.12.0-1.fc40 updates 6.1 M
    gwenview-libs x86_64 1:24.12.0-1.fc40 updates 589 k
    incidenceeditor x86_64 24.12.0-1.fc40 updates 663 k
    k3b x86_64 1:24.12.0-1.fc40 updates 10 M
    k3b-libs x86_64 1:24.12.0-1.fc40 updates 948 k
    kaccounts-integration-qt5 x86_64 24.12.0-1.fc40 updates 88 k
    kaccounts-integration-qt6 x86_64 24.12.0-1.fc40 updates 202 k
    kaccounts-providers x86_64 24.12.0-1.fc40 updates 129 k
    kaddressbook x86_64 24.12.0-1.fc40 updates 3.2 M
    kaddressbook-libs x86_64 24.12.0-1.fc40 updates 278 k
    kalarm x86_64 24.12.0-1.fc40 updates 3.1 M
    kamera x86_64 24.12.0-1.fc40 updates 257 k
    kamoso x86_64 24.12.0-1.fc40 updates 350 k
    kate x86_64 24.12.0-1.fc40 updates 7.6 M
    kate-libs x86_64 24.12.0-1.fc40 updates 754 k
    kate-plugins x86_64 24.12.0-1.fc40 updates 2.6 M
    kcalc x86_64 24.12.0-1.fc40 updates 782 k
    kcalutils x86_64 24.12.0-1.fc40 updates 360 k
    kcharselect x86_64 24.12.0-1.fc40 updates 500 k
    kcolorchooser x86_64 24.12.0-1.fc40 updates 71 k
    kde-connect x86_64 24.12.0-1.fc40 updates 1.2 M
    kde-connect-libs x86_64 24.12.0-1.fc40 updates 792 k
    kde-inotify-survey x86_64 24.12.0-1.fc40 updates 292 k
    kde-partitionmanager x86_64 24.12.0-1.fc40 updates 2.5 M
    kdebugsettings x86_64 24.12.0-1.fc40 updates 213 k
    kdeconnectd x86_64 24.12.0-1.fc40 updates 32 k
    kdegraphics-mobipocket x86_64 24.12.0-1.fc40 updates 33 k
    kdegraphics-thumbnailers x86_64 24.12.0-1.fc40 updates 76 k
    kdepim-addons x86_64 24.12.0-1.fc40 updates 3.4 M
    kdepim-runtime x86_64 1:24.12.0-1.fc40 updates 3.5 M
    kdepim-runtime-libs x86_64 1:24.12.0-1.fc40 updates 443 k
    kdialog x86_64 24.12.0-1.fc40 updates 204 k
    kdnssd x86_64 24.12.0-1.fc40 updates 108 k
    keditbookmarks x86_64 24.12.0-1.fc40 updates 433 k
    keditbookmarks-libs x86_64 24.12.0-1.fc40 updates 50 k
    kfind x86_64 24.12.0-1.fc40 updates 481 k
    kget x86_64 24.12.0-1.fc40 updates 4.7 M
    kget-libs x86_64 24.12.0-1.fc40 updates 581 k
    kgpg x86_64 24.12.0-1.fc40 updates 3.3 M
    khelpcenter x86_64 1:24.12.0-1.fc40 updates 3.7 M
    kidentitymanagement x86_64 24.12.0-1.fc40 updates 257 k
    kimap x86_64 24.12.0-1.fc40 updates 297 k
    kio-admin x86_64 24.12.0-1.fc40 updates 131 k
    kio-extras x86_64 24.12.0-1.fc40 updates 2.5 M
    kio-extras-info x86_64 24.12.0-1.fc40 updates 35 k
    kio-gdrive x86_64 24.12.0-1.fc40 updates 208 k
    kitinerary x86_64 24.12.0-2.fc40 updates 1.6 M
    kjournald x86_64 24.12.0-1.fc40 updates 120 k
    kjournald-libs x86_64 24.12.0-1.fc40 updates 124 k
    kldap x86_64 24.12.0-1.fc40 updates 269 k
    kmag x86_64 24.12.0-1.fc40 updates 838 k
    kmahjongg x86_64 24.12.0-1.fc40 updates 3.8 M
    kmail x86_64 24.12.0-1.fc40 updates 6.4 M
    kmail-account-wizard x86_64 24.12.0-1.fc40 updates 211 k
    kmail-libs x86_64 24.12.0-1.fc40 updates 1.2 M
    kmailtransport x86_64 24.12.0-1.fc40 updates 315 k
    kmbox x86_64 24.12.0-1.fc40 updates 46 k
    kmime x86_64 24.12.0-1.fc40 updates 179 k
    kmines x86_64 24.12.0-1.fc40 updates 1.2 M
    kmousetool x86_64 24.12.0-1.fc40 updates 291 k
    kmouth x86_64 24.12.0-1.fc40 updates 1.8 M
    kolourpaint x86_64 24.12.0-1.fc40 updates 5.4 M
    kolourpaint-libs x86_64 24.12.0-1.fc40 updates 35 k
    konqueror x86_64 24.12.0-1.fc40 updates 8.3 M
    konqueror-libs x86_64 24.12.0-1.fc40 updates 840 k
    konsole x86_64 24.12.0-1.fc40 updates 1.3 M
    konsole-part x86_64 24.12.0-1.fc40 updates 926 k
    kontact x86_64 24.12.0-1.fc40 updates 765 k
    kontact-libs x86_64 24.12.0-1.fc40 updates 122 k
    kontactinterface x86_64 24.12.0-1.fc40 updates 91 k
    konversation x86_64 24.12.0-1.fc40 updates 5.0 M
    korganizer x86_64 24.12.0-1.fc40 updates 1.9 M
    korganizer-libs x86_64 24.12.0-1.fc40 updates 853 k
    kpat x86_64 24.12.0-1.fc40 updates 3.9 M
    kpimtextedit x86_64 24.12.0-1.fc40 updates 240 k
    kpkpass x86_64 24.12.0-1.fc40 updates 69 k
    kpmcore x86_64 24.12.0-1.fc40 updates 782 k
    krdc x86_64 24.12.0-1.fc40 updates 1.6 M
    krdc-libs x86_64 24.12.0-1.fc40 updates 158 k
    krfb x86_64 24.12.0-1.fc40 updates 1.3 M
    krfb-libs x86_64 24.12.0-1.fc40 updates 89 k
    kruler x86_64 24.12.0-1.fc40 updates 351 k
    ksmtp x86_64 24.12.0-1.fc40 updates 98 k
    ktnef x86_64 24.12.0-1.fc40 updates 169 k
    ktorrent x86_64 24.12.0-1.fc40 updates 2.8 M
    ktorrent-libs x86_64 24.12.0-1.fc40 updates 223 k
    kunifiedpush x86_64 24.12.0-1.fc40 updates 168 k
    kwalletmanager5 x86_64 24.12.0-1.fc40 updates 1.3 M
    kwave x86_64 24.12.0-1.fc40 updates 1.9 M
    kwave-doc noarch 24.12.0-1.fc40 updates 4.1 M
    kwebenginepart x86_64 24.12.0-1.fc40 updates 306 k
    kwrite x86_64 24.12.0-1.fc40 updates 157 k
    libgravatar x86_64 24.12.0-1.fc40 updates 82 k
    libkcddb x86_64 24.12.0-1.fc40 updates 287 k
    libkcddb-doc noarch 24.12.0-1.fc40 updates 341 k
    libkcompactdisc x86_64 24.12.0-1.fc40 updates 108 k
    libkdcraw x86_64 24.12.0-1.fc40 updates 50 k
    libkdegames x86_64 24.12.0-1.fc40 updates 8.8 M
    libkdepim x86_64 24.12.0-1.fc40 updates 130 k
    libkexiv2-qt5 x86_64 24.12.0-1.fc40 updates 137 k
    libkexiv2-qt6 x86_64 24.12.0-1.fc40 updates 159 k
    libkgapi x86_64 24.12.0-1.fc40 updates 618 k
    libkleo x86_64 24.12.0-1.fc40 updates 974 k
    libkmahjongg x86_64 24.12.0-1.fc40 updates 51 k
    libkmahjongg-data noarch 24.12.0-1.fc40 updates 2.1 M
    libksane x86_64 24.12.0-2.fc40 updates 207 k
    replacing libksane-common.x86_64 24.08.3-1.fc40
    replacing libksane-qt5.x86_64 24.08.3-1.fc40
    replacing libksane-qt6.x86_64 24.08.3-1.fc40
    libksieve x86_64 24.12.0-1.fc40 updates 871 k
    libktorrent x86_64 24.12.0-1.fc40 updates 767 k
    libppd x86_64 1:2.1.0-1.fc40 updates 266 k
    libsane-airscan x86_64 0.99.30-1.fc40 updates 137 k
    libxcrypt x86_64 4.4.36-12.fc40 updates 118 k
    libxcrypt-compat x86_64 4.4.36-12.fc40 updates 89 k
    libxcrypt-devel x86_64 4.4.36-12.fc40 updates 28 k
    mailcommon x86_64 24.12.0-1.fc40 updates 927 k
    mailimporter x86_64 24.12.0-1.fc40 updates 295 k
    mailimporter-akonadi x86_64 24.12.0-1.fc40 updates 29 k
    messagelib x86_64 24.12.0-1.fc40 updates 3.0 M
    mozjs115 x86_64 115.18.0-2.fc40 updates 4.6 M
    neochat x86_64 24.12.0-2.fc40 updates 2.1 M
    okular x86_64 24.12.0-1.fc40 updates 4.6 M
    okular-libs x86_64 24.12.0-1.fc40 updates 452 k
    okular-part x86_64 24.12.0-1.fc40 updates 2.3 M
    pim-data-exporter x86_64 24.12.0-1.fc40 updates 404 k
    pim-data-exporter-libs x86_64 24.12.0-1.fc40 updates 208 k
    pim-sieve-editor x86_64 24.12.0-1.fc40 updates 622 k
    pimcommon x86_64 24.12.0-1.fc40 updates 532 k
    python3-boto3 noarch 1.35.86-1.fc40 updates 407 k
    python3-botocore noarch 1.35.86-1.fc40 updates 7.7 M
    sane-airscan x86_64 0.99.30-1.fc40 updates 86 k
    signon-kwallet-extension x86_64 24.12.0-1.fc40 updates 32 k
    skanlite x86_64 24.12.0-1.fc40 updates 2.5 M
    skanpage x86_64 24.12.0-1.fc40 updates 270 k
    spectacle x86_64 24.12.0-1.fc40 updates 2.1 M
    Installing dependencies:
    ksanecore x86_64 24.12.0-2.fc40 updates 123 k
    replacing ksanecore-common.x86_64 24.08.3-1.fc40
    replacing ksanecore-qt5.x86_64 24.08.3-1.fc40
    replacing ksanecore-qt6.x86_64 24.08.3-1.fc40
    Skipping packages with conflicts:
    (add ‘–best --allowerasing’ to command line to force their upgrade):
    marble-astro x86_64 1:24.02.1-1.fc40 fedora 131 k
    marble-astro x86_64 1:24.12.0-1.fc40 updates 119 k
    marble-widget-qt5 x86_64 1:24.02.1-1.fc40 fedora 3.6 M
    marble-widget-qt6 x86_64 1:24.12.0-1.fc40 updates 3.3 M

Transaction Summary

Install 1 Package
Upgrade 179 Packages
Skip 4 Packages

Download then proceeeds to test stage thus

Running transaction check
Transaction check succeeded.
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/config.kcfg/mailtransport.kcfg from install of kmailtransport-24.12.0-1.fc40.x86_64 conflicts with file from package kf5-kmailtransport-23.08.5-3.fc40.x86_64

Hope this helps

I also have the same issue, but after looking deeper, both packages are currently installed on my system:

[root@lh5 ~]# rpm -qi kmailtransport
Name : kmailtransport
Version : 24.08.3
Release : 1.fc40
Architecture: x86_64
Install Date: Fri 15 Nov 2024 04:21:34 PM EST
Group : Unspecified
Size : 1258233
License : BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-or-later
Signature : RSA/SHA256, Thu 07 Nov 2024 06:22:05 AM EST, Key ID 0727707ea15b79cc
Source RPM : kmailtransport-24.08.3-1.fc40.src.rpm
Build Date : Thu 07 Nov 2024 12:03:06 AM EST
Build Host : buildvm-x86-14.iad2.fedoraproject.org
Packager : Fedora Project
Vendor : Fedora Project
URL : Sign in · GitLab
Bug URL : Bug List
Summary : The KMailTransport Library
Description :
The KMailTransport Library.
[root@lh5 ~]# rpm -qi kf5-kmailtransport
Name : kf5-kmailtransport
Version : 23.08.5
Release : 3.fc40
Architecture: x86_64
Install Date: Fri 15 Nov 2024 04:22:23 PM EST
Group : Unspecified
Size : 1100958
License : BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-or-later
Signature : RSA/SHA256, Mon 03 Jun 2024 01:56:38 AM EDT, Key ID 0727707ea15b79cc
Source RPM : kf5-kmailtransport-23.08.5-3.fc40.src.rpm
Build Date : Sun 02 Jun 2024 04:02:02 PM EDT
Build Host : buildhw-x86-02.iad2.fedoraproject.org
Packager : Fedora Project
Vendor : Fedora Project
URL : Sign in · GitLab
Bug URL : Bug List
Summary : The KMailTransport Library
Description :
The KMailTransport Library.

I agree, there seems to be some kind of packaging error. Both of the currently installed packages include the file being complained about:

[root@lh5 ~]# rpm -qil kmailtransport | grep kcfg
/usr/share/config.kcfg/mailtransport.kcfg
[root@lh5 ~]# rpm -qil kf5-kmailtransport | grep kcfg
/usr/share/config.kcfg/mailtransport.kcfg

I just decided to upgrade all the packages and exclude kmailtransport and then I upgraded to f41. As Barry mentioned, the error went away after upgrading to f41.

I am pondering a similar workaround. BUT I use kmail, for which the installed packages seem to be
dnf list installed kmail*
Installed Packages
kmail.x86_64 24.08.3-1.fc40 @updates
kmail-account-wizard.x86_64 24.08.3-1.fc40 @updates
kmail-libs.x86_64 24.08.3-1.fc40 @updates
kmailtransport.x86_64 24.08.3-1.fc40 @updates

So would I be wise to exclude all kmail packages
dnf --exclude=kmail* update
or am I safe excluding only kmail transport
dnf – exclude=kmailtransport update
Thanks