Bug 21180

Summary: Impossible to upgrade kernel-firmware using # dnf upgrade
Product: Mageia Reporter: Ulrich Beckmann <bequimao.de>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: marc.lattemann, ngompa13
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kernel-firmware-20170531-1.mga6.noarch CVE:
Status comment:
Attachments: CLI output of first attempt

Description Ulrich Beckmann 2017-07-03 18:14:05 CEST
Description of problem:
# dnf upgrade does not upgrade to kernel-firmware-20170531-1.mga6.noarch.

The error message is 
'Problem: package kernel-firmware-20170531-1.mga6.noarch conflicts with kernel-firmware-extra < 20170531-1 provided by kernel-firmware-nonfree-20170422-1.mga6.nonfree.noarch'

I see various possibilities here:
a) a bug in the dnf resolver
b) an error of a package specification
c) a missing update candidate for kernel-firmware-nonfree

N.B. packagekit does upgrade in another installation, and so does urpmi.
see also https://forums.mageia.org/de/viewtopic.php?f=18&t=3076 (German)


Version-Release number of selected component (if applicable):
kernel-firmware-20170531-1.mga6.noarch
dnf-2.5.1-2.mga6

Ulrich Beckmann
Comment 1 Ulrich Beckmann 2017-07-03 18:17:58 CEST
Created attachment 9456 [details]
CLI output of first attempt
Comment 2 Ulrich Beckmann 2017-07-03 18:20:05 CEST
cc'ing Neal Gompa as dnf maintainer

Ulrich

CC: (none) => ngompa13

Comment 3 Neal Gompa 2017-07-03 18:26:51 CEST
This sounds like you don't have the nonfree repo enabled on your system.

Can you provide the CLI output of "dnf repolist"?
Comment 4 Ulrich Beckmann 2017-07-03 18:50:54 CEST
(In reply to Neal Gompa from comment #3)
> This sounds like you don't have the nonfree repo enabled on your system.
> 
> Can you provide the CLI output of "dnf repolist"?

True. Thanks for your prompt help. It is not a bug.

Ulrich

Resolution: (none) => INVALID
Status: NEW => RESOLVED

Comment 5 Marc Lattemann 2017-07-04 19:22:08 CEST
Indeed, only core and update repos are activated at default (however, it's an quite old MGA6 installation, maybe it's changed already). Nor non-free or tainted.

For future releases (Mga7?) it's might be possible to link with the question in the installer to have the same repos activated in urpmi and dnf? Not sure, if that's feasible, though ;)

CC: (none) => marc.lattemann

Comment 6 Neal Gompa 2017-07-04 19:29:17 CEST
I wanted to have something for Mageia 6, but I've had a hard time writing a parser for urpmi.cfg to map urpmi selections to dnf ones.
Comment 7 Marc Lattemann 2017-07-04 20:35:20 CEST
We all appreciate the work you did and you are doing already right now.