You are upgrading from a version of the package with a bug. Either purge the old package with force options or delete /var/lib/dpkg/info/nvidia-opencl-icd-361.prerm and then the upgrade should work.
On Sat, Jul 2, 2016 at 1:06 PM, David Liebman <[email protected]> wrote: > HI. I get the following error when I try to update nvidia-opencl-icd-361. > I don't know exactly where to send the info or who to tell. If you can help > me or direct me where to go to report this I would be most appreciative. > Thanks. > > $ sudo apt-get update > Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease > Hit:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease > Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease > Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-proposed InRelease > Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 > kB] > Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial > InRelease > Hit:7 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease > Fetched 94.5 kB in 0s (171 kB/s) > Reading package lists... Done > dave@HP-Notebook:~$ sudo apt-get upgrade > Reading package lists... Done > Building dependency tree > Reading state information... Done > Calculating upgrade... Done > The following package was automatically installed and is no longer > required: > libgif4 > Use 'sudo apt autoremove' to remove it. > The following packages will be upgraded: > nvidia-opencl-icd-361 > 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 9,012 kB of archives. > After this operation, 3,072 B disk space will be freed. > Do you want to continue? [Y/n] > Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main > amd64 nvidia-opencl-icd-361 amd64 361.45.18-0ubuntu0~gpu16.04.1 [9,012 kB] > Fetched 9,012 kB in 11s (776 kB/s) > (Reading database ... 1076334 files and directories currently installed.) > Preparing to unpack > .../nvidia-opencl-icd-361_361.45.18-0ubuntu0~gpu16.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_361.45.18-0ubuntu0~gpu16.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. > Processing triggers for libc-bin (2.23-0ubuntu3) ... > Errors were encountered while processing: > > > /var/cache/apt/archives/nvidia-opencl-icd-361_361.45.18-0ubuntu0~gpu16.04.1_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > -- > that is all > > > -- > Mailing list: https://launchpad.net/~graphics-drivers-testers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~graphics-drivers-testers > More help : https://help.launchpad.net/ListHelp >
-- Mailing list: https://launchpad.net/~graphics-drivers-testers Post to : [email protected] Unsubscribe : https://launchpad.net/~graphics-drivers-testers More help : https://help.launchpad.net/ListHelp

