Bug 22316 - Rename of iwlwifi-agn-ucode to iwlwifi-firmware breaks installer
Summary: Rename of iwlwifi-agn-ucode to iwlwifi-firmware breaks installer
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard: MGA6TOO
Keywords:
: 22360 (view as bug list)
Depends on: 23169
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-04 15:34 CET by Martin Whitaker
Modified: 2018-08-21 22:07 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Martin Whitaker 2018-01-04 15:34:38 CET
Trying to rebuild a Live ISO, I get:

* ERROR: selection failed: iwlwifi-agn-ucode-20170531-1.mga6.nonfree.noarch (due to conflicts with iwlwifi-firmware-20171220-1.mga6.nonfree.noarch)

I suspect this is because iwlwifi-agn-ucode is present in rpmsrate.

remove_unused_packages() in libDrakX/pkgs.pm also needs to be updated with the new name.
Comment 1 Thomas Backlund 2018-01-04 15:47:03 CET
Oh fun...

Seems it does not handle the virtual provides :/

http://svnweb.mageia.org/packages/updates/6/kernel-firmware-nonfree/current/SPECS/kernel-firmware-nonfree.spec?r1=1179830&r2=1181599
Comment 2 Martin Whitaker 2018-01-04 15:56:03 CET
Yes, even if I change the name in rpmsrate, it decides to install iwlwifi-agn-ucode anyway and fails in the installation phase.
Comment 3 Marja Van Waes 2018-01-05 11:36:57 CET
Is this an issue in cauldron, too?

Assignee: bugsquad => kernel
CC: (none) => marja11

Comment 4 Thomas Backlund 2018-01-05 11:37:49 CET
yep, I'll start fixing it up this weekend
Marja Van Waes 2018-01-05 11:40:55 CET

Version: 6 => Cauldron
Whiteboard: (none) => MGA6TOO

Comment 5 Martin Whitaker 2018-01-05 11:52:33 CET
If we are going to push a new version of drakxtools to mga6 (to fix pkgs.pm), I'd like to get some other fixes included (particularly the ones for adding/removing nokmsboot when switching display drivers). But I've not managed to get a response from tv about these.
Comment 6 Thomas Backlund 2018-01-05 12:28:33 CET
(In reply to Martin Whitaker from comment #5)
> If we are going to push a new version of drakxtools to mga6 (to fix
> pkgs.pm), I'd like to get some other fixes included (particularly the ones
> for adding/removing nokmsboot when switching display drivers). But I've not
> managed to get a response from tv about these.

Yes we are, not only for this, I need to update firmware and module list too..

