Dnf tries to install updates for fedora 42 on fedora 43

, ,

I did an upgrade to fedora 43 through discover and everything seemed to be fine. Even after a few day updates through discover were working just fine. However today I wanted to update though the terminal and noticed that it was downloading from Fedora 42 repositories and replacing some (but not all) fedora 43 packages with 42 packages as “updates”. I ran dnf list --installed and saw that there are a lot of programs that have both fedora 42 and 43 packages installed at the same time?

Here is a part of the output
systemd.x86_64 257.10-1.fc42 updates systemd.x86_64 258.4-1.fc43 <unknown> systemd-container.x86_64 258.4-1.fc43 <unknown> systemd-libs.i686 257.10-1.fc42 updates systemd-libs.x86_64 257.10-1.fc42 updates systemd-libs.i686 258.4-1.fc43 <unknown> systemd-libs.x86_64 258.4-1.fc43 <unknown> systemd-networkd.x86_64 258.4-1.fc43 <unknown> systemd-oomd-defaults.noarch 257.10-1.fc42 updates systemd-oomd-defaults.noarch 258.4-1.fc43 <unknown> systemd-pam.x86_64 257.10-1.fc42 updates systemd-pam.x86_64 258.4-1.fc43 <unknown> systemd-resolved.x86_64 257.10-1.fc42 updates systemd-resolved.x86_64 258.4-1.fc43 <unknown> systemd-rpm-macros.noarch 257.10-1.fc42 updates systemd-rpm-macros.noarch 258.4-1.fc43 <unknown> systemd-shared.x86_64 257.10-1.fc42 updates systemd-shared.x86_64 258.4-1.fc43 <unknown> systemd-sysusers.x86_64 257.10-1.fc42 updates systemd-sysusers.x86_64 258.4-1.fc43 <unknown> systemd-udev.x86_64 257.10-1.fc42 updates systemd-udev.x86_64 258.4-1.fc43 <unknown> systemtap-sdt-devel.x86_64 5.4-1.fc43 <unknown> systemtap-sdt-dtrace.x86_64 5.4-1.fc43 <unknown> taglib.x86_64 1.13.1-2.fc42 781e4eb56ba449a5876af2cc084d758e taglib.x86_64 1.13.1-6.fc43 <unknown> tar.x86_64 2:1.35-5.fc42 781e4eb56ba449a5876af2cc084d758e tar.x86_64 2:1.35-6.fc43 <unknown> tbb.x86_64 2022.2.0-2.fc43 <unknown> tcl.x86_64 1:9.0.0-7.fc42 781e4eb56ba449a5876af2cc084d758e tcl.x86_64 1:9.0.2-1.fc43 <unknown> tcl8.x86_64 1:8.6.15-10.fc42 781e4eb56ba449a5876af2cc084d758e tcl8.x86_64 1:8.6.16-2.fc43 <unknown> tcpdump.x86_64 14:4.99.6-2.fc43 <unknown> teamd.x86_64 1.32-11.fc42 781e4eb56ba449a5876af2cc084d758e teamd.x86_64 1.32-12.fc43 <unknown> tecla.x86_64 48.0.2-1.fc42 <unknown> tecla.x86_64 49.0-1.fc43 <unknown> tesseract.x86_64 5.5.2-1.fc43 <unknown> tesseract-common.noarch 5.5.0-5.fc42 updates tesseract-common.noarch 5.5.2-1.fc43 <unknown>

Updates from discover do seem to be polling correct updates for fedora 43.
I tried running the command for the upgrade to fedora 43 in the terminal to see if that would fix it but it gives me some dependency issue

