Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #286456

Re: error updating packages: kernel fails on module build

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Re: error updating packages: kernel fails on module build
Date 2026-04-30 17:50 +0200
Message-ID <MPBOh-1yG6-7@gated-at.bofh.it> (permalink)
References <MPzCN-1xnS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Apr 30, 2026 at 9:24 AM Eric S Fraga <e.fraga@ucl.ac.uk> 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/
⠈⠳⣄⠀⠀

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

error updating packages: kernel fails on module build Eric S Fraga <e.fraga@ucl.ac.uk> - 2026-04-30 15:30 +0200
  Re: error updating packages: kernel fails on module build The Wanderer <wanderer@fastmail.fm> - 2026-04-30 17:20 +0200
    Re: error updating packages: kernel fails on module build Eric S Fraga <e.fraga@ucl.ac.uk> - 2026-05-05 13:10 +0200
  Re: error updating packages: kernel fails on module build Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2026-04-30 17:50 +0200
    Re: error updating packages: kernel fails on module build Eric S Fraga <e.fraga@ucl.ac.uk> - 2026-05-05 13:20 +0200

csiph-web