Bug 1566167

Summary: Cannot update rawhide due to conflicts in kernel-core
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, ewk, hdegoede, ichavero, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, labbott, linville, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-11 17:22:08 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:
Embargoed:

Description Milan Crha 2018-04-11 16:25:59 UTC
I tried to:

>   # dnf update

my rawhide machine today, which brought in:

>   Installing:
>    kernel                  x86_64 4.17.0-0.rc0.git4.1.fc29 rawhide   91 k
>    kernel-core             x86_64 4.17.0-0.rc0.git4.1.fc29 rawhide   25 M
>    kernel-modules          x86_64 4.17.0-0.rc0.git4.1.fc29 rawhide   28 M
>   .
>   .
>   .
>   Removing:
>    kernel                  x86_64 4.16.0-0.rc6.git1.1.fc29 @rawhide   0  
>    kernel-core             x86_64 4.16.0-0.rc6.git1.1.fc29 @rawhide  61 M
>    kernel-modules          x86_64 4.16.0-0.rc6.git1.1.fc29 @rawhide  27 M
>   Removing dependent packages:
>    kernel-modules-extra    x86_64 4.16.0-0.rc6.git1.1.fc29 @rawhide 2.2 M

but it failed with:

>   Running transaction check
>   Transaction check succeeded.
>   Running transaction test
>   The downloaded packages were saved in cache until the next successful transaction.
>   You can remove cached packages by executing 'dnf clean packages'.
>   Error: Transaction check error:
>     file /usr/share/licenses/kernel-core/COPYING from install of kernel-core-4.17.0-0.rc0.git4.1.fc29.x86_64 conflicts with file from package kernel-core-4.12.0-0.rc5.git0.1.fc27.x86_64
>     file /usr/share/licenses/kernel-core/COPYING from install of kernel-core-4.17.0-0.rc0.git4.1.fc29.x86_64 conflicts with file from package kernel-core-4.16.0-0.rc7.git1.1.fc29.x86_64

I have installed:

>   # rpm -q kernel-core
>   kernel-core-4.12.0-0.rc5.git0.1.fc27.x86_64
>   kernel-core-4.16.0-0.rc6.git1.1.fc29.x86_64
>   kernel-core-4.16.0-0.rc7.git1.1.fc29.x86_64

but I cannot remove any of those, because:

>   # dnf remove kernel-core-4.12.0-0.rc5.git0.1.fc27.x86_64 kernel-core-4.16.0-0.rc7.git1.1.fc29.x86_64
>   Error: 
>    Problem: The operation would result in removing the following protected packages: kernel-core

Thus I'm rather stuck until you fix it or you help me to fix it. Interestingly enough using:

>   # dnf update --skip-broken

doesn't help here.

Comment 1 Laura Abbott 2018-04-11 17:22:08 UTC

*** This bug has been marked as a duplicate of bug 1564906 ***