FIX
Now, this has been fixed for Fedora 37 - not for F36, so when upgrading a Fedora 35 installation, you’ll have to skip one release. I took the time to find the package that’s causing the conflict and reported a bug to Fedora.
Since it’s fixed for F37 only, users will have to select this release to upgrade their system:
$ sudo dnf system-upgrade download --best --allowerasing --releasever 37
Before confirming, double-check what’s listed under Removing:
(everyone should check that always, otherwise you could end up without desktop environment if you add some “allowerasing” option without checking what would be removed). No Mate package is listed to be removed anymore.
I hope this helps someone out there. And I also hope that distro maintainers are a bit more careful in the future when adding new software as dependency like this systemd-oomd package.
THE END.
As if that wasn’t enough, the upgrade failed on one of several computers because the boot partition was full. Originally, it was set to 1 GB on this system, assuming that 1 GB would be more than enough to fit all initramfs images and all other files required for the boot loader - it wasn’t. Maybe someone else who’s facing this problem finds this page, so here’s what it looks like:
Total 6.7 MB/s | 6.2 GB 15:37
Fedora 37 - x86_64 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x5323552A:
Userid : "Fedora (37) <fedora-37-primary@fedoraproject.org>"
Fingerprint: ACB5 EE4E 831C 74BB 7C16 8D27 F55A D3FB 5323 552A
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
installing package kernel-core-6.2.9-200.fc37.x86_64 needs 6MB more space on the /boot filesystem
installing package grub2-efi-x64-1:2.06-94.fc37.x86_64 needs 12MB more space on the /boot filesystem
installing package mactel-boot-0.9-27.fc37.x86_64 needs 6MB more space on the /boot filesystem
installing package memtest86+-5.31-0.7.beta.fc37.x86_64 needs 7MB more space on the /boot filesystem
Error Summary
-------------
Disk Requirements:
At least 12MB more space needed on the /boot filesystem.
GParted shows that the boot partition is basically full:
GParted allows you to shrink the system partition by 1 GB and then move it to the right by 1 GB in order to make space for the boot partition to be grown to 2 GB. Obviously that would have to be done while the system partition is not mounted, so for example from a Fedora installer disk or almost any other Linux live system like Parted Magic. But first, I’ll recommend to shrink the filesystem (which lives inside of the partition that we need to shrink) to prevent it from being corrupted at the end - there used to be a bug in GParted that would actually allow that to happen.
So let’s first shrink the filesystem inside of the system partition and to prevent rounding errors, let’s shrink it by a bit more than 1 GB:
$ sudo btrfs filesystem resize -5120m /
Resize device id 1 (/dev/nvme0n1p2) from 1.80TiB to 1.80TiB
Now the last 5 GB of the partition are not used by the BTRFS filesystem anymore, so the partition containing it can safely be shrunk…
