sudo dnf distro-sync --refresh
Fedora 37 - x86_64 29 kB/s | 18 kB 00:00
Fedora 37 openh264 (From Cisco) - x86_64 1.9 kB/s | 989 B 00:00
Fedora Modular 37 - x86_64 31 kB/s | 18 kB 00:00
Fedora 37 - x86_64 - Updates 16 kB/s | 7.8 kB 00:00
Fedora Modular 37 - x86_64 - Updates 28 kB/s | 16 kB 00:00
RPM Fusion for Fedora 37 - Free 25 kB/s | 7.0 kB 00:00
RPM Fusion for Fedora 37 - Free - Updates 22 kB/s | 6.0 kB 00:00
RPM Fusion for Fedora 37 - Nonfree 26 kB/s | 7.1 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Updates 23 kB/s | 6.1 kB 00:00
Error:
Problem 1: package clamav-freshclam-1.0.1-4.fc38.x86_64 requires clamav-filesystem = 1.0.1-4.fc38, but none of the providers can be installed
- clamav-filesystem-1.0.1-4.fc38.noarch does not belong to a distupgrade repository
- problem with installed package clamav-freshclam-1.0.1-4.fc38.x86_64
Problem 2: package dleyna-0.8.2-2.fc38.x86_64 requires libgupnp-1.6.so.0()(64bit), but none of the providers can be installed
- gupnp-1.6.3-2.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package dleyna-0.8.2-2.fc38.x86_64
Problem 3: package libcupsfilters-1:2.0~b4-1.fc38.x86_64 requires ghostscript >= 10.0.0, but none of the providers can be installed
- ghostscript-10.01.0-3.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package libcupsfilters-1:2.0~b4-1.fc38.x86_64
Problem 4: package qemu-block-blkio-2:7.2.0-6.fc38.x86_64 requires qemu-common(x86-64) = 2:7.2.0-6.fc38, but none of the providers can be installed
- qemu-common-2:7.2.0-6.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package qemu-block-blkio-2:7.2.0-6.fc38.x86_64
Problem 5: package qemu-system-loongarch64-2:7.2.0-6.fc38.x86_64 requires qemu-audio-alsa = 2:7.2.0-6.fc38, but none of the providers can be installed
- qemu-audio-alsa-2:7.2.0-6.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package qemu-system-loongarch64-2:7.2.0-6.fc38.x86_64
Problem 6: package qemu-system-loongarch64-core-2:7.2.0-6.fc38.x86_64 requires libbpf.so.1()(64bit), but none of the providers can be installed
- package qemu-system-loongarch64-core-2:7.2.0-6.fc38.x86_64 requires libbpf.so.1(LIBBPF_0.0.1)(64bit), but none of the providers can be installed
- package qemu-system-loongarch64-core-2:7.2.0-6.fc38.x86_64 requires libbpf.so.1(LIBBPF_0.0.7)(64bit), but none of the providers can be installed
- libbpf-2:1.1.0-2.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package qemu-system-loongarch64-core-2:7.2.0-6.fc38.x86_64
Problem 7: svt-av1-libs-1.4.1-2.fc38.i686 has inferior architecture
- svt-av1-libs-1.4.1-2.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package svt-av1-libs-1.4.1-2.fc38.i686
Problem 8: package ghostscript-10.01.0-3.fc38.x86_64 requires ghostscript-tools-fonts(x86-64) = 10.01.0-3.fc38, but none of the providers can be installed
- package libppd-1:2.0~b4-2.fc38.x86_64 requires ghostscript >= 10.0.0, but none of the providers can be installed
- ghostscript-tools-fonts-10.01.0-3.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package libppd-1:2.0~b4-2.fc38.x86_64
Problem 9: problem with installed package libunistring-1.1-3.fc38.i686
- package libunistring1.0-1.0-1.fc38.x86_64 conflicts with libunistring < 1.1 provided by libunistring-1.0-2.fc37.i686
- libunistring-1.1-3.fc38.i686 does not belong to a distupgrade repository
- problem with installed package libunistring1.0-1.0-1.fc38.x86_64
Problem 10: problem with installed package libvpx-1.13.0-2.fc38.x86_64
- package libvpx7-1.12.0-1.fc38.x86_64 conflicts with libvpx < 1.13.0 provided by libvpx-1.12.0-1.fc37.x86_64
- libvpx-1.13.0-2.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package libvpx7-1.12.0-1.fc38.x86_64
Problem 11: problem with installed package keepassxc-2.7.4-6.fc38.x86_64
- package keepassxc-2.7.1-12.fc37.x86_64 requires libminizip.so.3.0()(64bit), but none of the providers can be installed
- package keepassxc-2.7.4-7.fc37.x86_64 requires libminizip.so.3.0()(64bit), but none of the providers can be installed
- installed package minizip-ng-3.0.7-3.fc38.x86_64 obsoletes minizip < 3.0.3 provided by minizip-3.0.2-7.fc37.x86_64
- keepassxc-2.7.4-6.fc38.x86_64 does not belong to a distupgrade repository
- problem with installed package minizip-ng-3.0.7-3.fc38.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
Doing that gives the same output error as in my post, This important stuff will be removed grub2-tools-minimal, systemd, systemd-udev
Error:
Problem: The operation would result in removing the following protected packages: grub2-tools-minimal, systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
remove duplicate output is a bunch of not availables then the error ill put below
...
...
Installed package python3-pytz-2023.3-1.fc38.noarch not available.
Installed package flexiblas-3.3.1-1.fc38.x86_64 not available.
Installed package libzstd-1.5.5-1.fc38.x86_64 not available.
Installed package qt6-qtbase-common-6.4.3-2.fc38.noarch not available.
Installed package flexiblas-openblas-openmp-3.3.1-1.fc38.x86_64 not available.
Installed package flexiblas-openblas-openmp64-3.3.1-1.fc38.x86_64 not available.
Installed package zchunk-libs-1.3.1-1.fc38.x86_64 not available.
Installed package libzstd-devel-1.5.5-1.fc38.x86_64 not available.
Installed package plasma-breeze-common-5.27.4-1.fc38.noarch not available.
Installed package grub2-common-1:2.06-95.fc38.noarch not available.
Installed package vim-filesystem-2:9.0.1440-1.fc38.noarch not available.
Installed package vim-data-2:9.0.1440-1.fc38.noarch not available.
Installed package cmake-rpm-macros-3.26.3-1.fc38.noarch not available.
Installed package cmake-data-3.26.3-1.fc38.noarch not available.
Installed package ghostscript-tools-fonts-10.01.0-3.fc38.x86_64 not available.
Installed package ghostscript-tools-printing-10.01.0-3.fc38.x86_64 not available.
Installed package cmake-filesystem-3.26.3-1.fc38.x86_64 not available.
Installed package polkit-libs-122-3.fc38.1.x86_64 not available.
Installed package libFAudio-23.04-1.fc38.x86_64 not available.
Installed package httpd-filesystem-2.4.57-1.fc38.noarch not available.
Installed package qt5-qttools-common-5.15.9-1.fc38.noarch not available.
Installed package libxml2-2.10.4-1.fc38.x86_64 not available.
Installed package qt5-rpm-macros-5.15.9-1.fc38.noarch not available.
Error:
Problem: The operation would result in removing the following protected packages: grub2-tools-minimal, systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
I am kind of scared this feels like I am uninstalling my operating system like linus tech tips haha. Is this intended? All the software listed for removal has f37 tag
...
...
shadow-utils x86_64 2:4.12.3-6.fc37 @updates 3.9 M
shared-mime-info x86_64 2.2-2.fc37 @fedora 5.0 M
sound-theme-freedesktop noarch 0.8-18.fc37 @fedora 460 k
spax x86_64 1.6-7.fc37 @fedora 415 k
sqlite-libs x86_64 3.40.0-1.fc37 @updates 1.3 M
sssd x86_64 2.8.2-1.fc37 @updates 34 k
sssd-ad x86_64 2.8.2-1.fc37 @updates 442 k
sssd-client x86_64 2.8.2-1.fc37 @updates 359 k
sssd-common x86_64 2.8.2-1.fc37 @updates 5.5 M
sssd-common-pac x86_64 2.8.2-1.fc37 @updates 242 k
sssd-ipa x86_64 2.8.2-1.fc37 @updates 712 k
sssd-krb5 x86_64 2.8.2-1.fc37 @updates 88 k
sssd-krb5-common x86_64 2.8.2-1.fc37 @updates 216 k
sssd-ldap x86_64 2.8.2-1.fc37 @updates 181 k
sssd-nfs-idmap x86_64 2.8.2-1.fc37 @updates 48 k
sssd-proxy x86_64 2.8.2-1.fc37 @updates 154 k
svt-av1-libs x86_64 1.1.0-2.fc37 @fedora 7.0 M
syslinux-nonlinux noarch 6.04-0.23.fc37 @fedora 1.6 M
sysprof-capture-devel x86_64 3.46.0-1.fc37 @fedora 334 k
systemd x86_64 251.14-2.fc37 @updates 13 M
systemd-boot-unsigned x86_64 251.14-2.fc37 @updates 292 k
systemd-libs x86_64 251.14-2.fc37 @updates 1.7 M
systemd-networkd x86_64 251.14-2.fc37 @updates 1.8 M
systemd-pam x86_64 251.14-2.fc37 @updates 961 k
systemd-resolved x86_64 251.14-2.fc37 @updates 596 k
systemd-udev x86_64 251.14-2.fc37 @updates 10 M
systemtap-sdt-devel x86_64 4.8-3.fc37 @updates 197 k
tar x86_64 2:1.34-6.fc37 @updates 3.0 M
tcl x86_64 1:8.6.12-3.fc37 @fedora 4.5 M
tdb-tools x86_64 1.4.7-3.fc37 @fedora 82 k
texlive-base x86_64 9:20210325-52.fc37 @fedora 17 M
texlive-cm noarch 9:svn57963-60.fc37 @updates 995 k
texlive-dehyph noarch 9:svn48599-60.fc37 @updates 240 k
texlive-epstopdf noarch 9:20210325-52.fc37 @fedora 38 k
texlive-epstopdf-pkg noarch 9:svn53546-60.fc37 @updates 387 k
texlive-etex noarch 9:svn56291-60.fc37 @updates 41 k
texlive-graphics-def noarch 9:svn58539-60.fc37 @updates 98 k
texlive-gsftopk x86_64 9:20210325-52.fc37 @fedora 47 k
texlive-hyph-utf8 noarch 9:svn58619-60.fc37 @updates 74 k
texlive-hyphen-base noarch 9:svn58630-60.fc37 @updates 64 k
texlive-knuth-lib noarch 9:svn57963-60.fc37 @updates 100 k
texlive-kpathsea x86_64 9:20210325-52.fc37 @fedora 2.0 M
texlive-latex-fonts noarch 9:svn28888.0-60.fc37 @updates 114 k
texlive-lib x86_64 9:20210325-52.fc37 @fedora 1.1 M
texlive-luatex x86_64 9:20210325-52.fc37 @fedora 9.4 M
texlive-modes noarch 9:svn56303-60.fc37 @updates 390 k
texlive-plain noarch 9:svn57963-60.fc37 @updates 109 k
texlive-tex-ini-files noarch 9:svn40533-60.fc37 @updates 8.1 k
texlive-texlive-scripts noarch 9:20210325-52.fc37 @fedora 328 k
texlive-texlive.infra noarch 9:20210325-52.fc37 @fedora 999 k
texlive-unicode-data noarch 9:svn56768-60.fc37 @updates 3.0 M
tigervnc-license noarch 1.13.1-3.fc37 @updates 18 k
time x86_64 1.9-19.fc37 @fedora 87 k
tk x86_64 1:8.6.12-3.fc37 @fedora 3.7 M
tpm2-tools x86_64 5.4-1.fc37 @updates 1.5 M
tpm2-tss x86_64 3.2.2-1.fc37 @updates 2.1 M
tzdata noarch 2022g-1.fc37 @updates 1.6 M
tzdata-java noarch 2022g-1.fc37 @updates 341 k
unbound-libs x86_64 1.17.1-1.fc37 @updates 1.4 M
unzip x86_64 6.0-58.fc37 @fedora 393 k
urw-base35-bookman-fonts noarch 20200910-15.fc37 @fedora 1.4 M
urw-base35-c059-fonts noarch 20200910-15.fc37 @fedora 1.4 M
urw-base35-d050000l-fonts noarch 20200910-15.fc37 @fedora 84 k
urw-base35-fonts-common noarch 20200910-15.fc37 @fedora 37 k
urw-base35-gothic-fonts noarch 20200910-15.fc37 @fedora 1.2 M
urw-base35-nimbus-mono-ps-fonts noarch 20200910-15.fc37 @fedora 1.0 M
urw-base35-nimbus-roman-fonts noarch 20200910-15.fc37 @fedora 1.4 M
urw-base35-nimbus-sans-fonts noarch 20200910-15.fc37 @fedora 2.4 M
urw-base35-p052-fonts noarch 20200910-15.fc37 @fedora 1.5 M
urw-base35-standard-symbols-ps-fonts noarch 20200910-15.fc37 @fedora 44 k
urw-base35-z003-fonts noarch 20200910-15.fc37 @fedora 391 k
utf8proc x86_64 2.7.0-3.fc37 @fedora 363 k
util-linux x86_64 2.38.1-1.fc37 @fedora 11 M
util-linux-core x86_64 2.38.1-1.fc37 @fedora 1.3 M
util-linux-user x86_64 2.38.1-1.fc37 @fedora 60 k
vim-data noarch 2:9.0.1440-1.fc37 @updates 18 k
vim-filesystem noarch 2:9.0.1440-1.fc37 @updates 40
vo-amrwbenc x86_64 0.1.3-18.fc37 @updates 146 k
vte-profile x86_64 0.70.3-1.fc37 @updates 53 k
vulkan-headers noarch 1.3.216.0-2.fc37 @fedora 17 M
vulkan-loader x86_64 1.3.216.0-3.fc37 @fedora 497 k
vulkan-loader-devel x86_64 1.3.216.0-3.fc37 @fedora 282
web-assets-filesystem noarch 5-18.fc37 @fedora 34
which x86_64 2.21-39.fc37 @updates 80 k
whois-nls noarch 5.5.15-1.fc37 @updates 132 k
wireless-regdb noarch 2022.06.06-2.fc37 @fedora 11 k
xcb-util x86_64 0.4.0-20.fc37 @fedora 34 k
xcb-util-keysyms x86_64 0.4.0-18.fc37 @fedora 17 k
xcb-util-renderutil x86_64 0.3.9-21.fc37 @fedora 28 k
xdg-user-dirs x86_64 0.18-1.fc37 @updates 171 k
xdg-utils noarch 1.1.3-12.fc37 @fedora 313 k
xen-licenses x86_64 4.16.3-4.fc37 @updates 409 k
xkbcomp x86_64 1.4.5-4.fc37 @fedora 222 k
xkeyboard-config noarch 2.36-3.fc37 @updates 6.6 M
xml-common noarch 0.6.3-59.fc37 @fedora 78 k
xmlrpc-c x86_64 1.51.08-1.fc37 @updates 524 k
xmlrpc-c-client x86_64 1.51.08-1.fc37 @updates 52 k
xorg-x11-drv-fbdev x86_64 0.5.0-11.fc37 @fedora 34 k
xorg-x11-drv-libinput x86_64 1.2.1-2.fc37 @fedora 97 k
xorg-x11-fonts-ISO8859-1-100dpi noarch 7.5-34.fc37 @fedora 1.0 M
xorg-x11-proto-devel noarch 2022.2-2.fc37 @fedora 1.7 M
xorg-x11-server-Xorg x86_64 1.20.14-21.fc37 @updates 3.7 M
xorg-x11-server-common x86_64 1.20.14-21.fc37 @updates 127 k
xxhash-libs x86_64 0.8.1-3.fc37 @fedora 91 k
xz x86_64 5.4.1-1.fc37 @updates 1.1 M
xz-devel x86_64 5.4.1-1.fc37 @updates 238 k
xz-libs x86_64 5.4.1-1.fc37 @updates 210 k
yelp-xsl noarch 42.1-1.fc37 @fedora 1.4 M
zchunk-libs x86_64 1.3.1-1.fc37 @updates 98 k
zip x86_64 3.0-33.fc37 @fedora 696 k
zlib x86_64 1.2.12-5.fc37 @fedora 202 k
zlib-devel x86_64 1.2.12-5.fc37 @fedora 139 k
zziplib x86_64 0.13.72-2.fc37 @fedora 238 k
Transaction Summary
=====================================================================================================================================================================================================================================================================
Remove 916 Packages
Freed space: 2.2 G
Error:
Problem: The operation would result in removing the following protected packages: grub2-tools-minimal, systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
I would first remove each of those conflicting packages one at a time.
Use care to know if this would force removal of any mandatory packages, and be aware that almost anything removed can be done using the --noautoremove option to avoid the long list of dependencies that may be suggested for removal.
It may be better to remove qemu* rather than the individual packages since it is easy to reinstall qemu from the fedora repos.
I agree with @computersavvy
If you remove a package the config files will not be deleted. If you reinstall the package again it should work out of the box.
@computersavvy recommendation would have probably solved it as well, but I went with the distro-sync option after seeing a lot of them would have removed core features like wine, photos etc and it would have been an hassle to get all of them back.
But this worked! Thank you! I now have zero duplicates and I can use dnf.
Slight question though, my uname-a is still unchanged. Would this cause a problem? OS reports as Fedora Linux 38 though.
It indicates the currently running kernel and should change when you boot a newer kernel.
This typically happens automatically on reboot, otherwise select it manually in the GRUB menu.
You can check installed and available kernels like this:
Unfortunately I saw your message after trying to fix on my own with reinstall kernel & reinstall kernel-core.
Luckily it worked and I have not encountered a bug. I am now using 6.2.11-300.fc38.x86_64
Thank you again @vgaetera you have been extremely helpful.
When doing sudo dnf update --best --allowerasing, this is what I get…
(7, "Failed to connect to 127.0.0.1 port 9050 after 199 ms: Couldn't connect to server")
Disabling torproxy plugin: cannot connect to the Tor network
Last metadata expiration check: 0:01:04 ago on Mon 24 Apr 2023 07:39:40 AM CEST.
Error:
Problem: problem with installed package kodi-pvr-iptvsimple-1:19.2.2-1.fc37.x86_64
- cannot install the best update candidate for package kodi-pvr-iptvsimple-1:19.2.2-1.fc37.x86_64
- nothing provides kodi-inputstream-ffmpegdirect(x86-64) >= 20 needed by kodi-pvr-iptvsimple-1:20.9.1-1.fc38.x86_64
(try to add '--skip-broken' to skip uninstallable packages)
Edit: Okay, I see the issue…
I removed Kodi and went on with the --allow-erasing and --best. The issue is the package qt5-qtwebengine-freeworld.