After upgrading to Fedora 40 I noticed that the kernel
package seems to be marked as automatically installed:
# dnf remove virtualbox-guest-additions
Updating Subscription Management repositories.
Dependencies resolved.
==============================================================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================================================
Removing:
virtualbox-guest-additions x86_64 7.0.16-1.fc40 @updates 2.7 M
Removing unused dependencies:
kernel x86_64 6.8.5-201.fc39 @updates 0
kernel x86_64 6.8.6-200.fc39 @updates 0
kernel x86_64 6.8.7-200.fc39 @updates 0
kernel x86_64 6.8.7-300.fc40 @updates 0
kernel-modules x86_64 6.8.5-201.fc39 @updates 58 M
kernel-modules x86_64 6.8.6-200.fc39 @updates 58 M
kernel-modules x86_64 6.8.7-200.fc39 @updates 58 M
kernel-modules x86_64 6.8.7-300.fc40 @updates 58 M
Transaction Summary
==============================================================================================================================================================================================================================================
Remove 9 Packages
Freed space: 235 M
Is this ok [y/N]:
I resolved this with dnf mark install kernel
. Was that the right thing to do?