How to remove Fedora 42

Hi there I installed Fedora 42 by error how to remove it and leave just the 41 version? Thanks

AFAIK you cannot. A downgrade of the installed version is not supported and it usually requires a reinstall.

1 Like

You can downgrade Fedora 42 to Fedora 41 like this:

sudo dnf swap fedora-repos-rawhide fedora-repos --releasever=41
sudo dnf distro-sync --releasever=41 --allowerasing --offline
sudo dnf offline reboot
sudo dnf remove kernel\*-6.12.\*
1 Like