sudo dnf system-upgrade download --releasever=43
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Package "rpmfusion-nonfree-release-42-1.noarch" is already installed.
Package "rpmfusion-nonfree-release-43-1.noarch" is already installed.
Package "rpmfusion-free-release-42-1.noarch" is already installed.
Package "rpmfusion-free-release-43-1.noarch" is already installed.
Package "qcom-wwan-firmware-20260110-1.fc42.noarch" is already installed.
Package "qcom-wwan-firmware-20260110-1.fc43.noarch" is already installed.
Packages for argument 'nvidia-gpu-firmware' available, but not installed.
Packages for argument 'kcalc' available, but not installed.
Package "fedora-flathub-remote-1-10.fc42.noarch" is already installed.
Package "fedora-flathub-remote-1-11.fc43.noarch" is already installed.
Package "fedora-workstation-repositories-38-8.fc43.x86_64" is already installed.
Package "aurorae-6.6.1-1.fc43.x86_64" is already installed.
Package "kunifiedpush-25.12.2-2.fc43.x86_64" is already installed.
Packages for argument 'vlc-plugin-gstreamer' available, but not installed.
Packages for argument 'dragon' available, but not installed.
Packages for argument 'akregator' available, but not installed.
Packages for argument 'gstreamer1-plugins-good' available, but not installed.
Packages for argument 'vlc-plugins-freeworld' available, but not installed.
Problem: problem with installed package
  - package knighttime-6.6.1-1.fc43.x86_64 from updates requires libQt6Core.so.6(Qt_6.10)(64bit), but none of the providers can be installed
  - installed package knighttime-6.6.1-1.fc43.x86_64 requires libQt6Core.so.6(Qt_6.10)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-6.9.2-1.fc43.x86_64 from fedora and qt6-qtbase-6.10.2-2.fc43.x86_64 from @System
  - cannot install both qt6-qtbase-6.9.2-1.fc43.x86_64 from fedora and qt6-qtbase-6.10.2-2.fc43.x86_64 from updates
  - package powerdevil-6.4.5-1.fc43.x86_64 from fedora requires libQt6Core.so.6(Qt_6.9_PRIVATE_API)(64bit), but none of the providers can be installed
  - problem with installed package
  - package powerdevil-6.6.1-1.fc43.x86_64 from updates requires libPlasma.so.7()(64bit), but none of the providers can be installed
  - cannot install both libplasma-6.4.5-1.fc43.x86_64 from fedora and libplasma-6.6.1-1.fc43.x86_64 from updates
  - problem with installed package
  - package syncthingplasmoid-qt6-2.0.7-2.1.x86_64 from home_mkittler requires libPlasma.so.6()(64bit), but none of the providers can be installed
  - package syncthingplasmoid-qt6-1.7.6-1.1.x86_64 from home_mkittler requires libPlasma.so.6()(64bit), but none of the providers can be installed
  - installed package syncthingplasmoid-qt6-2.0.7-2.1.x86_64 requires libPlasma.so.6()(64bit), but none of the providers can be installed
  - libplasma-6.6.0-1.fc43.x86_64 does not belong to a distupgrade repository
  - libplasma-6.6.0-1.fc42.x86_64 does not belong to a distupgrade repository
  - qt6-qtbase-6.10.2-2.fc42.x86_64 does not belong to a distupgrade repository
  - powerdevil-6.6.0-1.fc43.x86_64 does not belong to a distupgrade repository

Try the command sudo dnf distro-sync --releasever=43 --refresh --allowerasing and see of that solves this particular issue.

Also note that there are packages installed from non-fedora locations (syncthingplasmoid-qt6) that seem to be causing issues as well and it may be necessary to remove those in order to upgrade.

Those messages seem to indicate that a prior attempt to upgrade from 42 to 43 may have been incomplete and you now need to repair it.

Thanks for the quick reply. I uninstalled syncthingplasmoid-qt6 and tried running sudo dnf distro-sync --releasever=43 --refresh --allowerasing but unfortunatelly it didn’t work.

