Dear co-fedora users,
At the moment I am running f27 and I would like to upgrade it to f30. I followed the steps described below as described in fedora wiki.
sudo dnf upgrade --refresh
sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --refresh --best --allowerasing --releasever=28
sudo dnf system-upgrade reboot
Note that I tried to gradually upgrade to the next release instead of upgrading directly to f30, since from previous experience (i.e. when wanting to upgrade from f24 to f27) I’ve found out that it was smoother and safer.
After performing the dnf system-upgrade reboot
command, my laptop rebooted, the upgrade screen when on and eventually I was booted again in f27 while there is not f28 option on the boot menu. I therefore tried to understand the issue by doing the following :
-
I had a look at
/boot
in case there is any file ralated tof28
but there is nothing there as well.
I also checked the/boot/grub2/grub.cfg
file and there isn’t any entry related tof28
either. So I guess the issue, it’s not related togrub
. -
I checked with
journalctl -r -p err
but I couldn’t see something helpful there, either apart from the following entry
systemd[1]: Failed to start System Upgrade using DNF.
which doesn’t specify why it failed to upgrade. -
I checked the
dnf.log
file, which can be found here. I saw some critical errors there, but I am not sure what to do. For example2019-06-28T05:43:26Z CRITICAL Error opening file for checksum: /var/lib/dnf/system-upgrade/fedora-f21308f6293b3270/packages/compat-libicu57-
57.1-2.fc28.x86_64.rpm2019-06-28T05:43:26Z CRITICAL Package “compat-libicu57-57.1-2.fc28.x86_64”
from repository “fedora” has incorrect checksum -
I run
sudo dnf repolist all
and it seems that some repositories are disabled
I am wondering if there is a way to enable them. -
I enabled the disabled repositories by editing the
.repo
files in/etc/yum.repos.d
and changing the value ofenable
to1
in the cases where it was0
and then repeatedsudo dnf upgrade --refresh
,sudo dnf system-upgrade download --refresh --best --allowerasing --releasever=28
andsudo dnf system-upgrade reboot
. Still thednf.log
gives me the same critical error seen in 3.
Any idea what to do next in order to eventually upgrade to f30
?
Thanks in advance!