anbox / anbox-modules

Anbox kernel modules
329 stars 228 forks source link

Tutorial to uninstall anbox-modules #47

Closed yutouyes closed 4 years ago

yutouyes commented 4 years ago

Hello everyone, I try to manually remove anbox-modules, which is installed according to the guide When runing sudo dkms remove anbox-binder/1 --all An error comes

Error! Could not locate dkms.conf file.
File: /var/lib/dkms/anbox-binder/1/source/dkms.conf does not exist.

Any advice?

yutouyes commented 4 years ago

I got it. Reverse the guide and it can be purged.

ta3pks commented 3 years ago

How did you exactly fix this I dont have any of the configs yet this broke my system I cannot run dpkg it simply fails saying

Setting up linux-headers-5.8.0-7630-generic (5.8.0-7630.32~1605108806~20.10~7e52b13) ...
/etc/kernel/header_postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.8.0-7630-generic
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/anbox-ashmem/1/source/dkms.conf does not exist.
   ...fail!
amithm7 commented 1 year ago

@NikosEfthias for the current INSTALL.sh

This should uninstall / undo those:

sudo dkms uninstall anbox-ashmem/1
sudo dkms uninstall anbox-binder/1
sudo rm -rf /usr/src/anbox-binder-1
sudo rm -rf /usr/src/anbox-ashmem-1
sudo rm /lib/udev/rules.d/99-anbox.rules
sudo rm /etc/modules-load.d/anbox.conf
sudo rm /etc/modules-load.d/waydroid.conf