[Bug 1930868] [NEW] Package firmware-sof-signed (not installed) failed to install/upgrade: trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
Launchpad Bug Tracker
1930868 at bugs.launchpad.net
Fri Nov 26 10:37:24 UTC 2021
You have been subscribed to a public bug by Hui Wang (hui.wang):
[Impact]
In the past we put the sof-firmware files into the linux-firmware,
and about half year ago, the sof-firmware has its own debian package,
it is firmware-sof-signed, here we remove the sof-firmware files
from linux-firmware and replace them with the package firmware-sof-signed.
Here put Recommends: firmware-sof-signed (>= 1.9-1) in the
linux-firmware/debian/control, when upgrading the linux-firmware, the
firmware-sof-signed will be unpacked first, it will have conflicts
because this package update the same files in the linux-firmware of
old version, so apart of this pull-request to linux-firmware, also need to
do some change on firmware-sof-signed. Please see the debdiff for
firmware-sof-signed in the launchpad.
This is the error log when unpacking the firmware-sof-signed:
Unpacking firmware-sof-signed (1.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-sof-signed_1.9-1_all.deb (--unpack):
trying to overwrite '/lib/firmware/intel/sof/sof-bdw.ri', which is also in package linux-firmware 1.202
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-firmware_1.202+staging.1_all.deb ...
Unpacking linux-firmware (1.202+staging.1) over (1.202) ...
Errors were encountered while processing:
/var/cache/apt/archives/firmware-sof-signed_1.9-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Fix]
remove the sof-firmware files from linux-firmware, and replace
them with a debian package firmware-sof-signed.
[Test]
put the updated firmware-sof-signed and linux-firmware to my ppa,
and run sudo apt install linux-firmware, then the two packages are upgraded
and installed, reboot all audio function work as well as before.
[Where problems could occur]
The firmware-sof-signed doesn't contain all files that we plan to remove from
linux-firmware, but there is no evidence that those files are used by
any platforms, If some platforms fail to load the sof-firmware or topology
files and audio function fail to work, it is possibily this SRU introduce the
regression.
(Reading database ... 220533 files and directories currently installed.)
Preparing to unpack .../firmware-sof-signed_1.6.1-2_all.deb ...
Unpacking firmware-sof-signed (1.6.1-2) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-sof-signed_1.6.1-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
Errors were encountered while processing:
/var/cache/apt/archives/firmware-sof-signed_1.6.1-2_all.deb
Is there a work around?
ProblemType: Package
DistroRelease: Ubuntu 21.04
Package: firmware-sof-signed (not installed)
ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
Uname: Linux 5.11.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu65.1
AptOrdering:
firmware-sof-signed:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Jun 4 17:22:54 2021
DpkgTerminalLog:
Preparing to unpack .../firmware-sof-signed_1.6.1-2_all.deb ...
Unpacking firmware-sof-signed (1.6.1-2) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-sof-signed_1.6.1-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
DuplicateSignature:
package:firmware-sof-signed:(not installed)
Unpacking firmware-sof-signed (1.6.1-2) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-sof-signed_1.6.1-2_all.deb (--unpack):
trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
ErrorMessage: trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
InstallationDate: Installed on 2021-06-02 (2 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
Python3Details: /usr/bin/python3.9, Python 3.9.5, python3-minimal, 3.9.4-1
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.20.9ubuntu1
apt 2.2.3
SourcePackage: firmware-sof
Title: package firmware-sof-signed (not installed) failed to install/upgrade: trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: firmware-sof (Ubuntu)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: Triaged
** Affects: linux-firmware (Ubuntu)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: Triaged
** Affects: firmware-sof (Ubuntu Jammy)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: Triaged
** Affects: linux-firmware (Ubuntu Jammy)
Importance: High
Assignee: Hui Wang (hui.wang)
Status: Triaged
** Tags: amd64 apport-package jammy package-conflict
--
Package firmware-sof-signed (not installed) failed to install/upgrade: trying to overwrite '/lib/firmware/intel/sof/sof-apl.ri', which is also in package linux-firmware 1.197
https://bugs.launchpad.net/bugs/1930868
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list