Comment 2 for bug 1964814

Revision history for this message
bsdz (blairuk) wrote :

A potential (temporary) workaround is to remove the offending symlinks from package file as follows:

mkdir linux-firmware
cd linux-firmware
cp /var/cache/apt/archives/linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb ./
ar xf linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb
zstd -d data.tar.zst
tar vf data.tar --delete ./lib/firmware/ath11k/WCN6855/hw2.1/
zstd -f data.tar
ar rcs linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb debian-binary control.tar.zst data.tar.zst
sudo dpkg -i linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb

One can then create the hw2.1 symlinks manually.