PDA

View Full Version : [SOLVED] 16.04 kernel & driver issues



expatver
June 28th, 2016, 01:02 AM
I normally check Synaptic daily. In settings I have checked main and universe and dont have pre release checked in developer options. Uname -a yields


4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux


In my daily checks I ve had a couple of Synaptic recommended kernel update attempts that have failed (dpkg hangs), have gone back and cleaned up the kruft after the failed update. First, I do not know why I receive the update notifications unless they are valid i.e. meet the criteria in Synaptic settings - today's was for 4.4.0-28.47. I also have no idea where the problem might be since after cleaning up the system- getting dpkg to function again, and removing various files for the failed update from places like /boot and /var/lib/dpkg/info.......I am unclear on what might be the latest stable kernel in common usage given my update settings, and whether I have some sort of problem somewhere else i.e. with a depmod error or dpkg or......

After the 4.4.0-28.47 attempt and cleaning the system up afterwards I attempted to install from Synaptic, linux generic 4.4.0.28.30 since it is a later version and since generic contains kernel and headers. It again failed where the other attempted installs failed, running dpkg during the unpacking process-


dpkg: warning: files list file for package 'linux-image-4.4.0-24-generic' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-headers-4.4.0-24' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-headers-4.4.0-24-generic' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'linux-image-extra-4.4.0-24-generic' missing; assuming package has no files currently installed
(Reading database ... 205134 files and directories currently installed.)
Preparing to unpack .../linux-image-4.4.0-28-generic_4.4.0-28.47_amd64.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
Done.
Unpacking linux-image-4.4.0-28-generic (4.4.0-28.47) ...
Selecting previously unselected package linux-image-extra-4.4.0-28-generic.
Preparing to unpack .../linux-image-extra-4.4.0-28-generic_4.4.0-28.47_amd64.deb ...
Unpacking linux-image-extra-4.4.0-28-generic (4.4.0-28.47) ...
Preparing to unpack .../linux-generic_4.4.0.28.30_amd64.deb ...
Unpacking linux-generic (4.4.0.28.30) over (4.4.0.24.25) ...
Preparing to unpack .../linux-image-generic_4.4.0.28.30_amd64.deb ...
Unpacking linux-image-generic (4.4.0.28.30) over (4.4.0.24.25) ...
Selecting previously unselected package linux-headers-4.4.0-28.
Preparing to unpack .../linux-headers-4.4.0-28_4.4.0-28.47_all.deb ...
Unpacking linux-headers-4.4.0-28 (4.4.0-28.47) ...
Selecting previously unselected package linux-headers-4.4.0-28-generic.
Preparing to unpack .../linux-headers-4.4.0-28-generic_4.4.0-28.47_amd64.deb ...
Unpacking linux-headers-4.4.0-28-generic (4.4.0-28.47) ...
Preparing to unpack .../linux-headers-generic_4.4.0.28.30_amd64.deb ...
Unpacking linux-headers-generic (4.4.0.28.30) over (4.4.0.24.25) ...
Preparing to unpack .../linux-libc-dev_4.4.0-28.47_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-28.47) over (4.4.0-24.43) ...
Setting up linux-image-4.4.0-28-generic (4.4.0-28.47) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-24-generic
The link /vmlinuz is a dangling linkto /boot/vmlinuz-4.4.0-24-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic

At which point nothing more happens. Same failure point for all of the previous update attempts and again, these are what are recommended by Synaptic.

Any suggestions deeply appreciated.

Regards
Expat

grahammechanical
June 28th, 2016, 02:14 AM
I have an install of 16.04. It has Linux 4.4.0-25. And I just updated it. But the 16.10 development version has


graham@sdb1-16:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
Codename: yakkety
graham@sdb1-16:~$ uname -a
Linux sdb1-16 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Regards.

expatver
June 28th, 2016, 02:17 AM
grahammechanical

Thanks for the information. Its interesting that without developer updates checked I received an update for the newer development kernel. Will do some checking.

Again thanks for the information and interest.

Regards

banceu_sergiu_ione
June 28th, 2016, 02:25 AM
fex@fex:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
fex@fex:~$ uname -a
Linux fex 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

kansasnoob
June 28th, 2016, 05:40 AM
fex@fex:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
fex@fex:~$ uname -a
Linux fex 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

+1!

4.4.0-28 rolled into Xenial today :)

kansasnoob
June 28th, 2016, 05:46 AM
Something is borked:


The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-24-generic
The link /vmlinuz is a dangling linkto /boot/vmlinuz-4.4.0-24-generic

What happens when you run:


sudo dpkg --configure -a


sudo apt-get update


sudo apt-get dist-upgrade

expatver
June 28th, 2016, 06:51 AM
I agree something is wrong

sudo dpkg --configure -a runs with no return message


sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:3 http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu xenial InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Fetched 189 kB in 1s (176 kB/s)
Reading package lists... Done

Then


sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


thats it. Something is borked I have not been able to figure out what it is. There is more. Running Synaptic, using kernel in the search field, Synaptic shows that Linux generic 4.4.0.28.30 is installed when uname -a yields


Linux-All-Series 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux



So it appears that what Synaptic thinks is on the machine and what is actually is on the machine are different.......unless I am badly misunderstanding the way kernels are designated.....

Expat

banceu_sergiu_ione
June 28th, 2016, 11:15 AM
My software & upgrades settings: main/universe/restricted/multiverse/source from main+ canonical/paulo-migule for mesa PPA + xenial security/xenial updates. Did not selected the backports.

Since 16.04 i only had run only apt and never apt-get.

sudo apt upgrade (do what does sudo apt-get upgrade && dist-upgrade )

Maybe apt-get become somehow deprecated ?
Try see whit only using apt.

vasa1
June 28th, 2016, 11:37 AM
You asked: Which kernel version are 16.04 users on? (non pre release users)

This is what I see after a kernel update today (via sudo apt-get update and sudo apt-get dist-upgrade):
04:01 PM ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
04:03 PM ~ $ uname -a
Linux vasa1-Inspiron-1545 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Impavidus
June 28th, 2016, 12:08 PM
I just upgraded from 4.4.0-24 to 4.4.0-28.

It seems your problem has existed for some time. Kernel 4.4.0-24 has been around for some time already, but you're still on 4.4.0-22 and installation of 4.4.0-28 failed. Now it seems that 4.4.0-24 is marked as installed, but dpkg cannot find files associated with 4.4.0-24. This may be the result of manually removing files from places like /boot and /var/lib/dpkg/info.

Maybe reinstalling 4.4.0-24 fixes things. As 4.4.0-24 consists of multiple packages depending on each other, the order in which you should reinstall them may matter.

expatver
June 28th, 2016, 05:31 PM
Many thanks for the replies here. Currently I am in a quandary about what to do, whether to do a removal of 4.4.0-24 to try to "fix" whatever in package management wont allow updating the kernels.

Regards
Expat

Later. Via Synaptic, under kernel, uninstall everything except packages and libraries relating to 4.4.0-22 generic. Rebooted. Synaptic under kernel again, the only offering under linux kernel generic is 4.4.0-28 generic. Selected it for installation. The installation hung again. This is part of the Synaptic install procedure