sudo dnf distro-sync --releasever=43 --refresh --allowerasing
Updating and loading repositories:
 download.vscodium.com                                                                                                    100% | 749.0   B/s | 833.0   B |  00m01s
 RPM Fusion for Fedora 43 - Nonfree                                                                                       100% |   1.6 KiB/s |   9.0 KiB |  00m06s
 RPM Fusion for Fedora 43 - Nonfree - Updates                                                                             100% |   1.6 KiB/s |   8.9 KiB |  00m06s
 RPM Fusion for Fedora 43 - Nonfree - Steam                                                                               100% |   1.6 KiB/s |   8.3 KiB |  00m05s
 RPM Fusion for Fedora 43 - Nonfree - NVIDIA Driver                                                                       100% |   1.9 KiB/s |   9.2 KiB |  00m05s
 RPM Fusion for Fedora 43 - Free - Updates                                                                                100% |   2.0 KiB/s |   8.8 KiB |  00m04s
 RPM Fusion for Fedora 43 - Free                                                                                          100% |   2.3 KiB/s |   8.9 KiB |  00m04s
 Distribution of my applications for openSUSE and Fedora (stable releases) (Fedora_42)                                    100% |   1.9 KiB/s |   2.1 KiB |  00m01s
 Fedora 43 - x86_64                                                                                                       100% |   7.1 KiB/s |  23.6 KiB |  00m03s
 Fedora 43 openh264 (From Cisco) - x86_64                                                                                 100% | 408.0   B/s | 986.0   B |  00m02s
 Fedora 43 - x86_64 - Updates                                                                                             100% |   8.6 KiB/s |  16.9 KiB |  00m02s
 Copr repo for scrcpy owned by zeno                                                                                       100% |   1.6 KiB/s |   1.8 KiB |  00m01s
 Copr repo for xone owned by sentry                                                                                       100% |   1.6 KiB/s |   1.5 KiB |  00m01s
 Copr repo for lazygit owned by dejan                                                                                     100% |   1.7 KiB/s |   1.5 KiB |  00m01s
 Copr repo for stable owned by lizardbyte                                                                                 100% |   1.9 KiB/s |   1.5 KiB |  00m01s
 Copr repo for davinci-helper owned by herzen                                                                             100% |   3.2 KiB/s |   1.8 KiB |  00m01s
 Copr repo for kwin-effects-better-blur-dx owned by infinality                                                            100% |   3.2 KiB/s |   1.5 KiB |  00m00s
 Docker CE Stable - x86_64                                                                                                100% |   4.7 KiB/s |   2.0 KiB |  00m00s
Repositories loaded.
Failed to resolve the transaction:
Problem: The operation would result in removing the following protected packages: grub2-tools-minimal, selinux-policy-targeted, setup, systemd, systemd-udev
You can try to add to command line:
  --skip-broken to skip uninstallable packages

the original command now gives this error

sudo dnf system-upgrade download --releasever=43
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Package "rpmfusion-nonfree-release-42-1.noarch" is already installed.
Package "rpmfusion-nonfree-release-43-1.noarch" is already installed.
Package "rpmfusion-free-release-42-1.noarch" is already installed.
Package "rpmfusion-free-release-43-1.noarch" is already installed.
Package "qcom-wwan-firmware-20260110-1.fc42.noarch" is already installed.
Package "qcom-wwan-firmware-20260110-1.fc43.noarch" is already installed.
Packages for argument 'nvidia-gpu-firmware' available, but not installed.
Packages for argument 'kcalc' available, but not installed.
Package "fedora-flathub-remote-1-10.fc42.noarch" is already installed.
Package "fedora-flathub-remote-1-11.fc43.noarch" is already installed.
Package "fedora-workstation-repositories-38-8.fc43.x86_64" is already installed.
Package "aurorae-6.6.1-1.fc43.x86_64" is already installed.
Package "kunifiedpush-25.12.2-2.fc43.x86_64" is already installed.
Packages for argument 'vlc-plugin-gstreamer' available, but not installed.
Packages for argument 'dragon' available, but not installed.
Packages for argument 'akregator' available, but not installed.
Packages for argument 'gstreamer1-plugins-good' available, but not installed.
Packages for argument 'vlc-plugins-freeworld' available, but not installed.
Problem: The operation would result in removing the following protected packages: grub2-tools-minimal, selinux-policy-targeted, setup, systemd, systemd-udev

Repos seem to all be out of date after upgrading to 43 - #4 by vgaetera

3 Likes

This worked, thanks!

1 Like