F40 system upgrade from F39 KDE: Transaction error

Hi there,

I had trouble upgrading my system via DNF. I couldn’t find anything related to my issue by searching in this forum for ‘transaction error’ so I am posting my issue and solution here. Feel free to point me to the right place if this shouldn’t be here.

After running

sudo dnf system-upgrade download --releasever=40 --allowerasing --best

I got this error message:

Error: Transaction test error:
  file /usr/bin/akonadi2xml conflicts between attempted installs of kf5-akonadi-server-devel-23.08.5-2.fc40.x86_64 and akonadi-server-24.02.1-1.fc40.x86_64
  file /usr/bin/akonadiselftest conflicts between attempted installs of kf5-akonadi-server-devel-23.08.5-2.fc40.x86_64 and akonadi-server-24.02.1-1.fc40.x86_64
  file /usr/bin/akonaditest conflicts between attempted installs of kf5-akonadi-server-devel-23.08.5-2.fc40.x86_64 and akonadi-server-24.02.1-1.fc40.x86_64
  file /usr/bin/asapcat conflicts between attempted installs of kf5-akonadi-server-devel-23.08.5-2.fc40.x86_64 and akonadi-server-24.02.1-1.fc40.x86_64

I was able to continue the upgrade procedure by uninstalling the package via sudo dnf remove kf5-akonadi-server-devel. Trying to reinstall the package after a successful system upgrade resulted the same transaction error. I don’t know how to solve this and currently I am leaving it as it is because I don’t need those at the moment.

Hope this helps.

Additional info about mentioned packages
$ sudo dnf info kf5-akonadi-server-devel-23.08.5-2.fc40.x86_64
Last metadata expiration check: 0:03:24 ago on Tue 23 Apr 2024 11:30:04 PM CEST.
Available Packages
Name         : kf5-akonadi-server-devel
Version      : 23.08.5
Release      : 2.fc40
Architecture : x86_64
Size         : 419 k
Source       : kf5-akonadi-server-23.08.5-2.fc40.src.rpm
Repository   : fedora
Summary      : Developer files for kf5-akonadi-server
URL          : https://invent.kde.org/frameworks/akonadi-server
License      : BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND
             : MIT
Description  : Developer files for kf5-akonadi-server.

$ sudo dnf info akonadi-server-24.02.1-1.fc40.x86_64
Last metadata expiration check: 0:03:38 ago on Tue 23 Apr 2024 11:30:04 PM CEST.
Installed Packages
Name         : akonadi-server
Version      : 24.02.1
Release      : 1.fc40
Architecture : x86_64
Size         : 10 M
Source       : akonadi-server-24.02.1-1.fc40.src.rpm
Repository   : @System
From repo    : fedora
Summary      : PIM Storage Service
URL          : https://invent.kde.org/frameworks/akonadi
License      : BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Description  : PIM Storage Service.

It appears the version number for the -devel package was not in sync with the version number for the server package on the mirror you were downloading from.
Usually those type errors are temporary and if you wait a day then try again the updates will sync up between the repos and the problem should disappear.

1 Like

You may want to check this, 2276776 – KDE dependency issues upgrade from fc39 to fc40 or file another bug if your issues are not the same.

1 Like