Unexpected kernel removal in the transaction #2127
Labels
Priority: MEDIUM
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
If the number of installed kernels exceeds the
installonly_limit
, any DNF transaction - even those that do not involve the kernel package - will result in the removal of excess kernels. This behavior is unexpected and it's a regression comparing to dnf4.Let's lower installonly_limit config option and try to install a random package:
With dnf4 everything behaves as expected:
I believe DNF should remove excess installonly package versions only when the package name itself is part of the transaction (or even inbound part of the transaction).
Related Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2350483
The text was updated successfully, but these errors were encountered: