This bug was fixed in the package linux-firmware-snapdragon - 1.3-0ubuntu3 --------------- linux-firmware-snapdragon (1.3-0ubuntu3) bionic; urgency=low
* Remove a300_[pfp|mp4].fw since they are now part of linux-firmware (>=1.157.13) (LP: #1728908) -- Paolo Pisati <paolo.pis...@canonical.com> Mon, 30 Oct 2017 11:37:07 +0100 ** Changed in: linux-firmware-snapdragon (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-firmware in Ubuntu. https://bugs.launchpad.net/bugs/1728908 Title: a300_[pfp|pm4].fw clashes when installing linux-firmware Status in linux-firmware package in Ubuntu: Fix Released Status in linux-firmware-snapdragon package in Ubuntu: Fix Released Status in linux-firmware source package in Xenial: In Progress Status in linux-firmware-snapdragon source package in Xenial: In Progress Status in linux-firmware source package in Artful: In Progress Status in linux-firmware-snapdragon source package in Artful: In Progress Bug description: [Impact] Starting with linux-firmware 1.157.13, two files (a300_[pfp|pm4].fw) that were previously part of linux-firmware-snapdragon 1.2-0ubuntu1, are now integrated in the linux-firmware package itself, resulting in a file clash when these two packages are installed together: .. Selecting previously unselected package linux-firmware-snapdragon. Preparing to unpack .../linux-firmware-snapdragon_1.2-0ubuntu1_arm64.deb ... Unpacking linux-firmware-snapdragon (1.2-0ubuntu1) ... dpkg: error processing archive /var/cache/apt/archives/linux-firmware-snapdragon_1.2-0ubuntu1_arm64.deb (--unpack): trying to overwrite '/lib/firmware/a300_pm4.fw', which is also in package linux-firmware 1.157.13 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Selecting previously unselected package linux-image-snapdragon. Preparing to unpack .../linux-image-snapdragon_4.4.0.1077.69_arm64.deb ... Unpacking linux-image-snapdragon (4.4.0.1077.69) ... Errors were encountered while processing: /var/cache/apt/archives/linux-firmware-snapdragon_1.2-0ubuntu1_arm64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) make: *** [all] Error 100 ... This problem is particularly evident when a new snapdragon kernel snap is assembled, since the the building process breaks (and no kernel snap is generated): https://launchpadlibrarian.net/343287945 /buildlog_snap_ubuntu_xenial_arm64_snapdragon-kernel- test_BUILDING.txt.gz To fix the problem i removed the two files from linux-firmware- snapdragon 1.3-0ubuntu1 and pushed this new version to my ppa: https://launchpad.net/~p-pisati/+archive/ubuntu/embedded/+packages linux-firmware-snapdragon - 1.3-0ubuntu1 [Test case] Try to build a snapdragon kernel snap using Xenial/updates - with linux-firmware 1.157.13 and linux-firmware-snapdragon 1.2-0ubuntu1 it won't complete, while with linux-firmware-snapdragon 1.3-0ubuntu1 it will successfully complete. [Regression risk] The files imported in linux-firmware are the same files we shipped in linux-firmware-snapdragon: $ md5sum /lib/firmware/qcom/a300_pfp.fw 25aa81977303142bdc4490efad16138b /lib/firmware/qcom/a300_pfp.fw $ md5sum /lib/firmware/qcom/a300_pm4.fw d657cacd951742d9bbbe74224347cffe /lib/firmware/qcom/a300_pm4.fw $ md5sum dragon410c-firmware.orig/lib/a300_pfp.fw 25aa81977303142bdc4490efad16138b dragon410c-firmware.orig/lib/a300_pfp.fw $ md5sum dragon410c-firmware.orig/lib/a300_pm4.fw d657cacd951742d9bbbe74224347cffe dragon410c-firmware.orig/lib/a300_pm4.fw so the regression risk is very low. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1728908/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp