View Issue Details

IDProjectCategoryView StatusLast Update
0008609Kali LinuxKali Package Bugpublic2024-09-12 15:52
ReporteriamAika Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Summary0008609: Bad return status for module build on kernel: 6.5.0-kali3-amd64
Description

hi, ive been updating and upgrading my Linux kali 6.5.0-kali3-amd64 0000001 SMP PREEMPT_DYNAMIC Debian 6.5.6-1kali1 (2023-10-09) x86_64 GNU/Linux.

and i keep getting this error

Error! Bad return status for module build on kernel: 6.5.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20231211.866a910/build/make.log for more information.
dpkg: error processing package realtek-rtl8814au-dkms (--configure):
installed realtek-rtl8814au-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of realtek-rtl88xxau-dkms:
realtek-rtl88xxau-dkms depends on realtek-rtl8814au-dkms; however:
Package realtek-rtl8814au-dkms is not configured yet.

dpkg: error processing package realtek-rtl88xxau-dkms (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
realtek-rtl8814au-dkms
realtek-rtl88xxau-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

and this is the log

DKMS make.log for realtek-rtl8814au-5.8.5.1git20231211.866a910 for kernel 6.5.0-kali3-amd64 (x86_64)
Wed Jan 17 06:20:22 PM EST 2024
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.5.0-kali3-amd64/build M=/var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-kali3-amd64'
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_security.o
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_debug.o
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_io.o
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_ioctl_set.o
In file included from /usr/src/linux-headers-6.5.0-kali3-common/include/linux/fs.h:37,
from /usr/src/linux-headers-6.5.0-kali3-common/include/linux/namei.h:5,
from /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/include/osdep_service_linux.h:26,
from /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/include/osdep_service.h:57,
from /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/include/drv_types.h:27,
from /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_security.c:17:
/usr/src/linux-headers-6.5.0-kali3-common/include/linux/errseq.h:1:1: error: expected identifier or ‘(’ before numeric constant

     ^~~~

make[3]: [/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_io.o] Error 1
make[3]:
Waiting for unfinished jobs....
make[3]: [/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_security.o] Error 1
make[3]:
[/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_ioctl_set.o] Error 1
make[3]: [/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_ioctl_query.o] Error 1
make[3]:
[/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_debug.o] Error 1
make[3]: [/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/realtek-rtl8814au/5.8.5.1git20231211.866a910/build/core/rtw_cmd.o] Error 1
make[2]:
[/usr/src/linux-headers-6.5.0-kali3-common/Makefile:2059: /var/lib/dkms/realtek-rtl8814au/5.8.5.1~git20231211.866a910/build] Error 2
make[1]: [/usr/src/linux-headers-6.5.0-kali3-common/Makefile:246: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-kali3-amd64'
make:
[Makefile:2404: modules] Error 2

it seems like an error with the dependencies and the installation process
already tried a bunch of things but without success
thnx for the help

Activities

g0tmi1k

g0tmi1k

2024-09-12 15:52

administrator   ~0019750

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2024-01-25 17:57 iamAika New Issue
2024-09-12 15:52 g0tmi1k Status new => closed
2024-09-12 15:52 g0tmi1k Note Added: 0019750