These packages can be installed at least on 26.04 as I've been doing it
also on my own in the past. It could be you are hitting
https://www.mail-archive.com/ubuntu-
bugs%40lists.ubuntu.com/msg6269102.html which was reported on 24.04

I've chatted a bit with AI and it came up with a way of patching these
.deb files:

(run from a directory with with only downloaded .deb files)

mkdir -p patched-7.2rc5

for deb in ./*.deb; do
    patch_tmp=$(mktemp -d)

    dpkg-deb -R "$deb" "$patch_tmp"

    find "$patch_tmp/DEBIAN" -maxdepth 1 -type f -exec \
        sed -Ei \
        
's#[[:space:]]+/usr/share/kernel/((header_)?(preinst|postinst|prerm|postrm)\.d)##g'
 \
        {} +

    dpkg-deb --root-owner-group -b \
        "$patch_tmp" \
        "patched-7.2rc5/$(basename "$deb")"

    rm -rf -- "$patch_tmp"
done

sudo dpkg -i \
  ./patched-7.2rc5/linux-headers-7.2.0-070200rc5_*_all.deb \
  ./patched-7.2rc5/linux-headers-7.2.0-070200rc5-generic_*_amd64.deb \
  ./patched-7.2rc5/linux-modules-7.2.0-070200rc5-generic_*_amd64.deb \
  ./patched-7.2rc5/linux-image-unsigned-7.2.0-070200rc5-generic_*_amd64.deb

sudo dpkg --configure -a

However I didn't check myself whether it works and I can't really
guarantee it, so it is up to you if you wish to test it out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163121

Title:
  [Regression] Laptop fails to power off completely when HDMI is
  connected in kernel 7.0.0-28

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2163121/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to