Public bug reported:

nvidia-opencl-icd-340 package produces an error while installing

After running sudo apt upgrade or sudo apt dist-upgrade, it produces the
following :

(Reading database ... 367190 files and directories currently installed.)
Preparing to unpack .../nvidia-opencl-icd-340_340.98-0ubuntu1_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-340_340.98-0ubuntu1_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.
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-opencl-icd-340_340.98-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I am using

Description:    Ubuntu 16.10
Release:        16.10

Policy for package:

  Installed: 340.96-0ubuntu3.16.04.1
  Candidate: 340.98-0ubuntu1
  Version table:
     340.98-0ubuntu1 500
        500 http://in.archive.ubuntu.com/ubuntu yakkety/restricted amd64 
Packages
 *** 340.96-0ubuntu3.16.04.1 100
        100 /var/lib/dpkg/status

Expected to install the package.

It fails to install and also the other packages will fail to install.
This error occurred when release upgrade was happening from 16.04 to
16.10 and the problem continues to exist.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  nvidia-opencl-icd-340 package not installing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1635919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to