Dear all,
I just updated my laptop from fc36 to fc38 running the command:
% sudo dnf system-upgrade download --disablerepo=rpmfusion* --allowerasing --releasever=38|&tee fc38.log
which ran successfully as seen at the end of fc38.log
% tail fc38.log
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Complete!
Transaction saved to /var/lib/dnf/system-upgrade/system-upgrade-transaction.json.
Download complete! Use ‘dnf system-upgrade reboot’ to start the upgrade.
To remove cached metadata and transaction use ‘dnf system-upgrade clean’
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Then I ran the command
% sudo dnf system-upgrade reboot
It rebooted and did the update with the graphical interface without apparent problem and rebooted.
I am able to login and I tried to run
% sudo dnf upgrade --refresh
and got surprised to see references to fc36 instead of fc38!
[sudo] password for patrick:
Copr repo for remarkable owned by neteler 8.5 kB/s | 3.3 kB 00:00
Copr repo for PyCharm owned by phracek 20 kB/s | 2.1 kB 00:00
dell-system-update_independent 4.6 kB/s | 2.3 kB 00:00
dell-system-update_dependent 2.2 kB/s | 2.3 kB 00:01
Fedora 36 - x86_64 36 kB/s | 18 kB 00:00 <— HERE
Fedora 36 openh264 (From Cisco) - x86_64 3.4 kB/s | 989 B 00:00 <— HERE
Fedora Modular 36 - x86_64 50 kB/s | 18 kB 00:00 <— HERE
negativo17 - Multimedia 77 kB/s | 5.8 kB 00:00
Fedora 36 - x86_64 - Updates 358 kB/s | 16 kB 00:00 <---- HERE
Fedora Modular 36 - x86_64 - Updates 39 kB/s | 17 kB 00:00 <— HERE
Gnome Encfs Manager (15.4) 17 kB/s | 1.6 kB 00:00
MySQL 8.0 Community Server 204 kB/s | 2.6 kB 00:00
MySQL Connectors Community 242 kB/s | 2.6 kB 00:00
MySQL Tools Community 404 kB/s | 2.6 kB 00:00
RPM Fusion for Fedora 36 - Nonfree - Steam 52 kB/s | 6.4 kB 00:00
skype (stable) 46 kB/s | 2.9 kB 00:00
teams 20 kB/s | 1.5 kB 00:00
Fedora 36 - x86_64 - VirtualBox 12 kB/s | 819 B 00:00 <— HERE
Fedora 36 - x86_64 - VirtualBox 2.5 kB/s | 1.7 kB 00:00 <— HERE
Fedora 36 - x86_64 - VirtualBox 20 kB/s | 819 B 00:00 <— HERE
Visual Studio Code 1.3 kB/s | 1.5 kB 00:01
Ignoring repositories: virtualbox
Dependencies resolved.
I then checked the system version
$ uname -a
Linux jazz6 6.2.14-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 1 00:55:28 UTC 2023 x86_64 GNU/Linux
and the files in /boot
ls /boot
config-6.2.14-100.fc36.x86_64
config-6.2.14-300.fc38.x86_64
efi/
extlinux/
grub2/
initramfs-0-rescue-e79da7f74b684170b22f5a43eeaae2a3.img
initramfs-6.2.14-100.fc36.x86_64.img
initramfs-6.2.14-300.fc38.x86_64.img
loader/
lost+found/
symvers-6.2.14-100.fc36.x86_64.gz@
symvers-6.2.14-300.fc38.x86_64.gz@
System.map-6.2.14-100.fc36.x86_64
System.map-6.2.14-300.fc38.x86_64
vmlinuz-0-rescue-e79da7f74b684170b22f5a43eeaae2a3*
vmlinuz-6.2.14-100.fc36.x86_64*
.vmlinuz-6.2.14-100.fc36.x86_64.hmac
vmlinuz-6.2.14-300.fc38.x86_64*
.vmlinuz-6.2.14-300.fc38.x86_64.hmac
But if I run the command
% rpm -qa | grep kernel | sort
abrt-addon-kerneloops-2.15.1-1.fc36.x86_64
kernel-6.0.8-200.fc36.x86_64
kernel-core-6.0.8-200.fc36.x86_64
kernel-devel-5.19.16-200.fc36.x86_64
kernel-devel-6.0.8-200.fc36.x86_64
kernel-devel-matched-6.0.8-200.fc36.x86_64
kernel-headers-6.0.5-200.fc36.x86_64
kernel-modules-6.0.8-200.fc36.x86_64
kernel-modules-extra-6.0.8-200.fc36.x86_64
kernel-srpm-macros-1.0-14.fc36.noarch
libreport-plugin-kerneloops-2.17.4-1.fc36.x86_64
which is an old fc36 kernel, not the one currently installed!
It looks to me like dnf/rpm is completely messed up!
Trying the command
% rpm -qf /usr/src/kernels/6.2.14-*
file /usr/src/kernels/6.2.14-100.fc36.x86_64 is not owned by any package
file /usr/src/kernels/6.2.14-300.fc38.x86_64 is not owned by any package
and there is no /usr/src/kernels/6.0.8-200.fc36.x86_64 since it has been cleaned when updating to a more recent version.
Running the command
% rpm -ql kernel-6.0.8-200.fc36.x86_64
(contains no files)
I am completely clueless what has gone wrong during the installation and I am not sure what to do or where to start looking at but from the gnome settings gnome version 44.1 is installed!
Any help would be highly appreciated.
Many thanks,
Patrick