Bug 1367929 - kernel-4.8.0-0.rc2.git1.1.fc26 isn't giving correct dependencies - "uname -r" isn't getting parsed
Summary: kernel-4.8.0-0.rc2.git1.1.fc26 isn't giving correct dependencies - "uname -r"...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-17 20:50 UTC by Peter Gervase
Modified: 2016-08-17 21:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-17 21:05:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Gervase 2016-08-17 20:50:28 UTC
Description of problem:
When trying to install a kernel, "uname -r" is getting written out in the rpm dependency:
$ sudo rpm -ivh kernel-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm 
error: Failed dependencies:
        kernel-core-uname-r = 4.8.0-0.rc2.git1.1.fc26.x86_64 is needed by kernel-4.8.0-0.rc2.git1.1.fc26.x86_64
        kernel-modules-uname-r = 4.8.0-0.rc2.git1.1.fc26.x86_64 is needed by kernel-4.8.0-0.rc2.git1.1.fc26.x86_64


Version-Release number of selected component (if applicable):
rpm-4.13.0-0.rc1.41.fc26.x86_64
kernel-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm

How reproducible:
100%

Steps to Reproduce:
1. try to install the rpm as shown above
2.
3.

Actual results:
dep errors that have wrong rpm name

Expected results:
$ sudo rpm -ivh kernel-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm 
error: Failed dependencies:
        kernel-core-4.8.0-0.rc2.git1.1.fc26.x86_64 = 4.8.0-0.rc2.git1.1.fc26.x86_64 is needed by kernel-4.8.0-0.rc2.git1.1.fc26.x86_64
        kernel-modules-4.8.0-0.rc2.git1.1.fc26.x86_64 = 4.8.0-0.rc2.git1.1.fc26.x86_64 is needed by kernel-4.8.0-0.rc2.git1.1.fc26.x86_64

Additional info:

Comment 1 Adam Williamson 2016-08-17 21:05:54 UTC
This isn't a bug, you're just not installing the right packages :)

You need to install kernel-core-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm and kernel-modules-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm as well as kernel-4.8.0-0.rc2.git1.1.fc26.x86_64.rpm . If you look at the provides of the kernel-core and kernel-modules packages you'll see they actually provide 'kernel-core-uname-r' and 'kernel-modules-uname-r'.


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