I can't remove the nvidia packages at first to reinstall later. I am
using Kubuntu 16.04.

abhishek ~ $ sudo apt-get purge libcuda1-367 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bbswitch-dkms fonts-roboto-hinted lib32gcc1 libechonest2.3 libgsasl7 
libjansson4 libjdns2 libjreen1
  liblucene++0v5 libntlm0 libqjdns-qt4-2 libqtkeychain0 libquazip1 libxnvctrl0 
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libcuda1-367*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 35.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 294457 files and directories currently installed.)
Removing libcuda1-367 (367.18-0ubuntu0~gpu16.04.2) ...
Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not 
loaded.
dpkg: error processing package libcuda1-367 (--purge):
 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.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 libcuda1-367
E: Sub-process /usr/bin/dpkg returned an error code (1)
abhishek ~ $ sudo apt-get purge nvidia-opencl-icd-367 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  bbswitch-dkms fonts-roboto-hinted lib32gcc1 libechonest2.3 libgsasl7 
libjansson4 libjdns2 libjreen1
  liblucene++0v5 libntlm0 libqjdns-qt4-2 libqtkeychain0 libquazip1 libxnvctrl0 
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  nvidia-opencl-icd-367*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 36.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 294457 files and directories currently installed.)
Removing nvidia-opencl-icd-367 (367.18-0ubuntu0~gpu16.04.2) ...
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-367 (--purge):
 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.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
 nvidia-opencl-icd-367
E: Sub-process /usr/bin/dpkg returned an error code (1)
abhishek ~ $

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589006

Title:
  Failed unmounting Mount unit for nvidia support in snappy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1589006/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to