Dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

The following packages will be upgraded:
linux-firmware-raspi2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
35 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 ... 141623 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)

There is a bug for this in Launchpad

Please see this work-around by @Norbert_X

1 Like