Bug 1074400 - [kernel] update omits kernel, but updates kernel-headers kernel-devel
Summary: [kernel] update omits kernel, but updates kernel-headers kernel-devel
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-10 05:23 UTC by Chris Murphy
Modified: 2014-03-10 10:11 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-10 10:11:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debugdata.tar.gz (6.22 MB, application/x-gzip)
2014-03-10 05:26 UTC, Chris Murphy
no flags Details
debugsolver.tar.gz per comment 2 (6.22 MB, application/x-gzip)
2014-03-10 05:36 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2014-03-10 05:23:32 UTC
Description of problem: Upon initating an update, dnf proposes updating kernel-headers, and kernel-devel but not kernel.


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


How reproducible:
Always


Steps to Reproduce:
1. Running kernel 3.14.0-0.rc5.git0.1.fc21.1.x86_64
2. kernel-3.13.5-200.fc20.x86_64 is installed as are mismatching versions:
kernel-headers-3.13.5-202.fc20.x86_64
kernel-devel-3.13.5-202.fc20.x86_64

So -200 for kernel, and -202 for headers+devel.

3. dnf update


Actual results:

---> Package kernel-devel.x86_64 3.13.5-202.fc20 will be upgraded
---> Package kernel-devel.x86_64 3.13.6-200.fc20 will be an upgrade
---> Package kernel-headers.x86_64 3.13.5-202.fc20 will be upgraded
---> Package kernel-headers.x86_64 3.13.6-200.fc20 will be an upgrade

Expected results:

That kernel, kernel-devel, kernel-headers, version 3.13.5-202.fc20, will be an upgrade for all exiting 3.13.5-XXX versions of those packages.

Additional info:

# rpm -qa kernel\*
kernel-3.13.5-200.fc20.x86_64
kernel-3.14.0-0.rc5.git0.1.fc21.1.x86_64
kernel-headers-3.13.5-202.fc20.x86_64
kernel-devel-3.13.5-202.fc20.x86_64

Comment 1 Chris Murphy 2014-03-10 05:26:06 UTC
Created attachment 872576 [details]
debugdata.tar.gz

Comment 2 Chris Murphy 2014-03-10 05:35:13 UTC
After proceeding with the prescribed update and rebooting, dnf still isn't recognizing that installed kernel-3.13.5-200.fc20.x86_64 should be updated to 3.13.6-200 which is listed in bodhi as stable, FEDORA-2014-3655. It reports Dependencies resolved. Nothing to do. Will attach another debugsolver archive.

Comment 3 Chris Murphy 2014-03-10 05:36:34 UTC
Created attachment 872577 [details]
debugsolver.tar.gz per comment 2

Comment 4 Chris Murphy 2014-03-10 05:37:55 UTC
# dnf clean all
# dnf update

Resolving dependencies
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.
Nothing to do.

Comment 5 Ales Kozumplik 2014-03-10 09:12:16 UTC
Hello,

What you got is the expected behavior: libsolv sees no benefit in it for the system if there is already 3.14.0 installed to add a newer 3.13.* version. Before I close this: Michael, can you please confirm this is by design?

You can install the old kernel package with

dnf install kernel-<EVRA>

Comment 6 Michael Schröder 2014-03-10 10:04:42 UTC
Yes, libsolv has no special magic that splits the version into (version-release) tuples and tries to update to the latest release for every version.

I also don't think that such a behavior would make sense for packages other than the kernel. (IMHO all the multiversion handling only makes sense for the kernel, so it's kind of an historic thing.)

Comment 7 Ales Kozumplik 2014-03-10 10:11:25 UTC
Thank you Michal.

Closing this, this is the expected behavior.


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