package linux-firmware 1.194 [modified: lib/firmware/brcm/brcmfmac43430-sdio.bin lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt lib/firmware/brcm/brcmfmac43455-sdio.bin lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt] failed to install/upgrade: trying to overwrite '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob', which is also in package linux-firmware-raspi2 3-0ubuntu2

Bug #1918013 reported by fossfreedom
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned
Hirsute
Invalid
Undecided
Unassigned
linux-firmware-raspi2 (Ubuntu)
Fix Released
Undecided
Dave Jones
Focal
Fix Released
Undecided
William Wilson
Groovy
Fix Released
Undecided
William Wilson
Hirsute
Fix Released
Undecided
Dave Jones

Bug Description

[SRU Information]

[Impact]

The same file was provided by two packages, causing errors when upgrading.

[Test Case]

* Boot an ubuntu image on a Raspberry Pi.
* "sudo apt update"
* "sudo apt upgrade"
* Install linux-firmware-raspi2 from -proposed. No errors should occur.

[Regression Potential]
If any files are added or removed from either linux-firmware or linux-firmware-raspi2 we could see degraded functionality or another error like what is reported in this bug.

[Original Description]

Upgrade error

Unpacking linux-firmware (1.195) over (1.194) ...
dpkg: error processing archive /tmp/apt-dpkg-install-N6i2Cp/86-linux-firmware_1.
195_all.deb (--unpack):
 trying to overwrite '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob', which is
also in package linux-firmware-raspi2 3-0ubuntu2
update-initramfs: Generating /boot/initrd.img-5.8.0-1017-raspi

ProblemType: Package
DistroRelease: Ubuntu 21.04
Package: linux-firmware 1.194 [modified: lib/firmware/brcm/brcmfmac43430-sdio.bin lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt lib/firmware/brcm/brcmfmac43455-sdio.bin lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt]
ProcVersionSignature: Ubuntu 5.8.0-1017.20+21.04.1-raspi 5.8.18
Uname: Linux 5.8.0-1017-raspi aarch64
ApportVersion: 2.20.11-0ubuntu59
Architecture: arm64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: dad 1239 F.... pulseaudio
 /dev/snd/pcmC1D0p: dad 1239 F...m pulseaudio
 /dev/snd/controlC0: dad 1239 F.... pulseaudio
CasperMD5CheckResult: unknown
Date: Sat Mar 6 14:59:23 2021
Dependencies:

ErrorMessage: trying to overwrite '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob', which is also in package linux-firmware-raspi2 3-0ubuntu2
ImageMediaBuild: 20210302
Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805 USB 3.0 Host Controller
PackageArchitecture: all
ProcFB: 0 vc4drmfb
ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:1280x1024M@60 smsc95xx.macaddr=DC:A6:32:D1:3E:28 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.9, Python 3.9.2, python3-minimal, 3.9.1-1
PythonDetails: N/A
RelatedPackageVersions: grub-pc N/A
SourcePackage: linux-firmware
StagingDrivers: bcm2835_v4l2 bcm2835_isp bcm2835_codec bcm2835_mmal_vchiq snd_bcm2835 vc_sm_cma
Title: package linux-firmware 1.194 [modified: lib/firmware/brcm/brcmfmac43430-sdio.bin lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt lib/firmware/brcm/brcmfmac43455-sdio.bin lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt] failed to install/upgrade: trying to overwrite '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob', which is also in package linux-firmware-raspi2 3-0ubuntu2
UpgradeStatus: No upgrade log present (probably fresh install)
acpidump:

CVE References

Revision history for this message
fossfreedom (fossfreedom) wrote :
Revision history for this message
Juerg Haefliger (juergh) wrote :

linux-firmware 1.195 provides the following firmware files:

brcm/brcmfmac43430-sdio.bin
brcm/brcmfmac43455-sdio.bin
brcm/brcmfmac43455-sdio.clm_blob

which are also provided by linux-firmware-raspi2.

This is due to upstream linux-firmware commit:

commit a28a5905b0fb6d84e02e45ae77cc450dea1494d1
Author: Jeremy Linton <email address hidden>
Date: Fri Jan 8 14:44:20 2021 -0600

    cypress: Fix link direction

    It appears the link direction was incorrect resulting
    in dangling symlinks. This also causes the brcm devices
    to be unable to find their firmware

    Fixes: 060ad8b3d505e ("cypress: Link the new cypress firmware to the old brcm files")
    Signed-off-by: Jeremy Linton <email address hidden>
    Cc: Peter Robinson <email address hidden>
    Cc: Hans de Goede <email address hidden>
    Cc: Chi-Hsien Lin <email address hidden>
    Cc: Josh Boyer <email address hidden>
    Reviewed-by: Hans de Goede <email address hidden>
    Signed-off-by: Josh Boyer <email address hidden>

