| Summary: | dnf update fails cos it's trying to remove booted kernel | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Radek Vokál <rvokal> | ||||
| Component: | dnf | Assignee: | rpm-software-management | ||||
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 24 | CC: | jmracek, mluscon, packaging-team-maint, rpm-software-management, rvokal, vmukhame | ||||
| Target Milestone: | --- | Flags: | jmracek:
needinfo?
(rvokal) |
||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-04-10 15:29:24 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
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. |
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