root@tirion:~# LANG=C apt purge libcuda1-352 nvidia-opencl-icd-352 Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libcuda1-352* nvidia-opencl-icd-352* 0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded. After this operation, 43,0 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 291301 files and directories currently installed.) Removing libcuda1-352 (361.45.11-0ubuntu0.16.04.1) ... Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded. dpkg: error processing package libcuda1-352 (--remove): subprocess installed pre-removal script returned error exit status 5 Failed to get unit file state for var-lib-snapd-lib-gl.mount: No such file or directory var-lib-snapd-lib-gl.mount is a disabled or a static unit, not starting it. Removing nvidia-opencl-icd-352 (361.45.11-0ubuntu0.16.04.1) ... Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded. dpkg: error processing package nvidia-opencl-icd-352 (--remove): subprocess installed pre-removal script returned error exit status 5 Failed to get unit file state for var-lib-snapd-lib-gl.mount: No such file or directory var-lib-snapd-lib-gl.mount is a disabled or a static unit, not starting it. Errors were encountered while processing: libcuda1-352 nvidia-opencl-icd-352 E: Sub-process /usr/bin/dpkg returned an error code (1)