lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
The following packages will be upgraded:
linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
189 not fully installed or removed.
Need to get 0 B/5,200 kB of archives.
After this operation, 290 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 169253 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_1.20200601+arm64-0ubuntu2~18.04.1_armhf.deb ...
Leaving 'diversion of /lib/firmware/brcm/brcmfmac43455-sdio.bin to /lib/firmware/brcm/brcmfmac43455-sdio.bin.distrib by linux-firmware-raspi2'
Leaving 'diversion of /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt to /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt.distrib by linux-firmware-raspi2'
Leaving 'diversion of /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt to /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt.distrib by linux-firmware-raspi2'
dpkg-divert: error: 'diversion of /lib/firmware/brcm/brcmfmac43430-sdio.bin to /lib/firmware/brcm/brcmfmac43430-sdio.bin.distrib by linux-firmware-raspi2' clashes with 'diversion of /lib/firmware/brcm/brcmfmac43430-sdio.bin to /lib/firmware/brcm/brcmfmac43430-sdio-2.bin by linux-firmware-raspi2'
dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20200601+arm64-0ubuntu2~18.04.1_armhf.deb (--unpack):
new linux-firmware-raspi2 package pre-installation script subprocess returned error exit status 2
Removing 'diversion of /lib/firmware/brcm/brcmfmac43430-sdio.bin to /lib/firmware/brcm/brcmfmac43430-sdio-2.bin by linux-firmware-raspi2'
dpkg-divert: error: rename involves overwriting '/lib/firmware/brcm/brcmfmac43430-sdio.bin' with
different file '/lib/firmware/brcm/brcmfmac43430-sdio-2.bin', not allowed
dpkg: error while cleaning up:
new linux-firmware-raspi2 package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware-raspi2_1.20200601+arm64-0ubuntu2~18.04.1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Getting this in 18.04.5
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
The following packages will be upgraded: firmware- raspi2 firmware- raspi2_ 1.20200601+ arm64-0ubuntu2~ 18.04.1_ armhf.deb ... brcm/brcmfmac43 455-sdio. bin to /lib/firmware/ brcm/brcmfmac43 455-sdio. bin.distrib by linux-firmware- raspi2' brcm/brcmfmac43 455-sdio. raspberrypi, 3-model- b-plus. txt to /lib/firmware/ brcm/brcmfmac43 455-sdio. raspberrypi, 3-model- b-plus. txt.distrib by linux-firmware- raspi2' brcm/brcmfmac43 455-sdio. raspberrypi, 4-model- b.txt to /lib/firmware/ brcm/brcmfmac43 455-sdio. raspberrypi, 4-model- b.txt.distrib by linux-firmware- raspi2' brcm/brcmfmac43 430-sdio. bin to /lib/firmware/ brcm/brcmfmac43 430-sdio. bin.distrib by linux-firmware- raspi2' clashes with 'diversion of /lib/firmware/ brcm/brcmfmac43 430-sdio. bin to /lib/firmware/ brcm/brcmfmac43 430-sdio- 2.bin by linux-firmware- raspi2' apt/archives/ linux-firmware- raspi2_ 1.20200601+ arm64-0ubuntu2~ 18.04.1_ armhf.deb (--unpack): raspi2 package pre-installation script subprocess returned error exit status 2 brcm/brcmfmac43 430-sdio. bin to /lib/firmware/ brcm/brcmfmac43 430-sdio- 2.bin by linux-firmware- raspi2' brcm/brcmfmac43 430-sdio. bin' with brcm/brcmfmac43 430-sdio- 2.bin', not allowed raspi2 package post-removal script subprocess returned error exit status 2 apt/archives/ linux-firmware- raspi2_ 1.20200601+ arm64-0ubuntu2~ 18.04.1_ armhf.deb
linux-
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
189 not fully installed or removed.
Need to get 0 B/5,200 kB of archives.
After this operation, 290 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 169253 files and directories currently installed.)
Preparing to unpack .../linux-
Leaving 'diversion of /lib/firmware/
Leaving 'diversion of /lib/firmware/
Leaving 'diversion of /lib/firmware/
dpkg-divert: error: 'diversion of /lib/firmware/
dpkg: error processing archive /var/cache/
new linux-firmware-
Removing 'diversion of /lib/firmware/
dpkg-divert: error: rename involves overwriting '/lib/firmware/
different file '/lib/firmware/
dpkg: error while cleaning up:
new linux-firmware-
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)