I suppose all the shipped library packages need the same workaround.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-361 in Ubuntu.
https://bugs.launchpad.net/bugs/1621780

Title:
  upgrade failure from older nvidia release

Status in nvidia-graphics-drivers-361 package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers-367 package in Ubuntu:
  Fix Committed
Status in snapd package in Ubuntu:
  Confirmed

Bug description:
  The following error happens when upgrading the nvidia driver:
  """
  > 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.d\
  eb
  > (--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.
  """
  in yakkety.

  I think what happend here is that we had a buggy version of nvidia in
  xenial-proposed (and maybe yakkety) for a brief time. This version
  contained the var-lib-snapd-lib-gl.mount - the new package does not
  have cleanup script for this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-361/+bug/1621780/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to