Install Failed (depmod problems)
saitbnzl opened this issue · comments
Hello. I'm trying to install this driver for TP-Link Archer T3U. I use Ubuntu Server 22.04.3 on Raspberry Pi 2B.
Sharing the full installation output below. I can provide more info if needed. Thanks in advance.
Device:
Bus 001 Device 004: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
: ---------------------------
: install-driver.sh v20231115
: armv7l (kernel architecture)
: arm (architecture to send to gcc)
: 2/4 (in-use/total processing units)
: 939832 (total system memory)
: 5.15.0-1044-raspi (kernel version)
: gcc (version of gcc used to compile the kernel)
: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
: dkms-2.8.7
: This system doesn't support Secure Boot
: ---------------------------
Checking for previously installed drivers...
Finished checking for and removing previously installed drivers.
: ---------------------------
Starting installation.
Installing 88x2bu.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl88x2bu-5.13.1
Creating symlink /var/lib/dkms/rtl88x2bu/5.13.1/source -> /usr/src/rtl88x2bu-5.13.1
The driver was added to dkms successfully.
: ---------------------------
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area.....
./dkms-make.sh.......................................................................................................................................................................................................................................................................................................................................................................................
cleaning build area...
Compile time: 1792.38 seconds
The driver was built by dkms successfully.
: ---------------------------
88x2bu.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.15.0-1044-raspi/updates/dkms/
depmod........................................(bad exit status: 135)
Module rtl88x2bu-5.13.1 for kernel 5.15.0-1044-raspi (armv7l).
Before uninstall, this module version was ACTIVE on this kernel.
88x2bu.ko:
- Uninstallation
- Deleting from: /lib/modules/5.15.0-1044-raspi/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...........................(bad exit status: 135)
Error! Problems with depmod detected. Automatically uninstalling this module.
Install Failed (depmod problems). Module rolled back to built state.
An error occurred. dkms install error: 6
I got it working with the help of instructions here:
https://github.com/RinCat/RTL88x2BU-Linux-Driver?tab=readme-ov-file