package nvidia-331 (not installed) failed to purge: subprocess installed post-removal script returned error exit status 8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-340 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While running a purging script to remove unused package configuration information from the system '''
sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
'''
there was a crash that automatically triggered the production and submittal of the attached files.
If run separately:
'''
username@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
nvidia-331*
0 upgraded, 0 newly installed, 1 to remove and 110 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 387201 files and directories currently installed.)
Removing nvidia-331 (331.38-0ubuntu7) ...
Purging configuration files for nvidia-331 (331.38-0ubuntu7) ...
stop: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
userdel: user nvidia-persistenced is currently used by process 1388
dpkg: error processing package nvidia-331 (--purge):
subprocess installed post-removal script returned error exit status 8
Errors were encountered while processing:
nvidia-331
E: Sub-process /usr/bin/dpkg returned an error code (1)
'''
This probably has to do with the fact that I have the system currently configured to run additional nvidia driver version 340.
Running ''' apt-cache show nvidia-331'''
returns (clipped out tailing PCI info for brevity):
'''
username@
Package: nvidia-331
Priority: optional
Section: restricted/misc
Installed-Size: 18
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: amd64
Source: nvidia-
Version: 340.101-
Depends: nvidia-340
Filename: pool/restricted
Size: 6636
MD5sum: 1a6be6ea31215bd
SHA1: ce94d059fb70a1d
SHA256: 22a62d8c3a113a3
Description-en: Transitional package for nvidia-331
This is a transitional package for nvidia-331, and can be
safely removed after the installation is complete.
Description-md5: 3612f7cb365b0b5
Bugs: https:/
Origin: Ubuntu
Supported: 5y
Package: nvidia-331
Priority: optional
Section: restricted/misc
Installed-Size: 18
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: amd64
Source: nvidia-
Version: 340.96-0ubuntu3
Depends: nvidia-340
Filename: pool/restricted
Size: 4800
MD5sum: ab781dc3418c241
SHA1: a71f25d637bd32a
SHA256: 78ac9b96d777de5
Description-en: Transitional package for nvidia-331
This is a transitional package for nvidia-331, and can be
safely removed after the installation is complete.
Description-md5: 3612f7cb365b0b5
Bugs: https:/
Origin: Ubuntu
Supported: 5y
Package: nvidia-331
Status: purge ok config-files
Priority: optional
Section: restricted/misc
Installed-Size: 177004
Maintainer: Ubuntu Core Developers <email address hidden>
Architecture: amd64
Source: nvidia-
Version: 331.38-0ubuntu7
Replaces: nvidia-
Provides: nvidia-
Depends: x11-common (>= 1:7.0.0), make, sed (>> 3.0), dkms, linux-libc-dev, libc6-dev, patch, acpid, lib32gcc1, libc6-i386, passwd, adduser, libc6 (>= 2.2.5), libx11-6, libxext6, xorg-video-abi-11 | xorg-video-abi-12 | xorg-video-abi-13 | xorg-video-abi-14 | xorg-video-abi-15, xserver-xorg-core
Recommends: nvidia-settings (>= 331.20), nvidia-prime (>= 0.5) | bumblebee, libcuda1-331, nvidia-
Suggests: nvidia-331-uvm
Conflicts: nvidia-
Description: NVIDIA binary driver - version 331.38
The binary driver provide optimized hardware acceleration of OpenGL
applications via a direct-rendering X Server. AGP, PCIe, SLI, TV-out
and flat panel displays are also supported.
.
This package also includes the source for building the kernel module
required by the Xorg driver, and provides NVIDIA's implementation of
the Video Decode and presentation API. The latter enables acceleration
for GeForce 8 and later series cards for h264 video.
.
Release Notes and supported GPUs:
http://
Description-md5: bffe34a3b92177b
Modaliases: nvidia_
'''
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nvidia-331 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-62-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 367.57 Mon Oct 3 20:37:01 PDT 2016
GCC version: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~
.proc.driver.
Your system is not currently configured to drive a VGA console
on the primary VGA device. The NVIDIA Linux graphics driver
requires the use of a text-mode VGA console. Use of other console
drivers including, but not limited to, vesafb, may result in
corruption and stability problems, and is not supported.
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
Date: Sun Feb 19 18:06:58 2017
DistUpgraded: 2016-11-04 20:39:21,921 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
ErrorMessage: subprocess installed post-removal script returned error exit status 8
GraphicsCard:
NVIDIA Corporation GF104GLM [Quadro 4000M] [10de:0e3b] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company GF104GLM [Quadro 4000M] [103c:1630]
InstallationDate: Installed on 2014-05-15 (1010 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Hewlett-Packard HP EliteBook 8760w
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: nvidia-
Title: package nvidia-331 (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 8
UpgradeStatus: Upgraded to xenial on 2016-11-04 (106 days ago)
dmi.bios.date: 05/27/2016
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68SAD Ver. F.62
dmi.board.name: 1630
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 01.3D
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP EliteBook 8760w
dmi.product.
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-
version.
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Sun Feb 19 17:55:11 2017
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.18.4-0ubuntu0.2
tags: | removed: need-duplicate-check |