Fedora 39 Upgrade not happening via Software Center as well as from command line

,

Hi all,

I am trying to upgrade from Fedora 38 to Fedora 39 using command line.

To upgrade from command line, I am running the below command

sudo dnf system-upgrade download --releasever=39 --skip-broken --setopt=protected_packages= --allowerasing

While running the above command, I am getting an error

Problem: The operation would result in removing the following protected packages: kernel-core

Not able to proceed with the upgrade.

Kindly assist with your thoughts

Cheers

one step back: what’s the output of sudo dnf system-upgrade download --releasever=39

1 Like

Potentially another step back.
Did you run sudo dnf upgrade --refresh and reboot before you ran the sudo dnf system-upgrade download --releasever=39 command?

Below is what I get when i run sudo dnf system-upgrade download --releasever=39

Error:
Problem: The operation would result in removing the following protected packages: NetworkManager, grub2-efi-x64, grub2-pc, grub2-tools-minimal, kernel-core, shim-x64, systemd
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages)

Hi Jeff,

Yes. I did the refresh and also rebooted before attempting the upgrade

I was able to fix and get past the issue.

Issue was due to an exclude filter which I had set in dnf.conf to exclude any glibc package updates.

I removed the exclude filter from the dnf.conf and retried the upgrade and it went smoothly

1 Like

Yeah
Sometimes when we ‘fix’ one thing it breaks others.