Skip to content

Instantly share code, notes, and snippets.

@LMG
Created June 10, 2016 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LMG/8c323e0a7a2999b8cffcb76b56cdf772 to your computer and use it in GitHub Desktop.
Save LMG/8c323e0a7a2999b8cffcb76b56cdf772 to your computer and use it in GitHub Desktop.
lmg@lmg-desktop:~$ sudo apt-get upgrade
[sudo] password for lmg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libcuda1-364 nvidia-opencl-icd-364
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/18,0 MB of archives.
After this operation, 6 144 B disk space will be freed.
Do you want to continue? [Y/n]
Selecting previously unselected package libcuda1-364.
(Reading database ... 680698 files and directories currently installed.)
Preparing to unpack .../libcuda1-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb ...
Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/libcuda1-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb (--unpack):
there is no script in the new version of the package - giving up
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.
Selecting previously unselected package nvidia-opencl-icd-364.
Preparing to unpack .../nvidia-opencl-icd-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb ...
Failed to stop var-lib-snapd-lib-gl.mount: Unit var-lib-snapd-lib-gl.mount not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb (--unpack):
there is no script in the new version of the package - giving up
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:
/var/cache/apt/archives/libcuda1-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb
/var/cache/apt/archives/nvidia-opencl-icd-364_364.19-0ubuntu0~gpu16.04.6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment