Bug 1470594

Summary: cannot install specific version - dnf? or kernel rpm problem?
Product: [Fedora] Fedora Reporter: lejeczek <peljasz>
Component: dnfAssignee: Jaroslav Mracek <jmracek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: dmach, gansalmon, ichavero, itamar, jmracek, jonathan, kernel-maint, madhu.chinakonda, mchehab, mhatina, packaging-team-maint, peljasz, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-24 17:44: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:
Embargoed:

Description lejeczek 2017-07-13 09:29:02 UTC
Description of problem:

Having rawhide kernel packages installed I do this:

$ sudo dnf install kernel-4.11.9-200.fc25 --allowerasing
Last metadata expiration check: 0:04:21 ago on Thu Jul 13 10:21:04 2017.
Error: package kernel-4.11.9-200.fc25.x86_64 requires kernel-core-uname-r = 4.11.9-200.fc25.x86_64, but none of the providers can be installed

Which obviously is not true:

$ sudo dnf list kernel-*-4.11.9-200.fc25 --showduplicates
Last metadata expiration check: 0:07:14 ago on Thu Jul 13 10:21:04 2017.
Available Packages
kernel-PAE-devel.i686                                            4.11.9-200.fc25                                updates
kernel-PAEdebug-devel.i686                                       4.11.9-200.fc25                                updates
kernel-core.x86_64                                               4.11.9-200.fc25                                updates
kernel-cross-headers.x86_64                                      4.11.9-200.fc25                                updates
kernel-debug.x86_64                                              4.11.9-200.fc25                                updates
kernel-debug-core.x86_64                                         4.11.9-200.fc25                                updates
kernel-debug-devel.i686                                          4.11.9-200.fc25                                updates
kernel-debug-devel.x86_64                                        4.11.9-200.fc25                                updates
kernel-debug-modules.x86_64                                      4.11.9-200.fc25                                updates
kernel-debug-modules-extra.x86_64                                4.11.9-200.fc25                                updates
kernel-devel.x86_64                                              4.11.9-200.fc25                                updates
kernel-headers.x86_64                                            4.11.9-200.fc25                                updates
kernel-modules.x86_64                                            4.11.9-200.fc25                                updates
kernel-modules-extra.x86_64                                      4.11.9-200.fc25                                updates
kernel-tools.x86_64                                              4.11.9-200.fc25                                updates
kernel-tools-libs.i686                                           4.11.9-200.fc25                                updates
kernel-tools-libs.x86_64                                         4.11.9-200.fc25                                updates
kernel-tools-libs-devel.i686                                     4.11.9-200.fc25                                updates
kernel-tools-libs-devel.x86_64                                   4.11.9-200.fc25                                updates
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jaroslav Mracek 2017-07-20 08:34:13 UTC
Please can you try to reproduce the problem with dnf-2.5+. It is available for rawhide, Fedora 26, or from our dnf-nightly repo for Fc24+ ("dnf copr enable rpmsoftwaremanagement/dnf-nightly")? 

If the problem is reproducible with dnf-2.5+ please provide:
1. Run it with --debugsolver option and provide debugsolver data
2. Provide /etc/dnf/dnf.conf
3. Please provide exact version of dnf, libdnf, libsolv (rpm -q <argumets>)

Comment 2 lejeczek 2017-07-22 07:51:44 UTC
In F26 I successfully installed: 
$ sudo dnf install kernel-4.11.10-300.fc26
and dnf did:
Removing:
 kernel                               x86_64                 4.12.0-0.rc0.git4.1.fc27                    @rawhide                   0  
 kernel-core                          x86_64                 4.12.0-0.rc0.git4.1.fc27                    @rawhide                  57 M
 kernel-modules                   

so I think it's good.

Comment 3 Jaroslav Mracek 2017-07-24 17:44:24 UTC
Thanks for your response and enjoy dnf-2.x