Closed sebma closed 1 year ago
Found a solution as I noticed dkms
is actually a bash script :
$ file $(which dkms)
/usr/sbin/dkms: Bourne-Again shell script, ASCII text executable, with very long lines
$ sudo bash -x dkms add -m rtl88x2bu -v 5.8.7.1 2>&1 | tail -15
+ [[ -L /var/lib/dkms/rtl88x2bu/5.8.7.1/source ]]
+ die 3 'DKMS tree already contains: rtl88x2bu-5.8.7.1' 'You cannot add the same module/version combo more than once.'
+ ret=3
+ shift
+ error 'DKMS tree already contains: rtl88x2bu-5.8.7.1' 'You cannot add the same module/version combo more than once.'
+ exec
+ echo -n 'Error! '
Error! + for s in "$@"
+ echo 'DKMS tree already contains: rtl88x2bu-5.8.7.1'
DKMS tree already contains: rtl88x2bu-5.8.7.1
+ for s in "$@"
+ echo 'You cannot add the same module/version combo more than once.'
You cannot add the same module/version combo more than once.
+ [[ yes = yes ]]
+ exit 3
$ sudo unlink /var/lib/dkms/rtl88x2bu/5.8.7.1/source
$
Now, the dkms add
worked :smile:
Waiting for the dkms build
to finish ...
The build was successful and the drivers works. :smile:
Hi, I've just upgraded from Ubuntu 20.04 LTS to 22.04 and the new
5.19.0-46-generic
kernel was installed. But during the install I saw nodkms build
running. Here is the situation :