Revision history for this message
Juerg Haefliger (juergh) wrote :

The binaries are different so presumably what we get from raspberrypi firmware-nonfree is newer and better tested. I guess we need to add more diversions to linux-firmware-raspi2.

Changed in linux-firmware (Ubuntu Hirsute):
status: New → Triaged
Changed in linux-firmware-raspi2 (Ubuntu Hirsute):
status: New → Triaged
Changed in linux-firmware (Ubuntu Hirsute):
status: Triaged → Invalid
Dave Jones (waveform)
Changed in linux-firmware-raspi2 (Ubuntu Hirsute):
assignee: nobody → Dave Jones (waveform)
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware-raspi2 - 4-0ubuntu1

---------------
linux-firmware-raspi2 (4-0ubuntu1) hirsute; urgency=medium

  * Added diversions for all wifi firmware blobs (LP: #1918013)
  * New upstream boot firmware release, 1.20210303
  * New upstream bluetooth firmware release, 1.2-4+rpt8

    [ Phil Elwell ]
    - Second Spectra fix for CYW43455 (CVE-2020-10370)
      - Original firmware name: BCM4345C0_003.001.025.0174.0342.hcd

  * New upstream wifi firmware release, 1:20190114-1+rpt11

    [ Serge Schneider ]
    - Update CYW43455 firmware
      - brcm/brcmfmac43455-sdio.bin 7.45.229
      - See: https://github.com/raspberrypi/linux/issues/3849

 -- Dave Jones <email address hidden> Thu, 11 Mar 2021 14:19:26 +0000

Changed in linux-firmware-raspi2 (Ubuntu Hirsute):
status: In Progress → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

Since this bug is a packaging issue being fixed in this SRU, it needs SRU information documented please, and should be verified as part of the SRU being landed.

Please also triage other similar-looking package conflicts such as bug 1691729 and bug 1927240. I assume these are covered already so am not blocking this SRU landing in -proposed but someone ought to verify that before landing all the new diversions into -updates.

I'd also like you to look at bug 1927711 please, but again I don't think this should be a blocker right now. However if this situation occurs again I think it'd be appropriate to do it before landing a further SRU with further diversions.

description: updated
Changed in linux-firmware-raspi2 (Ubuntu Groovy):
status: New → Fix Committed
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello fossfreedom, or anyone else affected,

Accepted linux-firmware-raspi2 into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware-raspi2/4-0ubuntu0~20.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware-raspi2 (Ubuntu Focal):
status: New → Fix Committed
Revision history for this message
Robie Basak (racb) wrote :

Hello fossfreedom, or anyone else affected,

Accepted linux-firmware-raspi2 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware-raspi2/4-0ubuntu0~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware-raspi2 (Ubuntu Focal):
assignee: nobody → William Wilson (jawn-smith)
Changed in linux-firmware-raspi2 (Ubuntu Groovy):
assignee: nobody → William Wilson (jawn-smith)
description: updated
Revision history for this message
William Wilson (jawn-smith) wrote :
Download full text (4.2 KiB)

The verification passed for groovy.

ubuntu@ubuntu:~$ apt-cache policy linux-firmware-raspi2
linux-firmware-raspi2:
  Installed: 2-0ubuntu2
  Candidate: 4-0ubuntu0~20.10.1
  Version table:
     4-0ubuntu0~20.10.1 500
        500 http://ports.ubuntu.com/ubuntu-ports groovy-proposed/restricted armhf Packages
     3-0ubuntu2~20.10.1 500
        500 http://ports.ubuntu.com/ubuntu-ports groovy-updates/restricted armhf Packages
 *** 2-0ubuntu2 500
        500 http://ports.ubuntu.com/ubuntu-ports groovy/restricted armhf Packages
        100 /var/lib/dpkg/status

ubuntu@ubuntu:~$ sudo apt install linux-firmware-raspi2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.
Need to get 5396 kB of archives.
After this operation, 97.3 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports groovy-proposed/restricted armhf linux-firmware-raspi2 armhf 4-0ubuntu0~20.10.1 [5396 kB]
Fetched 5396 kB in 1s (5761 kB/s)
(Reading database ... 68075 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_4-0ubuntu0~20.10.1_armhf.deb ...
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.bin to /lib/firmware/brcm/brcmfmac43436-sdio.bin.distrib by linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.clm_blob to /lib/firmware/brcm/brcmfmac43436-sdio.clm_blob.distrib by linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.txt to /lib/firmware/brcm/brcmfmac43436-sdio.txt.distrib by linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob to /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.bin to /lib/firmware/brcm/brcmfmac43456-sdio.bin.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43456-sdio.bin' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.clm_blob to /lib/firmware/brcm/brcmfmac43456-sdio.clm_blob.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-model-b.txt to /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-model-b.txt.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-model-b.txt' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt to /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,4-compute-module.txt.distrib by linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400.txt to /lib/firmware/brcm/brcmfmac43456-sdio.raspberrypi,400...

Read more...

Revision history for this message
William Wilson (jawn-smith) wrote :
Download full text (5.4 KiB)

The verification passed for focal:

ubuntu@ubuntu:~$ apt-cache policy linux-firmware-raspi2
linux-firmware-raspi2:
  Installed: 3-0ubuntu2~20.04.1
  Candidate: 4-0ubuntu0~20.04.1
  Version table:
     4-0ubuntu0~20.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-proposed/multiverse armhf Packages
 *** 3-0ubuntu2~20.04.1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse armhf Packages
        100 /var/lib/dpkg/status
     1.20200212-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/multiverse armhf Packages
ubuntu@ubuntu:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:fe:ba:b0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.59/24 brd 192.168.0.255 scope global dynamic eth0
       valid_lft 43009sec preferred_lft 43009sec
    inet6 fe80::dea6:32ff:fefe:bab0/64 scope link
       valid_lft forever preferred_lft forever
ubuntu@ubuntu:~$ sudo apt install linux-firmware-raspi2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Need to get 5396 kB of archives.
After this operation, 68.6 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-proposed/multiverse armhf linux-firmware-raspi2 armhf 4-0ubuntu0~20.04.1 [5396 kB]
Fetched 5396 kB in 1s (6492 kB/s)
(Reading database ... 99580 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_4-0ubuntu0~20.04.1_armhf.deb ...
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.bin to /lib/firmware/brcm/brcmfmac43436-sdio.bin.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43436-sdio.bin' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.clm_blob to /lib/firmware/brcm/brcmfmac43436-sdio.clm_blob.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43436-sdio.clm_blob' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.txt to /lib/firmware/brcm/brcmfmac43436-sdio.txt.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43436-sdio.txt' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob to /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob.distrib by linux-firmware-raspi2'
Ignoring request to rename file '/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob' owned by diverting package 'linux-firmware-raspi2'
Adding 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.bin to /lib/firmware/brcm/brcmfmac43456-sdio.bin.distrib by linux-firmware...

Read more...

tags: added: verification-done verification-done-focal verification-done-groovy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware-raspi2 - 4-0ubuntu0~20.10.1

---------------
linux-firmware-raspi2 (4-0ubuntu0~20.10.1) groovy; urgency=medium

  * Pull in latest from hirsute (LP: #1925971)
    - Add aliases and diversions for brcmfmac43455 configuration on the
      Raspberry Pi Compute Module 4, and 400 (LP: #1912905)

    - Added diversions for all wifi firmware blobs (LP: #1918013)
    - New upstream boot firmware release, 1.20210303
    - New upstream bluetooth firmware release, 1.2-4+rpt8

      [ Phil Elwell ]
      - Second Spectra fix for CYW43455 (CVE-2020-10370)
        - Original firmware name: BCM4345C0_003.001.025.0174.0342.hcd

    - New upstream wifi firmware release, 1:20190114-1+rpt11

      [ Serge Schneider ]
      - Update CYW43455 firmware
        - brcm/brcmfmac43455-sdio.bin 7.45.229
        - See: https://github.com/raspberrypi/linux/issues/3849

 -- William 'jawn-smith' Wilson <email address hidden> Fri, 23 Apr 2021 16:05:55 -0500

Changed in linux-firmware-raspi2 (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for linux-firmware-raspi2 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware-raspi2 - 4-0ubuntu0~20.04.1

---------------
linux-firmware-raspi2 (4-0ubuntu0~20.04.1) focal; urgency=medium

  * Backport to focal (LP: #1925971)
    - Add aliases and diversions for brcmfmac43455 configuration on the
      Raspberry Pi Compute Module 4, and 400 (LP: #1912905)

    - Added diversions for all wifi firmware blobs (LP: #1918013)
    - New upstream boot firmware release, 1.20210303
    - New upstream bluetooth firmware release, 1.2-4+rpt8

      [ Phil Elwell ]
      - Second Spectra fix for CYW43455 (CVE-2020-10370)
        - Original firmware name: BCM4345C0_003.001.025.0174.0342.hcd

    - New upstream wifi firmware release, 1:20190114-1+rpt11

      [ Serge Schneider ]
      - Update CYW43455 firmware
        - brcm/brcmfmac43455-sdio.bin 7.45.229
        - See: https://github.com/raspberrypi/linux/issues/3849

 -- William 'jawn-smith' Wilson <email address hidden> Fri, 23 Apr 2021 16:05:55 -0500

Changed in linux-firmware-raspi2 (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.