Hide Forgot
Created attachment 1217540 [details] dnf librepo log Description of problem: I have only one kernel on my F24. Runing dnf update fails with Dependencies resolved. Error: The operation would result in removing the booted kernel: kernel-core-4.6.5-300.fc24.x86_64. I have only one kernel on the system $ rpm -q kernel kernel-4.6.5-300.fc24.x86_64 I'm trying to update to kernel.x86_64 4.8.4-200.fc24 updates $ rpm -q dnf dnf-1.1.10-1.fc24.noarch
Thanks for the report. Can you please upload debugdata [1]? And post what is your `installonly_limit` option set in /etc/dnf/dnf.conf. [1] https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#dependency-resolution-problem
Please do you have in /etc/dnf/dnf.conf options installonlypkgs=... ? If yes, the problem is here because the option in dnf-1.1 works that it overwrites default DNF values. Therefore for proper working it is necessary includes also DNF defaults for proper working. The behavior is changed with DNF 2.0 where installonlypkgs works like append where the user append value to default DNF kernel provides. Installonlypkgs DNF defaults are ['kernel', 'installonlypkg(kernel)', 'installonlypkg(kernel-module)', 'installonlypkg(vm)']
Please can you confirm if your problem is related to any of above possibilities?
I believe that our response solved the problem therefore I am closing the bug. Please if the problem appears again, don't hesitate to reopen the bug report. Have a nice day.