Last metadata expiration check: 0:09:11 ago on Wed 29 May 2024 11:04:25 BST.
Error:
Problem 1: package kernel-modules-extra-6.8.7-300.fc40.x86_64 from @System requires kernel-uname-r = 6.8.7-300.fc40.x86_64, but none of the providers can be installed
- conflicting requests
Problem 2: package kernel-6.8.7-300.fc40.x86_64 from @System requires kernel-core-uname-r = 6.8.7-300.fc40.x86_64, but none of the providers can be installed
- conflicting requests
Problem 3: package kernel-6.8.7-300.fc40.x86_64 from @System requires kernel-modules-uname-r = 6.8.7-300.fc40.x86_64, but none of the providers can be installed
- conflicting requests
(try to add '--skip-broken' to skip uninstallable packages)
rpm --query --all release=‘.fc40’ shows probably hundreds of files.
I’m really inexperienced with Linux so sorry if I seem really dumb. Does anyone have any advice on what to do?
Hello @caelan27 ,
Weclome to !
You can add some options to the dnf update command to allow for best match and allow erasing. The command should go sudo dnf update --best --allowerasing
Last metadata expiration check: 0:34:06 ago on Wed 29 May 2024 11:04:25 BST.
Error:
Problem: problem with installed package redhat-rpm-config-265-1.fc39.noarch
- cannot install the best update candidate for package redhat-rpm-config-265-1.fc39.noarch
- cannot install the best update candidate for package rpmautospec-rpm-macros-0.6.1-3.fc39.noarch
- installed package redhat-rpm-config-286-1.fc40.noarch obsoletes rpmautospec-rpm-macros provided by rpmautospec-rpm-macros-0.6.3-1.fc39.noarch from updates
(try to add '--skip-broken' to skip uninstallable packages)
Last metadata expiration check: 0:38:06 ago on Wed 29 May 2024 11:04:25 BST.
Error:
Problem: problem with installed package redhat-rpm-config-265-1.fc39.noarch
- cannot install the best update candidate for package redhat-rpm-config-265-1.fc39.noarch
- cannot install the best update candidate for package rpmautospec-rpm-macros-0.6.1-3.fc39.noarch
- installed package redhat-rpm-config-286-1.fc40.noarch obsoletes rpmautospec-rpm-macros provided by rpmautospec-rpm-macros-0.6.3-1.fc39.noarch from updates
remove package rpmautospec-rpm-macros-0.6.3-1.fc39.noarch, do the upgrade, and re-install it.
Edit: Actually come to think of it, you should do sudo dnf distro-sync first on F39 then do the update.
$ sudo dnf remove rpmautospec-rpm-macros-0.6.3-1.fc39.noarch
[sudo] password for clc:
No match for argument: rpmautospec-rpm-macros-0.6.3-1.fc39.noarch
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
Is dnf remove the right way to do it? Do you know why there’s no match?
Last metadata expiration check: 0:59:35 ago on Wed 29 May 2024 11:04:25 BST.
Error:
Problem 1: package apr-util-lmdb-1.6.3-16.fc40.x86_64 from @System requires apr-util(x86-64) = 1.6.3-16.fc40, but none of the providers can be installed
- apr-util-1.6.3-16.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package apr-util-lmdb-1.6.3-16.fc40.x86_64
Problem 2: package gnome-software-fedora-langpacks-46.1-1.fc40.x86_64 from @System requires gnome-software(x86-64) = 46.1-1.fc40, but none of the providers can be installed
- gnome-software-46.1-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package gnome-software-fedora-langpacks-46.1-1.fc40.x86_64
Problem 3: package kdsoap6-2.2.0-4.fc40.x86_64 from @System requires libstdc++.so.6(CXXABI_1.3.15)(64bit), but none of the providers can be installed
- libstdc++-14.0.1-0.15.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kdsoap6-2.2.0-4.fc40.x86_64
Problem 4: package kf6-filesystem-6.1.0-1.fc40.x86_64 from @System requires kde-filesystem >= 5, but none of the providers can be installed
- kde-filesystem-5-3.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-filesystem-6.1.0-1.fc40.x86_64
Problem 5: package kf6-kdbusaddons-6.1.0-2.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.7)(64bit), but none of the providers can be installed
- qt6-qtbase-6.7.0-3.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kdbusaddons-6.1.0-2.fc40.x86_64
Problem 6: package kf6-kiconthemes-6.1.0-2.fc40.x86_64 from @System requires libQt6Gui.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
- qt6-qtbase-gui-6.7.0-3.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kiconthemes-6.1.0-2.fc40.x86_64
Problem 7: package kf6-kwindowsystem-6.1.0-2.fc40.x86_64 from @System requires libQt6WaylandClient.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
- qt6-qtwayland-6.7.0-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kwindowsystem-6.1.0-2.fc40.x86_64
Problem 8: package nbdkit-selinux-1.38.0-1.fc40.noarch from @System requires selinux-policy >= 40.13, but none of the providers can be installed
- selinux-policy-40.16-1.fc40.noarch from @System does not belong to a distupgrade repository
- problem with installed package nbdkit-selinux-1.38.0-1.fc40.noarch
Problem 9: package python3-keyring+completion-24.3.1-1.fc40.noarch from @System requires python3-keyring = 24.3.1-1.fc40, but none of the providers can be installed
- python3-keyring-24.3.1-1.fc40.noarch from @System does not belong to a distupgrade repository
- problem with installed package python3-keyring+completion-24.3.1-1.fc40.noarch
Problem 10: package qemu-device-display-virtio-gpu-pci-rutabaga-2:8.2.2-1.fc40.x86_64 from @System requires qemu-common(x86-64) = 2:8.2.2-1.fc40, but none of the providers can be installed
- qemu-common-2:8.2.2-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package qemu-device-display-virtio-gpu-pci-rutabaga-2:8.2.2-1.fc40.x86_64
Problem 11: package qemu-device-display-virtio-gpu-rutabaga-2:8.2.2-1.fc40.x86_64 from @System requires qemu-device-display-virtio-gpu(x86-64) = 2:8.2.2-1.fc40, but none of the providers can be installed
- qemu-device-display-virtio-gpu-2:8.2.2-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package qemu-device-display-virtio-gpu-rutabaga-2:8.2.2-1.fc40.x86_64
Problem 12: package qemu-device-display-virtio-vga-rutabaga-2:8.2.2-1.fc40.x86_64 from @System requires qemu-device-display-virtio-vga(x86-64) = 2:8.2.2-1.fc40, but none of the providers can be installed
- qemu-device-display-virtio-vga-2:8.2.2-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package qemu-device-display-virtio-vga-rutabaga-2:8.2.2-1.fc40.x86_64
Problem 13: package wget2-wget-2.1.0-8.fc40.x86_64 from @System requires wget2(x86-64) = 2.1.0-8.fc40, but none of the providers can be installed
- wget2-2.1.0-8.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package wget2-wget-2.1.0-8.fc40.x86_64
Problem 14: package qt6-qtbase-6.7.0-3.fc40.x86_64 from @System requires libicui18n.so.74()(64bit), but none of the providers can be installed
- package qt6-qtbase-6.7.0-3.fc40.x86_64 from @System requires libicuuc.so.74()(64bit), but none of the providers can be installed
- package kf6-kdoctools-6.1.0-2.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.7)(64bit), but none of the providers can be installed
- libicu-74.2-1.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kdoctools-6.1.0-2.fc40.x86_64
Problem 15: package qt6-qtbase-6.7.0-3.fc40.x86_64 from @System requires qt6-qtbase-common = 6.7.0-3.fc40, but none of the providers can be installed
- package kf6-kguiaddons-6.1.0-2.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.7)(64bit), but none of the providers can be installed
- qt6-qtbase-common-6.7.0-3.fc40.noarch from @System does not belong to a distupgrade repository
- problem with installed package kf6-kguiaddons-6.1.0-2.fc40.x86_64
Problem 16: package kf6-kwindowsystem-6.1.0-2.fc40.x86_64 from @System requires libQt6WaylandClient.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
- package qt6-qtwayland-6.7.0-1.fc40.x86_64 from @System requires libQt6Quick.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
- package kf6-kauth-6.1.0-1.fc40.x86_64 from @System requires libKF6WindowSystem.so.6()(64bit), but none of the providers can be installed
- qt6-qtdeclarative-6.7.0-2.fc40.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kauth-6.1.0-1.fc40.x86_64
Problem 17: problem with installed package libstdc++-devel-14.0.1-0.15.fc40.x86_64
- package libstdc++-devel-13.2.1-3.fc39.x86_64 from fedora requires libstdc++(x86-64) = 13.2.1-3.fc39, but none of the providers can be installed
- package libstdc++-devel-13.3.1-1.fc39.x86_64 from updates requires libstdc++(x86-64) = 13.3.1-1.fc39, but none of the providers can be installed
- cannot install both libstdc++-13.2.1-3.fc39.x86_64 from fedora and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- cannot install both libstdc++-13.3.1-1.fc39.x86_64 from updates and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- package kf6-kwallet-6.1.0-1.fc40.x86_64 from @System requires libstdc++.so.6(CXXABI_1.3.15)(64bit), but none of the providers can be installed
- libstdc++-devel-14.0.1-0.15.fc40.x86_64 from @System does not belong to a distupgrade repository
- libstdc++-devel-13.2.1-6.fc39.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kf6-kwallet-6.1.0-1.fc40.x86_64
Problem 18: problem with installed package gcc-c++-14.0.1-0.15.fc40.x86_64
- package gcc-c++-13.2.1-3.fc39.x86_64 from fedora requires libstdc++ = 13.2.1-3.fc39, but none of the providers can be installed
- package gcc-c++-13.3.1-1.fc39.x86_64 from updates requires libstdc++ = 13.3.1-1.fc39, but none of the providers can be installed
- libstdc++-13.2.1-3.fc39.i686 from fedora does not belong to a distupgrade repository
- libstdc++-13.3.1-1.fc39.i686 from updates does not belong to a distupgrade repository
- cannot install both libstdc++-13.2.1-3.fc39.x86_64 from fedora and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- cannot install both libstdc++-13.3.1-1.fc39.x86_64 from updates and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- package webrtc-audio-processing0.3-0.3.1-12.fc40.x86_64 from @System requires libstdc++.so.6(CXXABI_1.3.15)(64bit), but none of the providers can be installed
- gcc-c++-14.0.1-0.15.fc40.x86_64 from @System does not belong to a distupgrade repository
- gcc-c++-13.2.1-6.fc39.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package webrtc-audio-processing0.3-0.3.1-12.fc40.x86_64
Problem 19: problem with installed package gcc-c++-13.2.1-6.fc39.x86_64
- package gcc-c++-13.2.1-3.fc39.x86_64 from fedora requires libstdc++-devel = 13.2.1-3.fc39, but none of the providers can be installed
- package gcc-c++-13.3.1-1.fc39.x86_64 from updates requires libstdc++-devel = 13.3.1-1.fc39, but none of the providers can be installed
- libstdc++-devel-13.2.1-3.fc39.i686 from fedora does not belong to a distupgrade repository
- libstdc++-devel-13.3.1-1.fc39.i686 from updates does not belong to a distupgrade repository
- package libstdc++-devel-13.2.1-3.fc39.x86_64 from fedora requires libstdc++(x86-64) = 13.2.1-3.fc39, but none of the providers can be installed
- package libstdc++-devel-13.3.1-1.fc39.x86_64 from updates requires libstdc++(x86-64) = 13.3.1-1.fc39, but none of the providers can be installed
- cannot install both libstdc++-13.2.1-3.fc39.x86_64 from fedora and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- cannot install both libstdc++-13.3.1-1.fc39.x86_64 from updates and libstdc++-14.0.1-0.15.fc40.x86_64 from @System
- package kdsoap6-2.2.0-4.fc40.x86_64 from @System requires libstdc++.so.6(CXXABI_1.3.15)(64bit), but none of the providers can be installed
- package gcc-c++-14.0.1-0.15.fc40.x86_64 from @System requires gcc = 14.0.1-0.15.fc40, but none of the providers can be installed
- package gcc-c++-13.2.1-6.fc39.x86_64 from @System requires gcc = 13.2.1-6.fc39, but none of the providers can be installed
- package kdsoap-ws-discovery-client-0.4.0-1.fc40.x86_64 from @System requires libkdsoap-qt6.so.2()(64bit), but none of the providers can be installed
- gcc-14.0.1-0.15.fc40.x86_64 from @System does not belong to a distupgrade repository
- gcc-13.2.1-6.fc39.x86_64 from @System does not belong to a distupgrade repository
- problem with installed package kdsoap-ws-discovery-client-0.4.0-1.fc40.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Then it likely is. The kernel sitting at 6.8.7 is a puzzle to me, I’m on 6.9.2 but F40 is normally on 6.8.10. There have been three kernel updates since the one you are running. 6.8.7 → 6.8.8 → 6.8.9 → 6.8.10
That’s strange. Is there a way to update the kernel without using sudo dnf update? When I googled it, it says that the kernel should update whenever you update your system.