I am receiving the following errors when attempting to install updates on 3 of 3 Pi computers. I suspect it is bigger than my systems. Does anyone have on information/recommendations?
TIA,
Ken
root@taylor23:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,612 kB of archives.
After this operation, 35.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 145272 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb ...
Unpacking linux-firmware-raspi2 (1.20190215-0ubuntu0.18.04.1) over (1.20180919-0ubuntu0.18.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb (--unpack):
trying to overwrite '/lib/firmware/brcm/BCM43430A1.hcd', which is also in package bluez-firmware 1.2-4+rpt1~bionic1.0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
That did the trick! Only the smallest puff of smoke from the Pi when I ran it Just kidding. The first Pi seems to be running fine. I will now apply it to the other two.
The following packages will be upgraded:
linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,612 kB of archives.
After this operation, 35.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 314093 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb ...
Unpacking linux-firmware-raspi2 (1.20190215-0ubuntu0.18.04.1) over (1.20180919-0ubuntu0.18.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb (--unpack):
trying to overwrite '/lib/firmware/brcm/BCM43430A1.hcd', which is also in package bluez-firmware 1.2-4+rpt1~bionic1.0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb cryptsetup-bin dpkg-repack gir1.2-json-1.0 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common
libdebian-installer4 libllvm7 libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,612 kB of archives.
After this operation, 35.8 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 139579 files and directories currently installed.)
Preparing to unpack .../linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_arm64.deb ...
Unpacking linux-firmware-raspi2 (1.20190215-0ubuntu0.18.04.1) over (1.20180919-0ubuntu0.18.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_arm64.deb (--unpack):
trying to overwrite '/lib/firmware/brcm/BCM43430A1.hcd', which is also in package bluez-firmware 1.2-4+rpt1~bionic1.0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo dpkg -i --force-all /var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb
dpkg: error: cannot access archive '/var/cache/apt/archives/linux-firmware-raspi2_1.20190215-0ubuntu0.18.04.1_armhf.deb': No such file or directory
Hello, I've just received an error doing yout solution: ERROR: cannot access archive /var/cache/apt/linux-firmware-raspi2.1.20190205-0ubuntu0.18.04.1_armhf.deb: No such file or directory
I usually run ubuntu on a Rasberry pi 4, with a OS manager called berryboot
thank you for your contribution
Do you want to continue? [Y/n] y
(Reading database ... 200754 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)
shrimp ~ ✗ sudo dpkg -i --force-all /var/cache/apt/archives/linux-firmware-raspi2_1.20200601+arm64-0ubuntu2\~18.04.1_armhf.deb
(Reading database ... 200754 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 (--install):
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
%