Bug 1054424 - [kernel] bogus package X requires X but none of the providers can be installed
Summary: [kernel] bogus package X requires X but none of the providers can be installed
Keywords:
Status: CLOSED DUPLICATE of bug 1033881
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-16 19:28 UTC by Chris Murphy
Modified: 2014-09-30 23:42 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-22 06:09:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
strace dnf update kernel (2.21 MB, text/plain)
2014-01-16 19:33 UTC, Chris Murphy
no flags Details
yum update output (7.48 KB, text/plain)
2014-01-16 19:36 UTC, Chris Murphy
no flags Details
debugdata.tar.gz (5.86 MB, application/x-tgz)
2014-01-20 18:18 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2014-01-16 19:28:20 UTC
Description of problem:
When updating kernel from local rpm, dnf complains that package kernel-modules-extra requires a differently running kernel, which makes zero sense.

Version-Release number of selected component (if applicable):
dnf-0.4.11-1.fc20.noarch

How reproducible:
Always at present.

Steps to Reproduce:
1. dnf update kernel-3.13.0-0.rc8.git0.1.fc21.x86_64.rpm

More detailed steps to reproduce the condition, rather than just the error message, is clean install F20 which includes kernel-modules-extra which I don't ever download/install when using koji rawhide kernels on F20; the first update kernel goes fine but subsequent update attempts produce this error message probably because I'm booted from the newer kernel which doesn't have kernel-modules-extra available.


Actual results:
-rw-r--r--. 1 root root 32009300 Jan 16 12:17 kernel-3.13.0-0.rc8.git0.1.fc21.x86_64.rpm
# dnf update kernel-3.13.0-0.rc8.git0.1.fc21.x86_64.rpm
Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Error: package kernel-modules-extra-3.12.5-301.fc20.x86_64 requires kernel-uname-r = 3.12.5-301.fc20.x86_64, but none of the providers can be installed

Expected results:

yum installs this kernel without complaints

Additional info:

# uname -r
3.13.0-0.rc5.git0.1.fc21.x86_64

# rpm -qa kernel\*
kernel-3.13.0-0.rc5.git0.1.fc21.x86_64
kernel-3.13.0-0.rc4.git0.1.fc21.x86_64
kernel-3.12.5-301.fc20.x86_64
kernel-modules-extra-3.13.0-0.rc4.git0.1.fc21.x86_64
kernel-modules-extra-3.12.5-301.fc20.x86_64


This is probably resolvable by either always updating kernel-modules-extra, or deleting all prior kernel-module-extra packages. But yum doesn't complain about this mismatching, it doesn't care that I'm no longer updating kernel-modules-extra so I don't really understand why dnf cares at all.

Comment 1 Chris Murphy 2014-01-16 19:31:57 UTC
hawkey-0.4.7-1.fc20.x86_64

Comment 2 Chris Murphy 2014-01-16 19:33:27 UTC
Created attachment 851239 [details]
strace dnf update kernel

Full strace output from dnf update. This isn't terribly enlightening to me, but maybe it's helpful.


write(1, "--> Finished dependency resoluti"..., 35--> Finished dependency resolution
) = 35
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2427, ...}) = 0
write(3, "Jan 16 12:29:20 INFO --> Finishe"..., 56) = 56
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2427, ...}) = 0
write(3, "Jan 16 12:29:20 DEBUG Depsolve t"..., 43) = 43
write(2, "Error: package kernel-modules-ex"..., 152Error: package kernel-modules-extra-3.12.5-301.fc20.x86_64 requires kernel-uname-r = 3.12.5-301.fc20.x86_64, but none of the providers can be installed
) = 152

Comment 3 Chris Murphy 2014-01-16 19:36:45 UTC
Created attachment 851250 [details]
yum update output

Complete yum update output. The relevant part is how yum deals with this same assertion:

--> Running transaction check
---> Package kernel.x86_64 0:3.12.5-301.fc20 will be erased
--> Processing Dependency: kernel-uname-r = 3.12.5-301.fc20.x86_64 for package: kernel-modules-extra-3.12.5-301.fc20.x86_64
--> Running transaction check
---> Package kernel-modules-extra.x86_64 0:3.12.5-301.fc20 will be erased
--> Finished Dependency Resolution

It decided to remove both kernel-3.12.5-301.fc20 and kernel-modules-extra-3.12.5-301.fc20.

Comment 4 Radek Holy 2014-01-17 09:58:16 UTC
Hello, thank you for the report.

Can you please try again attaching the depsolving info as described by http://dnf.baseurl.org/2013/11/25/reporting-depsolving-bugs/ ?

We will take a look at it.

Comment 5 Chris Murphy 2014-01-20 18:18:12 UTC
Created attachment 852813 [details]
debugdata.tar.gz

dnf --debugsolver update kernel-3.13.0-0.rc8.git0.1.fc21.x86_64.rpm

Comment 6 Ales Kozumplik 2014-01-21 11:31:17 UTC
Probably bug 1033881 duplicate.

Chris, can you try to update hawkey to hawkey-0.4.8 [1] that was just releaed today and report how it went? Please attach the debugdata again if it fails.

[1] https://admin.fedoraproject.org/updates/hawkey-0.4.8-1.fc20?_csrf_token=4789db46071d19c732713a43fb5a79c3d2cf2d6b

Comment 7 Chris Murphy 2014-01-21 23:32:30 UTC
dnf 0.4.12-1.fc20
hawkey 0.4.8-1.fc20

Problem is not reproducible.

Comment 8 Ales Kozumplik 2014-01-22 06:09:06 UTC
Thanks! Closing as dupe.

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


Note You need to log in before you can comment on or make changes to this bug.