Can you list the bugs so I can merge them
Comment 7 Martin Whitaker 2018-01-05 13:06:46 CET
(In reply to Thomas Backlund from comment #6)
> Can you list the bugs so I can merge them

Apply in this order:

bug 21263 (two patches)
bug 21246
bug 21247
bug 22032
bug 22059
Comment 8 Thomas Backlund 2018-01-09 20:18:55 CET
*** Bug 22360 has been marked as a duplicate of this bug. ***

CC: (none) => jyri2000

Comment 9 Mageia Robot 2018-01-09 20:34:44 CET
commit c307169409a13fab669f863fdfa41364c319b20d
Author: Thomas Backlund <tmb@...>
Date:   Tue Jan 9 21:34:38 2018 +0200

    iwlwifi-agn-ucode is renamed to iwlwifi-firmware (mga#22316)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=c307169409a13fab669f863fdfa41364c319b20d
Comment 10 Thomas Backlund 2018-01-09 22:21:54 CET
(In reply to Martin Whitaker from comment #7)
> (In reply to Thomas Backlund from comment #6)
> > Can you list the bugs so I can merge them
> 
> Apply in this order:
> 
> bug 21263 (two patches)
> bug 21246
> bug 21247
> bug 22032
> bug 22059

All merged, please check if I missed something
Comment 11 Martin Whitaker 2018-01-09 22:40:08 CET
(In reply to Thomas Backlund from comment #10)
> All merged, please check if I missed something

Just the second patch in bug 21263 (which originally comes from bug 18783)
Comment 12 Thomas Backlund 2018-01-09 22:43:18 CET
(In reply to Martin Whitaker from comment #11)
> (In reply to Thomas Backlund from comment #10)
> > All merged, please check if I missed something
> 
> Just the second patch in bug 21263 (which originally comes from bug 18783)

You mean :
http://gitweb.mageia.org/software/drakx/commit/?id=a2594a936ea91a08881cb40e056f1407065a2ee6
Comment 13 Martin Whitaker 2018-01-09 22:52:00 CET
(In reply to Thomas Backlund from comment #12)
> (In reply to Martin Whitaker from comment #11)
> > (In reply to Thomas Backlund from comment #10)
> > > All merged, please check if I missed something
> > 
> > Just the second patch in bug 21263 (which originally comes from bug 18783)
> 
> You mean :
> http://gitweb.mageia.org/software/drakx/commit/
> ?id=a2594a936ea91a08881cb40e056f1407065a2ee6

Yes. Sorry, it seems to have gone missing in my local copy, and I missed the fact that it was reversed when I did a diff.
Comment 14 Jybz 2018-01-30 17:24:27 CET
Hi all !

Is it related or should I open a new bug report ? 
https://framapic.org/yCXOu7BKzWSZ/M2GQmzOfbGtE.png

I note that Drakconf ask me always to install iwlwifi, I try to do it manually in order to see what is wrong, it was already installed. So why drakconf ask again ? ^^

CC: (none) => j.biernacki

Comment 15 Martin Whitaker 2018-02-01 00:51:56 CET
(In reply to J-B B from comment #14)
> Is it related or should I open a new bug report ? 
> https://framapic.org/yCXOu7BKzWSZ/M2GQmzOfbGtE.png

It's certainly related, and I suspect just needs the fixes already in cauldron to be pushed to Mageia 6 to fix it there too.
Comment 16 claire robinson 2018-02-13 18:50:36 CET
Perhaps related too, file conflict, can create a new bug though if you prefer.

# urpmf /lib/firmware/intel/dsp_fw_glk.bin
iwlwifi-agn-ucode:/lib/firmware/intel/dsp_fw_glk.bin
kernel-firmware-nonfree:/lib/firmware/intel/dsp_fw_glk.bin

Prevents update of old install.

Installation failed:    file /lib/firmware/intel/dsp_fw_glk.bin from install of kernel-firmware-nonfree-20171220-1.mga6.nonfree.noarch conflicts with file from package iwlwifi-agn-ucode-20170531-1.mga6.nonfree.noarch

# uname -a
Linux localhost 4.9.40-desktop-1.mga6 #1 SMP Fri Jul 28 00:35:13 UTC 2017 i686 i686 i686 GNU/Linux

CC: (none) => eeeemail

Comment 17 Thomas Backlund 2018-02-17 18:41:45 CET
(In reply to claire robinson from comment #16)
> Perhaps related too, file conflict, can create a new bug though if you
> prefer.
> 
> # urpmf /lib/firmware/intel/dsp_fw_glk.bin
> iwlwifi-agn-ucode:/lib/firmware/intel/dsp_fw_glk.bin
> kernel-firmware-nonfree:/lib/firmware/intel/dsp_fw_glk.bin
> 
> Prevents update of old install.
> 
> Installation failed:    file /lib/firmware/intel/dsp_fw_glk.bin from install
> of kernel-firmware-nonfree-20171220-1.mga6.nonfree.noarch conflicts with
> file from package iwlwifi-agn-ucode-20170531-1.mga6.nonfree.noarch

Yeah, its a missing conflict for smooth upgrade, will fix in the next firmware update
Comment 18 claire robinson 2018-02-17 21:02:38 CET
That was mga6 update rather than mga5 upgrade Thomas. It might be prudent to fix sooner.
Comment 19 Thomas Backlund 2018-02-17 21:18:42 CET
(In reply to claire robinson from comment #18)
> That was mga6 update rather than mga5 upgrade Thomas. It might be prudent to
> fix sooner.

yeah, I meant for a smooth upgrade from any system with iwlwifi-agn-ucode iwlwifi-firmware 

I've already pushed a new ernel-firmware-nonfree-20180211-1 to cauldron and mga6 testing to fix this up...
Comment 20 Thomas Backlund 2018-02-17 21:19:33 CET
(In reply to Thomas Backlund from comment #19)
> (In reply to claire robinson from comment #18)
> > That was mga6 update rather than mga5 upgrade Thomas. It might be prudent to
> > fix sooner.
> 
> yeah, I meant for a smooth upgrade from any system with iwlwifi-agn-ucode

to

> iwlwifi-firmware 
>
Comment 21 Martin Whitaker 2018-04-29 10:47:38 CEST
Can the drakx fixes be pushed to mga6 now? We won't be able to build 6.1 ISOs (assuming we ever get there...) until this bug is fixed.
Martin Whitaker 2018-06-11 23:04:48 CEST

Depends on: (none) => 23169

Comment 23 Martin Whitaker 2018-08-21 22:07:33 CEST
Now fixed everywhere.

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


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