Preparing to unpack .../linux-generic_4.4.0.28.30_amd64.deb ...
Unpacking linux-generic (4.4.0.28.30) ...
Setting up linux-image-4.4.0-28-generic (4.4.0-28.47) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-28-generic (http://ubuntuforums.org/boot/initrd.img-4.4.0-28-generic)
vmlinuz(/boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)
) points to /boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)
(/boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst (http://ubuntuforums.org/var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst) line 491.
Examining /etc/kernel/postinst.d. (http://ubuntuforums.org/etc/kernel/postinst.d.)
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal (http://ubuntuforums.org/etc/kernel/postinst.d/apt-auto-removal) 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)
run-parts: executing /etc/kernel/postinst.d/dkms (http://ubuntuforums.org/etc/kernel/postinst.d/dkms) 4.4.0-28-generic /boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)

where it stops. killall synaptic from CLI. do a search for the 4.4.0-28 package and delete everything associated with it. Lots of cruft. After that dpkg --configure -a which runs and returns no output. Rebooted. Synaptic again to install 4.4.0-28 generic kernel. Installation procedure runs without a hitch. 4.4.0-28 is installed, yes? Rebooted. Sudo uname-a yields 4.4.0-22-generic. What gives with this? I am at a loss. Synaptic ran without pause indicating it installed the new kernel.

QDR06VV9
June 28th, 2016, 08:15 PM
This is a problem

The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-28-generic (http://ubuntuforums.org/boot/initrd.img-4.4.0-28-generic) vmlinuz(/boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic) ) points to /boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic) (/boot/vmlinuz-4.4.0-28-generic (http://ubuntuforums.org/boot/vmlinuz-4.4.0-28-generic)) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst (http://ubuntuforums.org/var/lib/dpkg/info/linux-image-4.4.0-28-generic.postinst) line 491.
Have you yet tried one line at a time. close synaptic for now.

sudo dpkg --purge linux-image-4.4.0.28.30-generic
sudo apt-get update
sudo apt-get -f install

expatver
June 28th, 2016, 09:14 PM
runrickus

Thanks for the info. Purge and the Synaptic remove completely left behind linux-libc-dev 4.4.0-28.47 from an earlier attempt. Removing this manually linked to a lot of other stuff, among the links my nvidia graphics driver. I removed all of it, rebooted, and reinstalled 4.4.0-28. The installation went without a hitch. Rebooted a second time and now sudo uname -a yields

Linux All-Series 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

What I wish I had done was to copy the number of file dependencies that removal of the libc file had to post here for further information. Why this libc file made the difference I do not know.

Many thanks

QDR06VV9
June 28th, 2016, 09:20 PM
runricus

Thanks for the info. Purge and the Synaptic remove completely left behind linux-libc-dev 4.4.0-28.47 from an earlier attempt. Removing this manually linked to a lot of other stuff, among the links my nvidia graphics driver. I removed all of it, rebooted, and reinstalled 4.4.0-28. The installation went without a hitch. Rebooted a second time and now sudo uname -a yields

Linux All-Series 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

What I wish I had done was to copy the number of file dependencies that removal of the libc file had to post here for further information. Why this libc file made the difference I do not know.

Many thanks
Your Welcome! But was you able to reinstall the Nvidia Driver?

expatver
June 28th, 2016, 11:25 PM
So far no. it is reminiscent of the BS I used to go through configuring X in Mandrake MANY years ago where the GUI didnt know what the underlying OS was doing.

So I installed 4.4.0-28. It is actually running. Nvidia. Used the "additional drivers" GUI tool- when the system first booted was on the nouveaux driver. Highlighted the NVidia binary driver 361.42 proprietary tested driver (correct for my graphics card, I checked) and clicked apply changes. Waited.....waited.........waited....... and the red progress bar was hung at about 75%. Killed that. rebooted. Back into Nouveau. The additional drivers thinks that the Nvidia driver is loaded and running. However....... when doing lsmod OR

lspci -vnn | grep -i VGA -A 12
we find this

VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. GM107 [GeForce GTX 750 Ti] [3842:3751]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at df000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau

So the GUI THINKS one thing is happening while something else entirely is going on. Crap. So back to runlevel 1 CLI. sudo apt-get purge Nvidia. No! must run dpkg --configure -a first which promptly hangs trying to build the Nvidia driver. So restart in GUI mode and sudo Nautilus and start deleting everything NVidia. Restart again RL1 and sudo apt-get install Nvidia. At least now dpkg isnt locking everything up. Fetches and unpacks but then hangs again where dpkg hung before "building the nvidia module" or some such as that. It just wanders off into the weeds. wait and wait. Finally ctrl+c and reboot.

Back in GUI. To var/log/dpkg. Yields this


42-0ubuntu2
2016-06-28 16:15:12 configure nvidia-opencl-icd-361:amd64 361.42-0ubuntu2 <none>
2016-06-28 16:15:12 status unpacked nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-28 16:15:13 status unpacked nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-28 16:15:13 status half-configured nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-28 16:15:37 startup packages configure
2016-06-28 16:15:37 trigproc libc-bin:amd64 2.23-0ubuntu3 <none>
2016-06-28 16:15:37 status half-configured libc-bin:amd64 2.23-0ubuntu3
2016-06-28 16:15:37 status installed libc-bin:amd64 2.23-0ubuntu3
2016-06-28 16:15:37 configure nvidia-361:amd64 361.42-0ubuntu2 <none>
2016-06-28 16:15:37 status triggers-pending libc-bin:amd64 2.23-0ubuntu3
2016-06-28 16:15:38 status half-configured nvidia-361:amd64 361.42-0ubuntu2
2016-06-28 16:22:56 configure nvidia-opencl-icd-361:amd64 361.42-0ubuntu2 <none>
2016-06-28 16:22:56 status half-configured nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-28 16:22:56 status installed nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-28 16:22:56 trigproc libc-bin:amd64 2.23-0ubuntu3 <none>
2016-06-28 16:22:56 status half-configured libc-bin:amd64 2.23-0ubuntu3
2016-06-28 16:22:56 status installed libc-bin:amd64 2.23-0ubuntu3



At this point I am pretty disgusted.

QDR06VV9
June 28th, 2016, 11:40 PM
sudo Nautilus and start deleting everything NVidia

This is very bad thing to do and I had suspicions this was done prior this thread.
Using "sudo" with any GUI Application can wreak havoc on your system.

Graphical sudo
You should never use normal sudo to start graphical applications as root. You should use gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets HOME=~root, and copies .Xauthority to a tmp directory. This prevents files in your home directory becoming owned by root. (AFAICT, this is all that's special about the environment of the started process with gksudo vs. sudo).
Recent versions of some flavours might not have gksu installed.
If necessary install and set gksu-properties to sudo.
Examples:
gksudo gedit /etc/fstabor
kdesudo kate /etc/X11/xorg.conf
Lets see what we can do now...Post back any errors from this command

sudo apt-get install nvidia-361

expatver
June 28th, 2016, 11:48 PM
So I do this from a terminal inside the GUI as root or with X stopped ?

Froma terminal inside the GUI the results are--



sudo apt-get install nvidia-361
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
psensor-common
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
nvidia-opencl-icd-361 nvidia-prime nvidia-settings
The following NEW packages will be installed:
nvidia-361 nvidia-opencl-icd-361 nvidia-prime nvidia-settings
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.1 kB/77.5 MB of archives.
After this operation, 339 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-prime amd64 0.8.2 [11.1 kB]
Fetched 11.1 kB in 11s (956 B/s)
Selecting previously unselected package nvidia-361.
(Reading database ... 235544 files and directories currently installed.)
Preparing to unpack .../nvidia-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-opencl-icd-361.
Preparing to unpack .../nvidia-opencl-icd-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_361.42-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (361.42-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
update-alternatives: using /usr/lib/nvidia-361/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-361/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 129) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-361-361.42 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building for architecture x86_64
Building initial module for 4.4.0-28-generic


as before it simply hangs here--nothing else happens. One should wait how long?

Thanks very much for your kind help!

QDR06VV9
June 28th, 2016, 11:58 PM
So I do this from a terminal inside the GUI as root or with X stopped ?

Froma terminal inside the GUI the results are--



sudo apt-get install nvidia-361
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
psensor-common
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
nvidia-opencl-icd-361 nvidia-prime nvidia-settings
The following NEW packages will be installed:
nvidia-361 nvidia-opencl-icd-361 nvidia-prime nvidia-settings
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.1 kB/77.5 MB of archives.
After this operation, 339 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-prime amd64 0.8.2 [11.1 kB]
Fetched 11.1 kB in 11s (956 B/s)
Selecting previously unselected package nvidia-361.
(Reading database ... 235544 files and directories currently installed.)
Preparing to unpack .../nvidia-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-opencl-icd-361.
Preparing to unpack .../nvidia-opencl-icd-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_361.42-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (361.42-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
update-alternatives: using /usr/lib/nvidia-361/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-361/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 129) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-361-361.42 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building for architecture x86_64
Building initial module for 4.4.0-28-generic


as before it simply hangs here--nothing else happens. One should wait how long?

Thanks very much for your kind help!
For more information using gksudo see this: https://help.ubuntu.com/community/RootSudo
This is meant for GUI Apps such as Gedit, Nautilus.. well anything that has a Graphical User Interface
Yes you just use the terminal with X running.
And is it still running??

expatver
June 28th, 2016, 11:59 PM
Yes

QDR06VV9
June 29th, 2016, 12:08 AM
Well it is not supposed to run that long.
In that terminal now running click it to get the focus there, Hit Keyboard Combo < Ctrl+c>
And when it returns to a normal prompt issue this in the terminal...again posting any errors

sudo apt-get -f install

expatver
June 29th, 2016, 12:16 AM
Sorry waited then tried ctrl+c to stop the process. It ignored that so killed the terminal window. Then tried sudo apt-get install ksudo. Dpkg error so I ran dpkg --configure -a and the process hung as before. Deleted everything NVidia from the machine, rebooted, checked dpkg and it returned nothing. Ran sudo apt-get install kdesudo, installed that and it works well. Thanks very much for the kindness of sending me the link on sudo. I learned quite a bit that I did not know.

Now--here is the output for sudo apt-get -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
psensor-common
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up phonon:amd64 (4:4.8.3-0ubuntu3) ...
Setting up kde-runtime (4:15.12.3-0ubuntu1) ...
update-alternatives: using /usr/lib/kde4/libexec/kdesu-distrib/kdesu to provide /usr/lib/kde4/libexec/kdesu (kdesu) in auto mode
Setting up kdesudo (3.4.2.4+repack-2ubuntu4) ...
update-alternatives: using /usr/bin/kdesudo to provide /usr/lib/kde4/libexec/kdesu (kdesu) in auto mode
Processing triggers for libc-bin (2.23-0ubuntu3) ...
------------------------------------------------------------

but this is after my operation on killing the Nvidia install attempt and I suspect you wanted error messages from that procedure, yes?

QDR06VV9
June 29th, 2016, 12:32 AM
but this is after my operation on killing the Nvidia install attempt and I suspect you wanted error messages from that procedure, yes?

Yes! But I need to have a better idea on the state for nvidia so paste back the info from this command in the terminal

dpkg -l | grep nvidia

expatver
June 29th, 2016, 12:43 AM
dpkg -l| grep nvidia
ii nvidia-361 361.42-0ubuntu2 amd64 NVIDIA binary driver - version 361.42
ii nvidia-opencl-icd-361 361.42-0ubuntu2 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 361.42-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver

This is odd since I thought I removed everything Nvidia.....

had I run the following commands the Nvidia entries may not have appeared yes?
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists/*
sudo rm /var/cache/apt/*.bin
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

QDR06VV9
June 29th, 2016, 12:49 AM
dpkg -l| grep nvidia
ii nvidia-361 361.42-0ubuntu2 amd64 NVIDIA binary driver - version 361.42
ii nvidia-opencl-icd-361 361.42-0ubuntu2 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 361.42-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver

This is odd since I thought I removed everything Nvidia.....
Well that shows a good install now...and you now should be able to reboot with the driver installed.
But your terminal is not showing a normal output.
So after a reboot we will try and clean things up a bit..So let me know when you have rebooted.

expatver
June 29th, 2016, 12:50 AM
rebooting

lspci -vnn | grep -i VGA -A 12
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. GM107 [GeForce GTX 750 Ti] [3842:3751]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at df000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
still on noveau

What you were looking for with dpkg -l| grep nvidia was what dpkg was reporting it thought was installed rather than what was there, yes?

Going back to my bad habits, this time using kdesudo and starting Nautilus as root, only shows the NVidia sound driver package on the machine. Nothing else in spite of what dpkg -l grep says.

QDR06VV9
June 29th, 2016, 01:03 AM
lspci -vnn | grep -i VGA -A 12
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] [10de:1380] (rev a2) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. GM107 [GeForce GTX 750 Ti] [3842:3751]
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at df000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
still on noveau

What you were looking for with dpkg -l| grep nvidia was what dpkg was reporting it thought was installed rather than what was there, yes?

Going back to my bad habits, this time using kdesudo and starting Nautilus as root, only shows the NVidia sound driver package on the machine. Nothing else in spite of what dpkg -l grep says.



If I could just get you to slow down a bit...You do not uninstall things by deleting them but by a package manager or by way of the terminal...hand deleting can also break your system.

expatver
June 29th, 2016, 01:16 AM
OK. I understand that uninstalling by hand is a no no. However given with both the kernel update and this laterst with the Nvidia driver, dpkg wants dpkg --configure -a run when an install is unsuccessful. Every time I have tried that. dpkg has stopped with no output as it has on both of these installs (kernel and Nvidia). Moreover ,this locks me out of being able to do anything with the package management system completely including my using either apt-get update or Synaptic--either of which are my daily updates. So a respectful question- when dpkg gets lost and has to be killed what are the alternatives for "fixing" things where any package manager will run? One can not simply let the system run for days with dpkg lost and unresponsive. Nor can one on a non "point" OS, simply decide after such an event to ignore software updates. That is poor system administration --as is admittedly, my actions. So what good alternative exists?

In my instance, The kernel updating "broke. I thought I had a later kernel installed. When after relying for a number of weeks on Synaptic, when I received via Synaptic, the notification to update to antoher kernel only then did I uname and found that what Synaptic indicated vs what actually existed did not match.

I have been using Linux since 1999. Before that Unix. So there are a LOT of tools here from the CLI. I have trouble sometimes keeping track of what is appropriate.

QDR06VV9
June 29th, 2016, 01:17 AM
Sorry lost track of the time I have to get ready and go to my job.
We will pick this up in the morning...or if someone else is willing to resume this.
Kind Regards

expatver
June 29th, 2016, 01:18 AM
Thanks very much for your kindness and help in all of this. My apologies for creating a frustrating atmosphere.

Regards and have a great night.

QDR06VV9
June 29th, 2016, 05:09 PM
Thanks very much for your kindness and help in all of this. My apologies for creating a frustrating atmosphere.

Regards and have a great night.
No need to apologize:) sorry I ran out of time.
I am still puzzled by the package manager not finishing outputs from the terminal?
So let's try this... to check package manager
Try the following commands...


sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bak

And

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

Now run this

sudo apt-get update

And if there are any errors paste them back here.
If there are no errors then run this

sudo apt-get upgrade
sudo apt-get dist-upgrade
I will try and hang in here with you today to get this resolved

expatver
June 29th, 2016, 05:32 PM
Good morning.

Again many thanks for your kind help. Since last night the only change I made to the machine was complete removal of the Nvidia package via Synaptic. Given that, do you want me to execute the above commands or......

Thanks

QDR06VV9
June 29th, 2016, 05:38 PM
Yes That would be Great. And Good Morning to you as well.

expatver
June 29th, 2016, 05:39 PM
sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu xenial InRelease
Hit:5 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:7 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:9 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial InRelease
Fetched 189 kB in 1s (169 kB/s)
Reading package lists... Done
All-Series:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libjansson4 screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
All-Series:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libjansson4 screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
All-Series:~$

Where we are with the commands run. No errors.

QDR06VV9
June 29th, 2016, 05:47 PM
Good so far..Let's try a little clean up now before going on to the other commands

sudo apt-get autoremove

expatver
June 29th, 2016, 05:51 PM
All-Series:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libjansson4 screen-resolution-extra
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 11.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 262256 files and directories currently installed.)
Removing bbswitch-dkms (0.8-3ubuntu1) ...


-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.4.0-22-generic (x86_64)
-------------------------------------


Status: Before uninstall, this module version was ACTIVE on this kernel.


bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-22-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


depmod........


DKMS: uninstall completed.


-------- Uninstall Beginning --------
Module: bbswitch
Version: 0.8
Kernel: 4.4.0-28-generic (x86_64)
-------------------------------------


Status: Before uninstall, this module version was ACTIVE on this kernel.


bbswitch.ko:
- Uninstallation
- Deleting from: /lib/modules/4.4.0-28-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


depmod........


DKMS: uninstall completed.


------------------------------
Deleting module version: 0.8
completely from the DKMS tree.
------------------------------
Done.
Removing dkms (2.2.0.3-2ubuntu11) ...
Removing lib32gcc1 (1:6.0.1-0ubuntu1) ...
Removing libc6-i386 (2.23-0ubuntu3) ...
Removing libjansson4:amd64 (2.7-3) ...
Removing screen-resolution-extra (0.17.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...

All-Series:~$

Done

QDR06VV9
June 29th, 2016, 05:55 PM
Lets see what kernel we are on now?

uname -r

expatver
June 29th, 2016, 05:55 PM
All-Series:~$ uname -r
4.4.0-28-generic

Just wanted to say given the time you are contributing to both myself and to others, and being a forum moderator--I think is excellent. I want to thank you for not only my help but for what you do for others as well. I wish I knew more, to the point where I could be of help as are you.

For your kind unselfish efforts to the Ubuntu community, a warm thank you.

QDR06VV9
June 29th, 2016, 06:04 PM
Well if it is not telling us story's looks like we are in good place now.
So do we want to install the Nvidia Driver now? I know I would want to.
So if you do also issue this in the terminal

sudo apt-get install nvidia-361
Fingers Crossed no errors this time.
And if there are no errors (or a hanging terminal) Reboot and let us know.

expatver
June 29th, 2016, 06:22 PM
OK Since the last post 11 minutes in, CPU usage gone to 1-2% on all cores, disk activity almost nil, here is the terminal


All-Series:~$ sudo apt-get install nvidia-361
[sudo] password
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libjansson4 libxnvctrl0
nvidia-opencl-icd-361 nvidia-prime nvidia-settings screen-resolution-extra
Suggested packages:
bumblebee
The following NEW packages will be installed:
bbswitch-dkms dkms lib32gcc1 libc6-i386 libjansson4 libxnvctrl0 nvidia-361
nvidia-opencl-icd-361 nvidia-prime nvidia-settings screen-resolution-extra
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 80.0 MB of archives.
After this operation, 350 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 dkms all 2.2.0.3-2ubuntu11 [67.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libc6-i386 amd64 2.23-0ubuntu3 [2,335 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjansson4 amd64 2.7-3 [26.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxnvctrl0 amd64 361.42-0ubuntu1 [11.2 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32gcc1 amd64 1:6.0.1-0ubuntu1 [46.6 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-361 amd64 361.42-0ubuntu2 [67.6 MB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-opencl-icd-361 amd64 361.42-0ubuntu2 [9,011 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 bbswitch-dkms amd64 0.8-3ubuntu1 [11.6 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-prime amd64 0.8.2 [11.1 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 screen-resolution-extra all 0.17.1 [11.4 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 nvidia-settings amd64 361.42-0ubuntu1 [855 kB]
Fetched 80.0 MB in 8s (9,632 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dkms.
(Reading database ... 261895 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-2ubuntu11_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../libc6-i386_2.23-0ubuntu3_amd64.deb ...
Unpacking libc6-i386 (2.23-0ubuntu3) ...
Replaced by files in installed package libc6:i386 (2.23-0ubuntu3) ...
Selecting previously unselected package libjansson4:amd64.
Preparing to unpack .../libjansson4_2.7-3_amd64.deb ...
Unpacking libjansson4:amd64 (2.7-3) ...
Selecting previously unselected package libxnvctrl0.
Preparing to unpack .../libxnvctrl0_361.42-0ubuntu1_amd64.deb ...
Unpacking libxnvctrl0 (361.42-0ubuntu1) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../lib32gcc1_1%3a6.0.1-0ubuntu1_amd64.deb ...
Unpacking lib32gcc1 (1:6.0.1-0ubuntu1) ...
Selecting previously unselected package nvidia-361.
Preparing to unpack .../nvidia-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-361 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-opencl-icd-361.
Preparing to unpack .../nvidia-opencl-icd-361_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Selecting previously unselected package bbswitch-dkms.
Preparing to unpack .../bbswitch-dkms_0.8-3ubuntu1_amd64.deb ...
Unpacking bbswitch-dkms (0.8-3ubuntu1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Selecting previously unselected package screen-resolution-extra.
Preparing to unpack .../screen-resolution-extra_0.17.1_all.deb ...
Unpacking screen-resolution-extra (0.17.1) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_361.42-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (361.42-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up dkms (2.2.0.3-2ubuntu11) ...
Setting up libc6-i386 (2.23-0ubuntu3) ...
Setting up libjansson4:amd64 (2.7-3) ...
Setting up libxnvctrl0 (361.42-0ubuntu1) ...
Setting up lib32gcc1 (1:6.0.1-0ubuntu1) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Loading new nvidia-361-361.42 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building for architecture x86_64
Building initial module for 4.4.0-28-generic
-------------------------------------------------------------------------------------

This is where it hung before. I have not killed it but seems like 11 minutes is a bit long for an I7 4790.....also no CPU and HTOP does not reveal anything going on other than normal machine processes. I have not killed the process so what would you like us to do next?

QDR06VV9
June 29th, 2016, 06:26 PM
Yes Kill it! Try to use Ctrl c
I need to regroup here and think a bit.

expatver
June 29th, 2016, 06:29 PM
Ctrl c has no effect, I dont want to make a mess here if ctrl c doesnt work , kill the terminal?

OK Here is /var/log/dpkg.log


2016-06-29 12:05:29 startup archives unpack
2016-06-29 12:05:30 install dkms:all 2.2.0.3-2ubuntu11 2.2.0.3-2ubuntu11
2016-06-29 12:05:30 status half-installed dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:30 status triggers-pending man-db:amd64 2.7.5-1
2016-06-29 12:05:30 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:30 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:31 install libc6-i386:amd64 2.23-0ubuntu3 2.23-0ubuntu3
2016-06-29 12:05:31 status triggers-pending libc-bin:amd64 2.23-0ubuntu3
2016-06-29 12:05:31 status half-installed libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:32 status unpacked libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:32 status unpacked libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:33 install libjansson4:amd64 <none> 2.7-3
2016-06-29 12:05:33 status half-installed libjansson4:amd64 2.7-3
2016-06-29 12:05:33 status unpacked libjansson4:amd64 2.7-3
2016-06-29 12:05:33 status unpacked libjansson4:amd64 2.7-3
2016-06-29 12:05:33 install libxnvctrl0:amd64 <none> 361.42-0ubuntu1
2016-06-29 12:05:33 status half-installed libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:33 status unpacked libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:33 status unpacked libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:34 install lib32gcc1:amd64 <none> 1:6.0.1-0ubuntu1
2016-06-29 12:05:34 status half-installed lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:35 status unpacked lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:35 status unpacked lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:35 install nvidia-361:amd64 <none> 361.42-0ubuntu2
2016-06-29 12:05:35 status half-installed nvidia-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:38 status triggers-pending ureadahead:amd64 0.100.0-19
2016-06-29 12:05:47 status unpacked nvidia-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:47 status unpacked nvidia-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:48 install nvidia-opencl-icd-361:amd64 <none> 361.42-0ubuntu2
2016-06-29 12:05:48 status half-installed nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:49 status unpacked nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:49 status unpacked nvidia-opencl-icd-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:49 install bbswitch-dkms:amd64 <none> 0.8-3ubuntu1
2016-06-29 12:05:49 status half-installed bbswitch-dkms:amd64 0.8-3ubuntu1
2016-06-29 12:05:49 status unpacked bbswitch-dkms:amd64 0.8-3ubuntu1
2016-06-29 12:05:49 status unpacked bbswitch-dkms:amd64 0.8-3ubuntu1
2016-06-29 12:05:50 install nvidia-prime:amd64 <none> 0.8.2
2016-06-29 12:05:50 status half-installed nvidia-prime:amd64 0.8.2
2016-06-29 12:05:50 status unpacked nvidia-prime:amd64 0.8.2
2016-06-29 12:05:50 status unpacked nvidia-prime:amd64 0.8.2
2016-06-29 12:05:50 install screen-resolution-extra:all 0.17.1 0.17.1
2016-06-29 12:05:50 status half-installed screen-resolution-extra:all 0.17.1
2016-06-29 12:05:50 status triggers-pending dbus:amd64 1.10.6-1ubuntu3
2016-06-29 12:05:50 status triggers-pending dbus:amd64 1.10.6-1ubuntu3
2016-06-29 12:05:51 status unpacked screen-resolution-extra:all 0.17.1
2016-06-29 12:05:51 status unpacked screen-resolution-extra:all 0.17.1
2016-06-29 12:05:51 install nvidia-settings:amd64 <none> 361.42-0ubuntu1
2016-06-29 12:05:51 status half-installed nvidia-settings:amd64 361.42-0ubuntu1
2016-06-29 12:05:51 status triggers-pending bamfdaemon:amd64 0.5.3~bzr0+16.04.20160523-0ubuntu1
2016-06-29 12:05:51 status half-installed nvidia-settings:amd64 361.42-0ubuntu1
2016-06-29 12:05:51 status triggers-pending gnome-menus:amd64 3.13.3-6ubuntu3
2016-06-29 12:05:51 status triggers-pending desktop-file-utils:amd64 0.22-1ubuntu5
2016-06-29 12:05:51 status half-installed nvidia-settings:amd64 361.42-0ubuntu1
2016-06-29 12:05:52 status triggers-pending mime-support:all 3.59ubuntu1
2016-06-29 12:05:52 status unpacked nvidia-settings:amd64 361.42-0ubuntu1
2016-06-29 12:05:52 status unpacked nvidia-settings:amd64 361.42-0ubuntu1
2016-06-29 12:05:52 trigproc man-db:amd64 2.7.5-1 <none>
2016-06-29 12:05:52 status half-configured man-db:amd64 2.7.5-1
2016-06-29 12:05:53 status installed man-db:amd64 2.7.5-1
2016-06-29 12:05:53 trigproc libc-bin:amd64 2.23-0ubuntu3 <none>
2016-06-29 12:05:53 status half-configured libc-bin:amd64 2.23-0ubuntu3
2016-06-29 12:05:53 status installed libc-bin:amd64 2.23-0ubuntu3
2016-06-29 12:05:53 trigproc ureadahead:amd64 0.100.0-19 <none>
2016-06-29 12:05:53 status half-configured ureadahead:amd64 0.100.0-19
2016-06-29 12:05:53 status installed ureadahead:amd64 0.100.0-19
2016-06-29 12:05:53 trigproc dbus:amd64 1.10.6-1ubuntu3 <none>
2016-06-29 12:05:53 status half-configured dbus:amd64 1.10.6-1ubuntu3
2016-06-29 12:05:53 status installed dbus:amd64 1.10.6-1ubuntu3
2016-06-29 12:05:53 trigproc bamfdaemon:amd64 0.5.3~bzr0+16.04.20160523-0ubuntu1 <none>
2016-06-29 12:05:53 status half-configured bamfdaemon:amd64 0.5.3~bzr0+16.04.20160523-0ubuntu1
2016-06-29 12:05:53 status installed bamfdaemon:amd64 0.5.3~bzr0+16.04.20160523-0ubuntu1
2016-06-29 12:05:54 trigproc gnome-menus:amd64 3.13.3-6ubuntu3 <none>
2016-06-29 12:05:54 status half-configured gnome-menus:amd64 3.13.3-6ubuntu3
2016-06-29 12:05:54 status installed gnome-menus:amd64 3.13.3-6ubuntu3
2016-06-29 12:05:54 trigproc desktop-file-utils:amd64 0.22-1ubuntu5 <none>
2016-06-29 12:05:54 status half-configured desktop-file-utils:amd64 0.22-1ubuntu5
2016-06-29 12:05:54 status installed desktop-file-utils:amd64 0.22-1ubuntu5
2016-06-29 12:05:54 trigproc mime-support:all 3.59ubuntu1 <none>
2016-06-29 12:05:54 status half-configured mime-support:all 3.59ubuntu1
2016-06-29 12:05:54 status installed mime-support:all 3.59ubuntu1
2016-06-29 12:05:55 startup packages configure
2016-06-29 12:05:55 configure dkms:all 2.2.0.3-2ubuntu11 <none>
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:55 status unpacked dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:56 status half-configured dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:56 status installed dkms:all 2.2.0.3-2ubuntu11
2016-06-29 12:05:56 configure libc6-i386:amd64 2.23-0ubuntu3 <none>
2016-06-29 12:05:56 status triggers-pending libc-bin:amd64 2.23-0ubuntu3
2016-06-29 12:05:56 status unpacked libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:56 status unpacked libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:56 status half-configured libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:56 status installed libc6-i386:amd64 2.23-0ubuntu3
2016-06-29 12:05:56 configure libjansson4:amd64 2.7-3 <none>
2016-06-29 12:05:56 status unpacked libjansson4:amd64 2.7-3
2016-06-29 12:05:56 status half-configured libjansson4:amd64 2.7-3
2016-06-29 12:05:56 status installed libjansson4:amd64 2.7-3
2016-06-29 12:05:56 configure libxnvctrl0:amd64 361.42-0ubuntu1 <none>
2016-06-29 12:05:56 status unpacked libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:56 status half-configured libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:56 status installed libxnvctrl0:amd64 361.42-0ubuntu1
2016-06-29 12:05:56 configure lib32gcc1:amd64 1:6.0.1-0ubuntu1 <none>
2016-06-29 12:05:56 status unpacked lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:57 status half-configured lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:57 status installed lib32gcc1:amd64 1:6.0.1-0ubuntu1
2016-06-29 12:05:57 configure nvidia-361:amd64 361.42-0ubuntu2 <none>
2016-06-29 12:05:57 status unpacked nvidia-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:57 status unpacked nvidia-361:amd64 361.42-0ubuntu2
2016-06-29 12:05:57 status half-configured nvidia-361:amd64 361.42-0ubuntu2

------------------------------------------------------------------------------------

this is to the last entry. Still have not killed the terminal.

QDR06VV9
June 29th, 2016, 06:35 PM
Yes kill the terminal!

QDR06VV9
June 29th, 2016, 06:37 PM
Just for my curiosity what dose this show

inxi -G

expatver
June 29th, 2016, 06:55 PM
See here is the bad news...... when this type of install fail happens it limits everything after....


All-Series:~$ inxi -G
The program 'inxi' is currently not installed. You can install it by typing:
sudo apt install inxi

All-Series:~$ sudo apt-get install inxi
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

All-Series:~$ sudo killall dpkg
All-Series:~$ sudo apt-get install inxi
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

then


All-Series:~$ sudo dpkg --configure -a
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package nvidia-361 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up screen-resolution-extra (0.17.1) ...
Setting up nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Setting up bbswitch-dkms (0.8-3ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package bbswitch-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-prime:
nvidia-prime depends on bbswitch-dkms; however:
Package bbswitch-dkms is not configured yet.

dpkg: error processing package nvidia-prime (--configure):
dependency problems - leaving unconfigured
Setting up nvidia-settings (361.42-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
nvidia-361
bbswitch-dkms
nvidia-prime


All-Series:~$ sudo apt-get install inxi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gawk libsigsegv2 mesa-utils
Suggested packages:
gawk-doc
The following NEW packages will be installed:
gawk inxi libsigsegv2 mesa-utils
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 569 kB of archives.
After this operation, 2,293 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libsigsegv2 amd64 2.10-4 [14.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 gawk amd64 1:4.1.3+dfsg-0.1 [398 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 inxi all 2.2.35-0ubuntu1 [126 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 mesa-utils amd64 8.3.0-1 [31.0 kB]
Fetched 569 kB in 1s (554 kB/s)
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 262831 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.10-4_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-4) ...
Setting up libsigsegv2:amd64 (2.10-4) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Selecting previously unselected package gawk.
(Reading database ... 262839 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a4.1.3+dfsg-0.1_amd64.deb ...
Unpacking gawk (1:4.1.3+dfsg-0.1) ...
Selecting previously unselected package inxi.
Preparing to unpack .../inxi_2.2.35-0ubuntu1_all.deb ...
Unpacking inxi (2.2.35-0ubuntu1) ...
Selecting previously unselected package mesa-utils.
Preparing to unpack .../mesa-utils_8.3.0-1_amd64.deb ...
Unpacking mesa-utils (8.3.0-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up nvidia-361 (361.42-0ubuntu2) ...
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package nvidia-361 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up bbswitch-dkms (0.8-3ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package bbswitch-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-prime:
nvidia-prime depends on bbswitch-dkms; however:
Package bbswitch-dkms is not configured yet.

dpkg: error processing package nvidia-prime (--configure):
dependency problems - leaving unconfigured
Setting up gawk (1:4.1.3+dfsg-0.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up inxi (2.2.35-0ubuntu1) ...
Setting up mesa-utils (8.3.0-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
nvidia-361
bbswitch-dkms
nvidia-prime
E: Sub-process /usr/bin/dpkg returned an error code (1)

All-Series:~$ inxi -G
Graphics: Card: NVIDIA GM107 [GeForce GTX 750 Ti]
Display Server: X.Org 1.18.3 drivers: (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
GLX Renderer: Gallium 0.4 on NV117 GLX Version: 3.0 Mesa 11.2.0

---------------------------------------------------------------------------------------------------------

through all of this we had 2 gui crash report windows pop up on the screen....... they are basically on bbswitch dkms the error is subprocess installed post installation script returned error exit status 1

second is on the nvidia 361 package error is sub proc post install returned error 1. Then as I am typing this another crash report pops up same nvidia package and same error message, error 1

these, when I try to report them link to here

https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/349469

I ran


fuser -v /var/cache/debconf/config.dat

and it returns nothing.

also


All-Series:~$ dpkg -l | grep nvidia
iF nvidia-361 361.42-0ubuntu2 amd64 NVIDIA binary driver - version 361.42
ii nvidia-opencl-icd-361 361.42-0ubuntu2 amd64 NVIDIA OpenCL ICD
iU nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 361.42-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver


so this is where we are

QDR06VV9
June 29th, 2016, 07:05 PM
Ok Still just as confused as you might feel.:o

sudo dpkg -r nvidia
Post back the return of this in the terminal

sudo apt-get check

expatver
June 29th, 2016, 07:08 PM
Here is where it gets interesting


-All-Series:~$ sudo dpkg -r nvidia
dpkg: warning: ignoring request to remove nvidia which isn't installed
All-Series:~$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done

So from dpkg grep it is installed and dpkg -r ...its not.

Interesting.

This is where it gets interesting


sudo dpkg -r nvidia
dpkg: warning: ignoring request to remove nvidia which isn't installed
All-Series:~$ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done

so from dpkg grep its installed and from dpkg -r its not.....

QDR06VV9
June 29th, 2016, 07:16 PM
This is first for me..have not seen anything like this before.
I can not help but feel something is corrupt and or missing.
But lets get the bad driver out of the picture for now.

sudo apt-get remove --purge nvidia-*
If any errors show here paste them back again.

expatver
June 29th, 2016, 07:20 PM
All-Series:~$ sudo apt-get remove --purge nvidia-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'nvidia-325-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-346-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-driver-binary' for glob 'nvidia-*'
Note, selecting 'nvidia-331-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-304-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-346-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-340-updates-uvm' for glob 'nvidia-*'
Note, selecting 'nvidia-331-updates-uvm' for glob 'nvidia-*'
Note, selecting 'nvidia-glx' for glob 'nvidia-*'
Note, selecting 'nvidia-cg-toolkit' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-340-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-driver' for glob 'nvidia-*'
Note, selecting 'nvidia-modprobe' for glob 'nvidia-*'
Note, selecting 'nvidia-texture-tools' for glob 'nvidia-*'
Note, selecting 'nvidia-legacy-340xx-vdpau-driver' for glob 'nvidia-*'
Note, selecting 'nvidia-349-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-kernel-686-pae' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-304-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-310-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-331-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-352-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-vdpau-driver' for glob 'nvidia-*'
Note, selecting 'nvidia-346-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-331-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-smi' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-361-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-313-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-334-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-331-uvm' for glob 'nvidia-*'
Note, selecting 'nvidia-prime' for glob 'nvidia-*'
Note, selecting 'nvidia-kernel-dkms' for glob 'nvidia-*'
Note, selecting 'nvidia-current-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-340-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-nsight' for glob 'nvidia-*'
Note, selecting 'nvidia-common' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-346-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-352-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-kernel-amd64' for glob 'nvidia-*'
Note, selecting 'nvidia-current-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-352-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-355-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-current' for glob 'nvidia-*'
Note, selecting 'nvidia-profiler' for glob 'nvidia-*'
Note, selecting 'nvidia-337-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-cuda-toolkit' for glob 'nvidia-*'
Note, selecting 'nvidia-340-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-319-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-304-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-331-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-visual-profiler' for glob 'nvidia-*'
Note, selecting 'nvidia-persistenced' for glob 'nvidia-*'
Note, selecting 'nvidia-current-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-361-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-settings-binary' for glob 'nvidia-*'
Note, selecting 'nvidia-361-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-304' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-331' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-340' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-346' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-352' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-361' for glob 'nvidia-*'
Note, selecting 'nvidia-kernel-486' for glob 'nvidia-*'
Note, selecting 'nvidia-352-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-331-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-352-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-304-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-340-uvm' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-304-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-cuda-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-cuda-doc' for glob 'nvidia-*'
Note, selecting 'nvidia-340-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-361-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-cg-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-cg-doc' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-340-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-libopencl1-361-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-304' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-331' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-340' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-346' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-352' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd-361' for glob 'nvidia-*'
Note, selecting 'nvidia-cuda-gdb' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-304' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-310' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-313' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-319' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-325' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-331' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-334' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-337' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-340' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-343' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-346' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-349' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-352' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-355' for glob 'nvidia-*'
Note, selecting 'nvidia-experimental-304-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-343-updates' for glob 'nvidia-*'
Note, selecting 'nvidia-304' for glob 'nvidia-*'
Note, selecting 'nvidia-310' for glob 'nvidia-*'
Note, selecting 'nvidia-313' for glob 'nvidia-*'
Note, selecting 'nvidia-319' for glob 'nvidia-*'
Note, selecting 'nvidia-325' for glob 'nvidia-*'
Note, selecting 'nvidia-331' for glob 'nvidia-*'
Note, selecting 'nvidia-334' for glob 'nvidia-*'
Note, selecting 'nvidia-337' for glob 'nvidia-*'
Note, selecting 'nvidia-340' for glob 'nvidia-*'
Note, selecting 'nvidia-343' for glob 'nvidia-*'
Note, selecting 'nvidia-346' for glob 'nvidia-*'
Note, selecting 'nvidia-349' for glob 'nvidia-*'
Note, selecting 'nvidia-352' for glob 'nvidia-*'
Note, selecting 'nvidia-355' for glob 'nvidia-*'
Note, selecting 'nvidia-361' for glob 'nvidia-*'
Note, selecting 'nvidia-346-updates-dev' for glob 'nvidia-*'
Note, selecting 'nvidia-settings' for glob 'nvidia-*'
Note, selecting 'nvidia-opencl-icd' for glob 'nvidia-*'
Note, selecting 'nvidia-settings' instead of 'nvidia-settings-binary'
Package 'nvidia-libopencl1-dev' is not installed, so not removed
Package 'nvidia-libopencl1' is not installed, so not removed
Package 'nvidia-vdpau-driver' is not installed, so not removed
Package 'nvidia-legacy-340xx-vdpau-driver' is not installed, so not removed
Package 'nvidia-driver' is not installed, so not removed
Package 'nvidia-glx' is not installed, so not removed
Package 'nvidia-kernel-dkms' is not installed, so not removed
Package 'nvidia-kernel-amd64' is not installed, so not removed
Package 'nvidia-kernel-686-pae' is not installed, so not removed
Package 'nvidia-kernel-486' is not installed, so not removed
Package 'nvidia-310' is not installed, so not removed
Package 'nvidia-310-updates' is not installed, so not removed
Package 'nvidia-experimental-310' is not installed, so not removed
Package 'nvidia-313' is not installed, so not removed
Package 'nvidia-313-updates' is not installed, so not removed
Package 'nvidia-experimental-313' is not installed, so not removed
Package 'nvidia-319' is not installed, so not removed
Package 'nvidia-319-updates' is not installed, so not removed
Package 'nvidia-experimental-319' is not installed, so not removed
Package 'nvidia-325' is not installed, so not removed
Package 'nvidia-325-updates' is not installed, so not removed
Package 'nvidia-experimental-325' is not installed, so not removed
Package 'nvidia-experimental-331' is not installed, so not removed
Package 'nvidia-334' is not installed, so not removed
Package 'nvidia-334-updates' is not installed, so not removed
Package 'nvidia-experimental-334' is not installed, so not removed
Package 'nvidia-337' is not installed, so not removed
Package 'nvidia-337-updates' is not installed, so not removed
Package 'nvidia-experimental-337' is not installed, so not removed
Package 'nvidia-experimental-340' is not installed, so not removed
Package 'nvidia-343' is not installed, so not removed
Package 'nvidia-343-updates' is not installed, so not removed
Package 'nvidia-experimental-343' is not installed, so not removed
Package 'nvidia-experimental-346' is not installed, so not removed
Package 'nvidia-349' is not installed, so not removed
Package 'nvidia-349-updates' is not installed, so not removed
Package 'nvidia-experimental-349' is not installed, so not removed
Package 'nvidia-experimental-352' is not installed, so not removed
Package 'nvidia-355' is not installed, so not removed
Package 'nvidia-355-updates' is not installed, so not removed
Package 'nvidia-experimental-355' is not installed, so not removed
Package 'nvidia-smi' is not installed, so not removed
Note, selecting 'libnvtt-bin' instead of 'nvidia-texture-tools'
Package 'nvidia-304' is not installed, so not removed
Package 'nvidia-304-dev' is not installed, so not removed
Package 'nvidia-304-updates' is not installed, so not removed
Package 'nvidia-304-updates-dev' is not installed, so not removed
Package 'nvidia-331' is not installed, so not removed
Package 'nvidia-331-dev' is not installed, so not removed
Package 'nvidia-331-updates' is not installed, so not removed
Package 'nvidia-331-updates-dev' is not installed, so not removed
Package 'nvidia-331-updates-uvm' is not installed, so not removed
Package 'nvidia-331-uvm' is not installed, so not removed
Package 'nvidia-340' is not installed, so not removed
Package 'nvidia-340-dev' is not installed, so not removed
Package 'nvidia-340-updates' is not installed, so not removed
Package 'nvidia-340-updates-dev' is not installed, so not removed
Package 'nvidia-340-updates-uvm' is not installed, so not removed
Package 'nvidia-340-uvm' is not installed, so not removed
Package 'nvidia-346' is not installed, so not removed
Package 'nvidia-346-dev' is not installed, so not removed
Package 'nvidia-346-updates' is not installed, so not removed
Package 'nvidia-346-updates-dev' is not installed, so not removed
Package 'nvidia-352' is not installed, so not removed
Package 'nvidia-352-dev' is not installed, so not removed
Package 'nvidia-352-updates' is not installed, so not removed
Package 'nvidia-352-updates-dev' is not installed, so not removed
Package 'nvidia-361-dev' is not installed, so not removed
Package 'nvidia-361-updates' is not installed, so not removed
Package 'nvidia-361-updates-dev' is not installed, so not removed
Package 'nvidia-current' is not installed, so not removed
Package 'nvidia-current-dev' is not installed, so not removed
Package 'nvidia-current-updates' is not installed, so not removed
Package 'nvidia-current-updates-dev' is not installed, so not removed
Package 'nvidia-experimental-304' is not installed, so not removed
Package 'nvidia-experimental-304-dev' is not installed, so not removed
Package 'nvidia-opencl-icd-304' is not installed, so not removed
Package 'nvidia-opencl-icd-304-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-340' is not installed, so not removed
Package 'nvidia-cg-dev' is not installed, so not removed
Package 'nvidia-cg-doc' is not installed, so not removed
Package 'nvidia-cg-toolkit' is not installed, so not removed
Package 'nvidia-cuda-dev' is not installed, so not removed
Package 'nvidia-cuda-doc' is not installed, so not removed
Package 'nvidia-cuda-gdb' is not installed, so not removed
Package 'nvidia-cuda-toolkit' is not installed, so not removed
Package 'nvidia-libopencl1-304' is not installed, so not removed
Package 'nvidia-libopencl1-304-updates' is not installed, so not removed
Package 'nvidia-libopencl1-331' is not installed, so not removed
Package 'nvidia-libopencl1-331-updates' is not installed, so not removed
Package 'nvidia-libopencl1-340' is not installed, so not removed
Package 'nvidia-libopencl1-340-updates' is not installed, so not removed
Package 'nvidia-libopencl1-346' is not installed, so not removed
Package 'nvidia-libopencl1-346-updates' is not installed, so not removed
Package 'nvidia-libopencl1-352' is not installed, so not removed
Package 'nvidia-libopencl1-352-updates' is not installed, so not removed
Package 'nvidia-libopencl1-361' is not installed, so not removed
Package 'nvidia-libopencl1-361-updates' is not installed, so not removed
Package 'nvidia-modprobe' is not installed, so not removed
Package 'nvidia-nsight' is not installed, so not removed
Package 'nvidia-opencl-dev' is not installed, so not removed
Package 'nvidia-opencl-icd-331' is not installed, so not removed
Package 'nvidia-opencl-icd-331-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-340-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-346' is not installed, so not removed
Package 'nvidia-opencl-icd-346-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-352' is not installed, so not removed
Package 'nvidia-opencl-icd-352-updates' is not installed, so not removed
Package 'nvidia-opencl-icd-361-updates' is not installed, so not removed
Package 'nvidia-persistenced' is not installed, so not removed
Package 'nvidia-profiler' is not installed, so not removed
Package 'nvidia-visual-profiler' is not installed, so not removed
Package 'nvidia-common' is not installed, so not removed
The following packages will be REMOVED:
nvidia-361* nvidia-opencl-icd-361* nvidia-prime* nvidia-settings*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 339 MB disk space will be freed.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 263005 files and directories currently installed.)
Removing nvidia-361 (361.42-0ubuntu2) ...
Stopping nvidia-persistenced
nvidia-persistenced: no process found
Done.
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/nvidia-361-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
INFO:Disable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
update-initramfs: deferring update (trigger activated)
Purging configuration files for nvidia-361 (361.42-0ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Removing nvidia-prime (0.8.2) ...
Purging configuration files for nvidia-prime (0.8.2) ...
Removing nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Purging configuration files for nvidia-opencl-icd-361 (361.42-0ubuntu2) ...
Removing nvidia-settings (361.42-0ubuntu1) ...
Purging configuration files for nvidia-settings (361.42-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-28-generic
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up bbswitch-dkms (0.8-3ubuntu1) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package bbswitch-dkms (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bbswitch-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
All-Series:~$ dpkg -l | grep nvidia

yields nothing

QDR06VV9
June 29th, 2016, 07:36 PM
After doing some more research here it shows in multiple posts that driver 346 is a good solution for your card.
And we also now have an official PPA for graphics drivers.
And if you are willing to add an PPA to see if this helps.
No promises but worth a shot.
But I like to reboot before trying this..to get a new session.
So if you are willing we will the PPA by way of

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-346

expatver
June 29th, 2016, 07:39 PM
You bet lets do it. Rebooting and thanks !


All-Series:~$ sudo add-apt-repository ppa:graphics-drivers/ppa

Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

We currently recommend: `nvidia-364`, Nvidia's current long lived branch.
For GeForce 8 and 9 series GPUs use `nvidia-340`
For GeForce 6 and 7 series GPUs use `nvidia-304`

## What we're working on right now:

- Normal driver updates
- Investigating how to bring this goodness to distro on a cadence.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging before you dive in here. Give us a few days to sort out the kinks.

Volunteers welcome! See also: https://github.com/mamarley/nvidia-graphics-drivers/

### How you can help:

## Install PTS and benchmark your gear:

sudo apt-get install phoronix-test-suite


Run the benchmark:


phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley


and then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you're using it might preferable for you to grabs PTS from upstream directly: http://www.phoronix-test-suite.com/?k=downloads


## Share your results with the community:


Post a link to your results (or any other feedback to): https://launchpad.net/~graphics-drivers-testers


Remember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.


If you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.


If someone wants to go ahead and start prototyping on `software-properties-gtk` on what the GUI should look like, please start hacking!


## Help us Help You!


We use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you're loving this PPA:


http://www.ubuntu.com/download/desktop/contribute
More info: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it


gpg: keyring `/tmp/tmpo4st25gk/secring.gpg' created
gpg: keyring `/tmp/tmpo4st25gk/pubring.gpg' created
gpg: requesting key 1118213C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpo4st25gk/trustdb.gpg: trustdb created
gpg: key 1118213C: public key "Launchpad PPA for Graphics Drivers Team" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

All-Series:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Get:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease [18.1 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:6 http://ppa.launchpad.net/i2p-maintainers/i2p/ubuntu xenial InRelease
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:8 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial InRelease
Get:11 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 Packages [12.1 kB]
Get:12 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main i386 Packages [12.1 kB]
Get:13 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main Translation-en [4,036 B]
Fetched 235 kB in 1s (146 kB/s)
Reading package lists... Done
All-Series:~$ sudo apt-get install nvidia-346
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
nvidia-352 nvidia-361 nvidia-opencl-icd-361 nvidia-prime nvidia-settings
The following NEW packages will be installed:
nvidia-346 nvidia-352 nvidia-361 nvidia-opencl-icd-361 nvidia-prime
nvidia-settings
0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 77.4 MB/77.4 MB of archives.
After this operation, 338 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-352 amd64 361.42-0ubuntu2 [4,798 B]
Get:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 nvidia-361 amd64 361.45.18-0ubuntu0~gpu16.04.1 [67.5 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/restricted amd64 nvidia-346 amd64 352.63-0ubuntu3 [4,798 B]
Get:4 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]
Get:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 nvidia-settings amd64 367.18-0ubuntu0~gpu16.04.1 [865 kB]
Fetched 77.4 MB in 43s (1,790 kB/s)
Selecting previously unselected package nvidia-361.
(Reading database ... 262439 files and directories currently installed.)
Preparing to unpack .../nvidia-361_361.45.18-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking nvidia-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
Selecting previously unselected package nvidia-352.
Preparing to unpack .../nvidia-352_361.42-0ubuntu2_amd64.deb ...
Unpacking nvidia-352 (361.42-0ubuntu2) ...
Selecting previously unselected package nvidia-346.
Preparing to unpack .../nvidia-346_352.63-0ubuntu3_amd64.deb ...
Unpacking nvidia-346 (352.63-0ubuntu3) ...
Selecting previously unselected package nvidia-opencl-icd-361.
Preparing to unpack .../nvidia-opencl-icd-361_361.45.18-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking nvidia-opencl-icd-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../nvidia-settings_367.18-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking nvidia-settings (367.18-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up bbswitch-dkms (0.8-3ubuntu1) ...
Loading new bbswitch-0.8 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building initial module for 4.4.0-28-generic
Done.


bbswitch:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-28-generic/updates/dkms/


depmod........


DKMS: install completed.
Setting up nvidia-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
update-alternatives: using /usr/lib/nvidia-361/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-361/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 129) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-361-361.45.18 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building for architecture x86_64
Building initial module for 4.4.0-28-generic

Stops here

if we had to do a make and make install at least we would have errors that appear in the terminal from doing that.......


All-Series:~$ sudo dpkg --configure -a
Setting up nvidia-prime (0.8.2) ...
Setting up nvidia-settings (367.18-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up nvidia-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
INFO:Enable nvidia-361
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package nvidia-361 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up nvidia-opencl-icd-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
dpkg: dependency problems prevent configuration of nvidia-352:
nvidia-352 depends on nvidia-361; however:
Package nvidia-361 is not configured yet.


dpkg: error processing package nvidia-352 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-346:
nvidia-346 depends on nvidia-352; however:
Package nvidia-352 is not configured yet.


dpkg: error processing package nvidia-346 (--configure):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
nvidia-361
nvidia-352
nvidia-346

QDR06VV9
June 29th, 2016, 08:15 PM
Well Yuck ](*,)seems to never finish.
One more to check

dpkg -l | grep linux-image
And I am not sure i will believe it anyway but...we go through the motions anyway.:)

expatver
June 29th, 2016, 08:19 PM
All-Series:~$ dpkg -l| grep linux-image
rc linux-image-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii linux-image-4.4.0-28-generic 4.4.0-28.47 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-extra-4.4.0-21-generic 4.4.0-21.37 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-extra-4.4.0-28-generic 4.4.0-28.47 amd64 Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii linux-image-generic 4.4.0.28.30 amd64 Generic Linux kernel image


and I additionally have done a
All-Series:~$ sudo apt-get remove --purge nvidia-*

to remove the packages so we are clean again. Hope this is OK.

QDR06VV9
June 29th, 2016, 08:26 PM
And one more

dpkg -l | grep linux-headers

expatver
June 29th, 2016, 08:28 PM
All-Series:~$ dpkg -l | grep linux-headers
ii linux-headers-4.4.0-22 4.4.0-22.40 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-22-generic 4.4.0-22.40 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-28 4.4.0-28.47 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-28-generic 4.4.0-28.47 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-generic 4.4.0.28.30 amd64 Generic Linux kernel headers

QDR06VV9
June 29th, 2016, 08:37 PM
I am trying to recreate this in a VB give me a little time here.
I just do not know what is going on with your system...will be back shortly.

expatver
June 29th, 2016, 08:39 PM
No problem at all... hey I stand in awe of your knowledge! I have learned quit a bit from this.....

Any objection to me trying to reinstall the nvidia-346 package or had you rather I wait?

QDR06VV9
June 29th, 2016, 09:26 PM
Any objection to me trying to reinstall the nvidia-346 package or had you rather I wait?



No not at all.:)
But i can not recreate this...so we start thinking about what to do next, keep chasing our tails or Re-install?

expatver
June 29th, 2016, 09:28 PM
Good question. Let me play with this for a bit I will post you on what I am doing.

Additionally thanks very much for trying to dup the fault in VB. That can take a LOT of time.

This is where we crashed this time

Not creating home directory `/'.

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package nvidia-361 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-352:
nvidia-352 depends on nvidia-361; however:
Package nvidia-361 is not configured yet.

dpkg: error processing package nvidia-352 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-346:
nvidia-346 depends on nvidia-352; however:
Package nvidia-352 is not configured yet.

dpkg: error processing package nvidia-346 (--configure):
dependency problems - leaving unconfigured
Setting up nvidia-opencl-icd-361 (361.45.18-0ubuntu0~gpu16.04.1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up nvidia-prime (0.8.2) ...
Setting up nvidia-settings (367.18-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
nvidia-361
nvidia-352
nvidia-346
E: Sub-process /usr/bin/dpkg returned an error code (1)

QDR06VV9
June 29th, 2016, 09:37 PM
Well then let's give it this:

sudo dpkg --configure nvidia-352

expatver
June 29th, 2016, 10:32 PM
I run Eset NOD32 for Linux. It has a file guard system. I disable this before any updates. Easy to do. In process of the sorting while you were trying to duplicate the error in VB, I was taking a hard look through the processes that were running in htop. There were several esets processes running there. Fine, kill them. Respawned. I uninstalled NOD32. After that, did a purge nvidia. Then rebooted and reinstalled nvidia-346. It installed. Rebooted and now

All-Series:~$ inxi -G
Graphics: Card: NVIDIA GM107 [GeForce GTX 750 Ti]
Display Server: X.Org 1.18.3 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 361.45.18


The ONLY thing different was uninstalling Eset. Period. I had switched fileguard off before all of this started i.e. the kernel update and rechecked that repeatedly throughout this odyssey. When we were trying to repeatedly install the nvidia driver, and the kernel, fileguard was off. I kill it when checking for routine updates daily.

So I am speechless.

QDR06VV9
June 29th, 2016, 10:51 PM
I run Eset NOD32 for Linux. It has a file guard system. I disable this before any updates. Easy to do. In process of the sorting while you were trying to duplicate the error in VB, I was taking a hard look through the processes that were running in htop. There were several esets processes running there. Fine, kill them. Respawned. I uninstalled NOD32. After that, did a purge nvidia. Then rebooted and reinstalled nvidia-346. It installed. Rebooted and now

All-Series:~$ inxi -G
Graphics: Card: NVIDIA GM107 [GeForce GTX 750 Ti]
Display Server: X.Org 1.18.3 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 361.45.18


The ONLY thing different was uninstalling Eset. Period. I had switched fileguard off before all of this started i.e. the kernel update and rechecked that repeatedly throughout this odyssey. When we were trying to repeatedly install the nvidia driver, and the kernel, fileguard was off. I kill it when checking for routine updates daily.

So I am speechless.
Yes:popcorn: Great Detective Work...I knew there was something preventing packages from being fully installed.
So is this now Solved?

expatver
June 29th, 2016, 10:58 PM
Yes it is and I will mark it so in the threads.

I dont know how great the detective work was on my part...what was great was your patience and help in all of this. Many kind thanks for all of your time and consideration. Without you this would have never happened. Also thanks for what I have learned through this, that again, thanks to you.

Kindest Regards!

QDR06VV9
June 29th, 2016, 11:03 PM
Yes it is and I will mark it so in the threads.

I dont know how great the detective work was on my part...what was great was your patience and help in all of this. Many kind thanks for all of your time and consideration. Without you this would have never happened. Also thanks for what I have learned through this, that again, thanks to you.

Kindest Regards!

My Goodness your making me blush:redface:...I just pass forward all that I learn from others over the years.
Thank You for your kind words..this makes it all worth the effort.:D
Best Regards