digixmax
Posts: 4
Joined: Sun Aug 21, 2016 3:51 pm

Cannot Update linux-firmware-raspi2 on RPi3 with Ubuntu Mate 18.04

Sun May 03, 2020 7:58 pm

I just installed ubuntu-mate-18.04.2-beta1-desktop-armhf+raspi-ext4 on my RPi-3B and then ran an update post-installation. Everything got updated fine except for linux-firmware-raspi2 ("GPU Firmware & Bootloader for RPi ..." package). I tried the update again using command lines and below were the diagnostic error messages.

Code: Select all

dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20190819-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)
Any pointer/suggestion would be greatly appreciated.

Complete output messages:

Code: Select all

han@Raspberry-Pi-3:~$ sudo apt update
[sudo] password for han: 
Hit:1 http://ports.ubuntu.com bionic InRelease
Hit:2 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu bionic InRelease
Hit:3 http://ports.ubuntu.com bionic-updates InRelease
Hit:4 http://ports.ubuntu.com bionic-security InRelease
Hit:5 http://ports.ubuntu.com bionic-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.

han@Raspberry-Pi-3:~$ sudo apt list --upgradable
Listing... Done
libnautilus-extension1a/bionic-updates 1:3.26.4-0~ubuntu18.04.5 armhf [upgradable from: 1:3.26.4-0~ubuntu18.04.3]
linux-firmware-raspi2/bionic-updates 1.20190819-0ubuntu0.18.04.1 armhf [upgradable from: 1.20180919-0ubuntu0.18.04.2]
xserver-common/bionic-updates 2:1.19.6-1ubuntu4.4 all [upgradable from: 2:1.19.6-1ubuntu4.2]
xserver-xorg-core/bionic-updates 2:1.19.6-1ubuntu4.4 armhf [upgradable from: 2:1.19.6-1ubuntu4.2]
xserver-xorg-legacy/bionic-updates 2:1.19.6-1ubuntu4.4 armhf [upgradable from: 2:1.19.6-1ubuntu4.2]

han@Raspberry-Pi-3:~$ sudo apt 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:
  libnautilus-extension1a linux-firmware-raspi2 xserver-common xserver-xorg-core xserver-xorg-legacy
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,192 kB/6,953 kB of archives.
After this operation, 11.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com bionic-updates/main armhf libnautilus-extension1a armhf 1:3.26.4-0~ubuntu18.04.5 [13.1 kB]
Get:2 http://ports.ubuntu.com bionic-updates/main armhf xserver-common all 2:1.19.6-1ubuntu4.4 [27.3 kB]
Get:3 http://ports.ubuntu.com bionic-updates/main armhf xserver-xorg-legacy armhf 2:1.19.6-1ubuntu4.4 [32.5 kB]
Get:4 http://ports.ubuntu.com bionic-updates/main armhf xserver-xorg-core armhf 2:1.19.6-1ubuntu4.4 [1,119 kB]
Fetched 1,192 kB in 3s (466 kB/s)            
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
(Reading database ... 172387 files and directories currently installed.)
Preparing to unpack .../libnautilus-extension1a_1%3a3.26.4-0~ubuntu18.04.5_armhf.deb ...
Unpacking libnautilus-extension1a:armhf (1:3.26.4-0~ubuntu18.04.5) over (1:3.26.4-0~ubuntu18.04.3) ...
Preparing to unpack .../linux-firmware-raspi2_1.20190819-0ubuntu0.18.04.1_armhf.deb ...
Unpacking linux-firmware-raspi2 (1.20190819-0ubuntu0.18.04.1) over (1.20180919-0ubuntu0.18.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/linux-firmware-raspi2_1.20190819-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)
Preparing to unpack .../xserver-common_2%3a1.19.6-1ubuntu4.4_all.deb ...
Unpacking xserver-common (2:1.19.6-1ubuntu4.4) over (2:1.19.6-1ubuntu4.2) ...
Preparing to unpack .../xserver-xorg-legacy_2%3a1.19.6-1ubuntu4.4_armhf.deb ...
Unpacking xserver-xorg-legacy (2:1.19.6-1ubuntu4.4) over (2:1.19.6-1ubuntu4.2) ...
Preparing to unpack .../xserver-xorg-core_2%3a1.19.6-1ubuntu4.4_armhf.deb ...
Unpacking xserver-xorg-core (2:1.19.6-1ubuntu4.4) over (2:1.19.6-1ubuntu4.2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/linux-firmware-raspi2_1.20190819-0ubuntu0.18.04.1_armhf.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)


Return to “Ubuntu”