It wants to remove 83 packages when I issue that command. If I specify --noautoremove
it still wants to remove 24 packages.
Are the packages to be removed with --noautoremove all kernel packages?
Post the list so we can see if it would cause a problem.
There are 11 kernel packages, and here are the rest.
Removing dependent packages:
annobin-plugin-gcc x86_64 12.02-1.fc37 @updates 897 k
gcc x86_64 12.2.1-4.fc37 @updates 91 M
gcc-c++ x86_64 12.2.1-4.fc37 @updates 34 M
gcc-gdb-plugin x86_64 12.2.1-4.fc37 @updates 336 k
gcc-plugin-annobin x86_64 12.2.1-4.fc37 @updates 53 k
glibc-devel x86_64 2.36-9.fc37 @updates 97 k
libtool x86_64 2.4.7-2.fc37 @fedora 2.6 M
libxcrypt-devel x86_64 4.4.33-4.fc37 @updates 30 k
net-snmp-devel x86_64 1:5.9.3-1.fc37 @fedora 768 k
perl-devel x86_64 4:5.36.0-492.fc37 @fedora 7.8 M
python3-qt5-devel x86_64 5.15.9-2.fc37 @updates 2.7 M
qt5-qtbase-devel x86_64 5.15.9-1.fc37 @updates 19 M
qt5-rpm-macros noarch 5.15.9-1.fc37 @updates 1.6 k
I had hoped you would give the full list so we could see what kernel packages were to be removed as well. Is kernel-devel among those?
Since none of those are critical to operation, and the needed ones easily reinstalled it should not hurt to remove them. Note which ones are removed so you can ensure they are reinstalled later.
Any that are needed would immediately be reinstalled when the new kernel is installed.
Here are the kernel packages:
kernel x86_64 6.2.8-200.fc37 @updates 0
kernel x86_64 6.2.9-200.fc37 @updates 0
kernel-core x86_64 6.2.8-200.fc37 @updates 64 M
kernel-core x86_64 6.2.9-200.fc37 @updates 64 M
kernel-headers x86_64 6.2.6-200.fc37 @updates 5.9 M
kernel-modules x86_64 6.2.8-200.fc37 @updates 61 M
kernel-modules x86_64 6.2.9-200.fc37 @updates 61 M
kernel-modules-core x86_64 6.2.8-200.fc37 @updates 36 M
kernel-modules-core x86_64 6.2.9-200.fc37 @updates 36 M
kernel-modules-extra x86_64 6.2.8-200.fc37 @updates 3.4 M
kernel-modules-extra x86_64 6.2.9-200.fc37 @updates 3.4 M```
Personally I would go ahead and remove those kernels with the noautoremove option then do the dnf upgrade as noted above.
I was hesitant to remove those dependent packages. So i just removed one 6.2 kernel with yum remove 'kernel*6.2.8*' --noautoremove
. Then I updated everything and today it is working with the 6.2.15
kernel and nouveau 1:1.0.17-4.fc37
. Thanks for all the advice. Now I am being prompted to install Fedora 38. Will I still have my 6.1 kernel installed if I do that?
It is always recommended to do a full upgrade with dnf upgrade --refresh
before doing a release version upgrade. You said that the 6.2.15 kernel is working for you so I would not worry to much about the 6.1 kernel. That kernel is already obsolete for most, and will no longer receive updates.