Replies: 2 comments 1 reply
-
|
Hi there, In those errors showing up when you tried to install kernel headers you have info about missing dependencies, first install those packages which are missing, then try to install kernel-headers one more time to check if there are no errors. If all is fine then you can try to compile the driver. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
install packages |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi. I bought a usb wifi device from Realtek Semiconductor Corp. RTL88x2bu [AC1200 Tech key]. I want to install the driver. I looked through the discussions and found no information on how to do this. I have a repository
https://github.com/RinCat/RTL88x2BU-Linux-Driver and the command to install
git clone "https://github.com/RinCat/RTL88x2BU-Linux-Driver.git" /usr/src/rtl88x2bu-git
sed -i 's/PACKAGE_VERSION="@pkgver@"/PACKAGE_VERSION="git"/g' /usr/src/rtl88x2bu-git/dkms.conf
dkms add -m rtl88x2bu -v git
dkms autoinstaller
initially, he complained that there were no linux headers. I downloaded it from you and tried to install it, there were errors.
I had to use
dpkg -i --force-all linux-headers-6.12.30-meson64_20250522_arm64.deb
box:/usr/driver#dpkg -i linux-headers-6.12.30-meson64_20250522_arm64.deb
(Reading database ... 48629 files and directories currently installed.)
Preparing to unpack linux-headers-6.12.30-meson64_20250522_arm64.deb ...
Unpacking linux-headers-6.12.30-meson64 (20250522) over (20250522) ...
^C
tvbox:/usr/driver#dpkg -i --force-all linux-headers-6.12.30-meson64_20250522_arm64.deb
(Reading database ... 48629 files and directories currently installed.)
Preparing to unpack linux-headers-6.12.30-meson64_20250522_arm64.deb ...
Unpacking linux-headers-6.12.30-meson64 (20250522) over (20250522) ...
dpkg: linux-headers-6.12.30-meson64: dependency problems, but configuring anyway as
you requested:
linux-headers-6.12.30-meson64 depends on libc6-dev; however:
Package libc6-dev is not installed.
linux-headers-6.12.30-meson64 depends on bison; however:
Package bison is not installed.
linux-headers-6.12.30-meson64 depends on flex; however:
Package flex is not installed.
linux-headers-6.12.30-meson64 depends on libssl-dev; however:
Package libssl-dev is not installed.
Setting up linux-headers-6.12.30-meson64 (20250522) ...
Compiling headers - please wait ...
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:92:10: fatal error: sys/types.h: No such file or directory
92 | #include <sys/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.host:116: scripts/basic/fixdep] Error 1
make[1]: *** [/usr/src/linux-headers-6.12.30-meson64/Makefile:620: scripts_basic] Error 2
make: *** [Makefile:224: __sub-make] Error 2
scripts/basic/fixdep.c:92:10: fatal error: sys/types.h: No such file or directory
92 | #include <sys/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.host:116: scripts/basic/fixdep] Error 1
make[2]: *** [Makefile:620: scripts_basic] Error 2
make[1]: *** [/usr/src/linux-headers-6.12.30-meson64/Makefile:787: include/config/auto.conf.cmd] Error 2
make[1]: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/rustc_cfg'
make[1]: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/autoconf.h'
make: *** [Makefile:224: __sub-make] Error 2
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make[1]: *** [/usr/src/linux-headers-6.12.30-meson64/Makefile:795: include/config/auto.conf] Error 1
make: *** [Makefile:224: __sub-make] Er
was installed, but still errors.
I re-entered the command to install the driver from the repository. the driver is not being installed.
Building module:
Cleaning build area...
'make' -j4 KVER=6.12.30-meson64 KSRC=/lib/modules/6.12.30-meson64/build...(bad exit
status: 2)
Error! Bad return status for module build on kernel: 6.12.30-meson64 (aarch64)
Consult /var/lib/dkms/rtl88x2bu/git/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
Please help me
Beta Was this translation helpful? Give feedback.
All reactions