On Thu, Apr 30, 2026 at 9:24 AM Eric S Fraga <[email protected]> wrote:

> Hello all,
>
> for Debian stable, I'm trying to update (having done an apt
> dist-upgrade) and get the following error:
>

You should not need to do a dist-upgrade unless you are upgrading from
Debian 12 to 13.


> --8<---------------cut here---------------start------------->8---
> Setting up linux-image-6.12.74+deb13+1-amd64 (6.12.74-2) ...
> /etc/kernel/postinst.d/dkms:
> Sign command: /lib/modules/6.12.74+deb13+1-amd64/build/scripts/sign-file
> Signing key: /var/lib/dkms/mok.key
> Public certificate (MOK): /var/lib/dkms/mok.pub
>
> Autoinstall of module rtl88x2bu/5.13.1 for kernel 6.12.74+deb13+1-amd64
> (x86_64)
> Building module(s).....(bad exit status: 2)
> Failed command:
> ./dkms-make.sh
>

You should check to make sure you have kernel headers, dkms and make
installed. I get a similar error when I am missing kernel headers.


>
> Error! Bad return status for module build on kernel: 6.12.74+deb13+1-amd64
> (x86_64)
> Consult /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log for more information.
>
> Autoinstall on 6.12.74+deb13+1-amd64 failed for module(s) rtl88x2bu(10).
> --8<---------------cut here---------------end--------------->8---
>
> Any suggestions on how to fix this?  Everything else is fine.
>
> Thank you,
> eric
>
> --
> Eric S Fraga via gnus (Emacs 31.0.50 2026-04-30) on Debian 13.4
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply via email to