can't uninstall it, want to remove it depmod -a set -e -x; \ dkms status m708 \ while…
- User
can't uninstall it, want to remove it
depmod -a set -e -x;
dkms status m708 |
while IFS=':' read -r modules status; do
echo "modules" | { \ IFS=', ' read -r modules_name modules_version \ kernel_version kernel_arch ignore; \ if [ -z "kernel_version" ]; then
dkms remove
"modules_version"
--all;
else
dkms remove
"modules_version"
-k "kernel_arch";
fi;
}
done-
dkms status m708
-
IFS=: read -r modules status
-
echo m708/1, 6.5.6-76060506-generic, x86_64
-
IFS=, read -r modules_name modules_version kernel_version kernel_arch ignore
-
[ -z x86_64 ]
-
dkms remove m708/1/6.5.6-76060506-generic -k x86_64/ Error! The module/version combo: m708-1/6.5.6-76060506-generic is not located in the DKMS tree. make: *** [Makefile:77: dkms_modules_uninstall] Error 3
-
echo m708/1, 6.5.6-76060506-generic, x86_64
-
IFS=, read -r modules_name modules_version kernel_version kernel_arch ignore
-
[ -z x86_64 ]
-
dkms remove m708/1/6.5.6-76060506-generic -k x86_64/ Error! The module/version combo: m708-1/6.5.6-76060506-generic is not located in the DKMS tree. make: *** [Makefile:77: dkms_modules_uninstall] Error 3
bcmwl/6.30.223.271+bdcom, 6.4.6-76060406-generic, x86_64: installed bcmwl/6.30.223.271+bdcom, 6.5.4-76060504-generic, x86_64: installed bcmwl/6.30.223.271+bdcom, 6.5.6-76060506-generic, x86_64: installed digimend/11: added m708/1, 6.5.6-76060506-generic, x86_64: installed nvidia/535.113.01, 6.4.6-76060406-generic, x86_64: installed nvidia/535.113.01, 6.5.4-76060504-generic, x86_64: installed nvidia/535.113.01, 6.5.6-76060506-generic, x86_64: installed system76/1.0.14
168496162822.048c2ff21, 6.4.6-76060406-generic, x86_64: installed system76/1.0.14168496162822.048c2ff21, 6.5.4-76060504-generic, x86_64: installed system76/1.0.14168496162822.048c2ff21, 6.5.6-76060506-generic, x86_64: installed system76_acpi/1.0.2168978991922.0403a5804, 6.4.6-76060406-generic, x86_64: installed (original_module exists) system76_acpi/1.0.2168978991922.0403a5804, 6.5.4-76060504-generic, x86_64: installed (original_module exists) system76_acpi/1.0.2168978991922.0403a5804, 6.5.6-76060506-generic, x86_64: installed (original_module exists) system76-io/1.0.3169523338422.040f86350, 6.4.6-76060406-generic, x86_64: installed (original_module exists) system76-io/1.0.3169523338422.040f86350, 6.5.4-76060504-generic, x86_64: installed system76-io/1.0.3169523338422.040f86350, 6.5.6-76060506-generic, x86_64: installed rickard@pop-os:/Documents/bevy_game/hid_m708 ls -l total 32 drwxr-xr-x 3 root root 4096 Oct 21 20:08 bcmwl drwxr-xr-x 3 root root 4096 Nov 9 21:31 digimend -rw-r--r-- 1 root root 6 Oct 1 2021 dkms_dbversion drwxr-xr-x 3 root root 4096 Nov 9 20:47 m708 drwxr-xr-x 3 root root 4096 Oct 21 20:09 nvidia drwxr-xr-x 3 root root 4096 Oct 21 20:09 system76 drwxr-xr-x 4 root root 4096 Oct 21 20:09 system76_acpi drwxr-xr-x 4 root root 4096 Oct 21 20:09 system76-io -
- Assistant
It seems you are trying to uninstall a DKMS module named "m708" version "1" for a specific kernel version "6.5.6-76060506-generic" with architecture "x86_64", but you encountered an error stating that this module/version combo is not located in the DKMS tree.
Here are a few steps you can try to properly uninstall the module:
-
First, ensure you have the correct module/version details. You can get the list of installed DKMS modules with versions and associated kernels by running:
dkms status -
If the module is listed as installed, try removing it using the DKMS command directly:
sudo dkms remove m708/1 --allThe
--allflag will attempt to remove the module for all installed kernel versions. -
If that doesn't work, you may need to manually remove the module's source and binaries. To remove the DKMS source for the module, delete the module directory under
/var/lib/dkms:sudo rm -rf /var/lib/dkms/m708 -
After removing the source directory, run
depmodto regenerate the module dependency maps:sudo depmod -a -
Ensure that the module is no longer loaded by running:
lsmod | grep m708If it's still loaded, you can try to unload it using:
sudo modprobe -r m708 -
If the module is still present and causing issues, check
/etc/modprobe.d/for any configuration files that might be loading the module and either remove or comment out the relevant lines. -
Finally, reboot your machine to ensure that all changes take effect and the module is fully unloaded.
After following these steps, the problematic module should be removed from your system. If you continue to have issues, please provide more specific details about the errors you're encountering, and ensure you have the necessary permissions (using
sudo) when attempting to make system-level changes. -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.