pablosquared
September 9th, 2016, 03:42 PM
... I think. I'm seeing this error from an apt-get dist-upgrade, it appears every time.
The following package was automatically installed and is no longer required:
nvidia-opencl-icd-361
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed
nvidia-opencl-icd-367
The following packages will be upgraded:
nvidia-opencl-icd-361
1 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/2,833 kB of archives.
After this operation, 18.9 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 446004 files and directories currently installed.)
Preparing to unpack .../nvidia-opencl-icd-361_367.44-0ubuntu0.16.04.1_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-361_367.44-0ubuntu0.16.04.1_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.
dpkg: regarding .../nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb containing nvidia-opencl-icd-367:
nvidia-opencl-icd-367 conflicts with nvidia-opencl-icd
nvidia-opencl-icd-361 provides nvidia-opencl-icd and is present and installed.
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb (--unpack):
conflicting packages - not installing nvidia-opencl-icd-367
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-opencl-icd-361_367.44-0ubuntu0.16.04.1_amd64.deb
/var/cache/apt/archives/nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas? Should I purge the installed nvidia driver and re-apply the update?
TIA
PP
The following package was automatically installed and is no longer required:
nvidia-opencl-icd-361
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed
nvidia-opencl-icd-367
The following packages will be upgraded:
nvidia-opencl-icd-361
1 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/2,833 kB of archives.
After this operation, 18.9 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 446004 files and directories currently installed.)
Preparing to unpack .../nvidia-opencl-icd-361_367.44-0ubuntu0.16.04.1_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-361_367.44-0ubuntu0.16.04.1_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.
dpkg: regarding .../nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb containing nvidia-opencl-icd-367:
nvidia-opencl-icd-367 conflicts with nvidia-opencl-icd
nvidia-opencl-icd-361 provides nvidia-opencl-icd and is present and installed.
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb (--unpack):
conflicting packages - not installing nvidia-opencl-icd-367
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-opencl-icd-361_367.44-0ubuntu0.16.04.1_amd64.deb
/var/cache/apt/archives/nvidia-opencl-icd-367_367.44-0ubuntu0.16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any ideas? Should I purge the installed nvidia driver and re-apply the update?
TIA
PP