Linux tips: To safely remove DKMS module
1a) Under Ubuntu, if you run:-
# dkms status
// And you get: abcdef : added (but you can't remove the dkms using (e.g):-
// sudo dkms uninstall DKMSmodule/1.2.34
// or if you encounter
1b) DKMS tree already contains: DKMSmodule
// when you try to install a DKMS module.
2) Do the below:
# cd /var/lib/dkms/
// look for your DKMSmodule
// remove the DKMSmodule directory
3) Update the dependencies:-
# /sbin/depmod -a
Comments
Post a Comment