Same here. Fix for me was to manually uninstall linux-firmware-raspi2
first. The new package installed fine after that.
Preparing to unpack .../linux-firmware-raspi_6-0ubuntu2_arm64.deb ...
Removing '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'
Removing 'diversion of /lib/firmware/brcm/brcmfmac43456-sdio.txt to
/lib/firmware/brcm/brcmfmac43456-sdio.txt.distrib by linux-firmware-raspi2'
Removing 'diversion of /lib/firmware/brcm/brcmfmac43436s-sdio.txt to
/lib/firmware/brcm/brcmfmac43436s-sdio.txt.distrib by linux-firmware-raspi2'
Removing 'diversion of /lib/firmware/brcm/brcmfmac43436-sdio.txt to
/lib/firmware/brcm/brcmfmac43436-sdio.txt.distrib by linux-firmware-raspi2'
Removing 'diversion of /lib/firmware/cypress/cyfmac43430-sdio.bin to
/lib/firmware/cypress/cyfmac43430-sdio.bin.distrib by linux-firmware-raspi2'
dpkg-divert: error: rename involves overwriting
'/lib/firmware/cypress/cyfmac43430-sdio.bin' with
different file '/lib/firmware/cypress/cyfmac43430-sdio.bin.distrib', not
allowed
dpkg: error processing archive
/var/cache/apt/archives/linux-firmware-raspi_6-0ubuntu2_arm64.deb (--unpack):
new linux-firmware-raspi package pre-installation script subprocess returned
error exit status 2
dpkg-divert: error: mismatch on package
when removing 'diversion of
/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt by
linux-firmware-raspi'
found 'diversion of
/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt to
/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt.distrib by
linux-firmware-raspi2'
dpkg: error while cleaning up:
new linux-firmware-raspi package post-removal script subprocess returned error
exit status 2
Preparing to unpack .../linux-firmware-raspi2_6-0ubuntu2_arm64.deb ...
Unpacking linux-firmware-raspi2 (6-0ubuntu2) over (6-0ubuntu0~21.10.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware-raspi_6-0ubuntu2_arm64.deb
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960923
Title:
needrestart is being skipped since dpkg has failed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware-raspi/+bug/1960923/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs