nvidia-opencl-icd-340 package not installing

Bug #1635919 reported by udaybharadwajub
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

Revision history for this message
fernando vaz-de-mello (vazdemello) wrote :

same here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Revision history for this message
fernando vaz-de-mello (vazdemello) wrote :

same here in kubuntu 16.10 Linux version 4.8.0-27-generic (buildd@lgw01-11) (gcc version 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) )

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.