View Issue Details

IDProjectCategoryView StatusLast Update
0008930Kali LinuxKali Package Bugpublic2024-09-24 08:49
Reporterklsm Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Versionkali-dev 
Summary0008930: firmware-sof-signed: Broken upgrade path
Description

The upgrade path for the package firmware-sof-signed is broken.

System/Original Package Version: 2023.12.1-1 \
New Package Version: 2024.06-1

Preparing to unpack .../firmware-sof-signed_2024.06-1_all.deb ...
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-max98357a-rt5682-ssp2-ssp0-2ch-pdm1.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt713-l0-rt1316-l12-rt1713-l3.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-max98357a-rt5682-ssp2-ssp0.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-ace1-4ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-ace1-2ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-cavs25-4ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-hdmi-ssp02.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt713-l0-rt1316-l12.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt1318-l12-rt714-l0.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-cavs25-2ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt1019-rt5682.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-es83x6-ssp1-hdmi-ssp02.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-4ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-idisp.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-cs42l43-l0-cs35l56-l12.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt712-l0-rt1712-l3.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-hda-generic-2ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt711-4ch.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt711-l0-rt1316-l23-rt714-l1.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-rt722-l0.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-max98357a-rt5682.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: file '/usr/lib/firmware/intel/sof-ace-tplg/sof-mtl-sdw-cs42l42-l0-max98363-l2.tplg' not owned by package 'firmware-sof-signed:all'
dpkg-maintscript-helper: error: directory '/usr/lib/firmware/intel/sof-ace-tplg' contains files not owned by package firmware-sof-signed:all, cannot switch to symlink
dpkg: error processing archive /var/cache/apt/archives/firmware-sof-signed_2024.06-1_all.deb (--unpack):
 new firmware-sof-signed package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/firmware-sof-signed_2024.06-1_all.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

The following manual steps appear to resolve the issue but this does not scale well and should not be necessary.

  1. sudo rm /usr/lib/firmware/intel/sof-ace-tplg/*
  2. sudo rmdir /usr/lib/firmware/intel/sof-ace-tplg

Activities

arnaudr

arnaudr

2024-09-24 03:07

manager   ~0019815

Last edited: 2024-09-24 03:07

Hello, and thanks for the report!

I just tried an upgrade from version 2023.12.1-1.1 (currently in Kali's last release) to 2024.06-1 (currently in Kali rolling), and no error for me.

Since we get this package from Debian unmodified, I also tried an update from Debian stable (2.2.4-1) to Debian unstable (2024.06-1). Again, no error.

Finally, I tried to install the exact same version as you (2023.12.1-1, that I pulled from snapshot.debian.org), then upgrade to 2024.06-1 ... And there we go, I could reproduce the error. So it's very specific to version 2023.12.1-1.

I filed a bug report in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082650

arnaudr

arnaudr

2024-09-24 08:48

manager   ~0019816

I uploaded firmware-sof 2024.06-2~kali in Kali, it's already in rolling, and it fixes the issue you reported. Thanks again for taking the time to report it!

Issue History

Date Modified Username Field Change
2024-09-23 18:42 klsm New Issue
2024-09-24 03:07 arnaudr Note Added: 0019815
2024-09-24 03:07 arnaudr Note Edited: 0019815
2024-09-24 08:48 arnaudr Note Added: 0019816
2024-09-24 08:48 arnaudr Assigned To => arnaudr
2024-09-24 08:48 arnaudr Status new => assigned
2024-09-24 08:49 arnaudr Status assigned => resolved
2024-09-24 08:49 arnaudr Resolution open => fixed
2024-09-24 08:49 arnaudr Fixed in Version => kali-dev