Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
And the problem is back :-(

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 19:38 by aquar...@tutanota.de:


> I did apt-get install libgl1-nvidia-glx nvidia-kernel-dkms
> It failed:
> The following NEW packages will be installed:
>   libgl1-nvidia-glx
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/7,479 kB of archives.
> After this operation, 45.8 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Preconfiguring packages ...
> Selecting previously unselected package libgl1-nvidia-glx:amd64.
> (Reading database ... 210718 files and directories currently installed.)
> Preparing to unpack .../libgl1-nvidia-glx_340.101-1_amd64.deb ...
> Unpacking libgl1-nvidia-glx:amd64 (340.101-1) ...
> Processing triggers for nvidia-alternative (340.101-1) ...
> update-alternatives: updating alternative /usr/lib/nvidia/current because 
> link group nvidia has changed slave links
> Processing triggers for glx-alternative-nvidia (0.5.1) ...
> update-initramfs: deferring update (trigger activated)
> Processing triggers for libc-bin (2.19-18+deb8u7) ...
> Processing triggers for initramfs-tools (0.120+deb8u2) ...
> update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
> Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
> Killed
> dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
>  subprocess installed post-installation script returned error exit status 137
> Errors were encountered while processing:
>  libgl1-nvidia-glx:amd64
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Try rebooting.
>
> --
> Securely sent with Tutanota. Claim your encrypted mailbox today!
> https://tutanota.com
>
> 13. Apr 2017 19:33 by > hans.ullr...@loop.de> :
>
>
>> Am Donnerstag, 13. April 2017, 19:25:01 CEST schrieb Aquarius:
>>> Hans,
>>>
>>> How do I do this when in the menu:
>>
>> When the ncurses GUI is started (ncurses means the ASCII-GUI), then go to 
>> and 
>> enter the point "Prepare". This will then install all necessary packages.
>>  
>>> "This opens a ncurses interface. Check now, if all dependencies
>>> (kernel-headers etc. ) are installed. Module-assistant does this for you."?
>>>
>>> And  can I do:  "Then just install libgl1-nvidia-glx and nvidia-kernel-dkms"
>>> with apt-get install as well?
>>
>> Yes, either apt-get or aptitude, this is even.
>>>
>>> Thanks
>>>
>>> --
>>
>> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
I did apt-get install libgl1-nvidia-glx nvidia-kernel-dkms
It failed:
The following NEW packages will be installed:
  libgl1-nvidia-glx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7,479 kB of archives.
After this operation, 45.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package libgl1-nvidia-glx:amd64.
(Reading database ... 210718 files and directories currently installed.)
Preparing to unpack .../libgl1-nvidia-glx_340.101-1_amd64.deb ...
Unpacking libgl1-nvidia-glx:amd64 (340.101-1) ...
Processing triggers for nvidia-alternative (340.101-1) ...
update-alternatives: updating alternative /usr/lib/nvidia/current because link 
group nvidia has changed slave links
Processing triggers for glx-alternative-nvidia (0.5.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
Killed
dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 137
Errors were encountered while processing:
 libgl1-nvidia-glx:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Try rebooting.

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 19:33 by hans.ullr...@loop.de:


> Am Donnerstag, 13. April 2017, 19:25:01 CEST schrieb Aquarius:
>> Hans,
>>
>> How do I do this when in the menu:
>
> When the ncurses GUI is started (ncurses means the ASCII-GUI), then go to and 
> enter the point "Prepare". This will then install all necessary packages.
>  
>> "This opens a ncurses interface. Check now, if all dependencies
>> (kernel-headers etc. ) are installed. Module-assistant does this for you."?
>>
>> And  can I do:  "Then just install libgl1-nvidia-glx and nvidia-kernel-dkms"
>> with apt-get install as well?
>
> Yes, either apt-get or aptitude, this is even.
>>
>> Thanks
>>
>> --
>
> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
After m-a I have choosen the prepare option. It gave this output:
Getting source for kernel version: 3.16.0-4-amd64
Kernel headers available in /lib/modules/3.16.0-4-amd64/build
Creating symlink...
apt-get install build-essential 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
build-essential is already the newest version.

Seems all is there for installation?


--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 19:09 by hans.ullr...@loop.de:


> Ok, maybe try my way:
>
> When I install nvidia driver, I first check, if all depenedencies are there.
>
> Best way, module-assistant, check, if it is installed.
>
> Then try: 
>
> m-a
>
> This opens a ncurses interface. Check now, if all dependencies 
> (kernel-headers 
> etc. ) are installed. Module-assistant does this for you.
>
> Then just install libgl1-nvidia-glx and nvidia-kernel-dkms
>
> A lot of packages are now installed.
>
> Check, if they are built correctly.
>
> Good luck!
>
> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
Am Donnerstag, 13. April 2017, 19:25:01 CEST schrieb Aquarius:
> Hans,
> 
> How do I do this when in the menu:

When the ncurses GUI is started (ncurses means the ASCII-GUI), then go to and 
enter the point "Prepare". This will then install all necessary packages.
 
> "This opens a ncurses interface. Check now, if all dependencies
> (kernel-headers etc. ) are installed. Module-assistant does this for you."?
> 
> And  can I do:  "Then just install libgl1-nvidia-glx and nvidia-kernel-dkms"
> with apt-get install as well?

Yes, either apt-get or aptitude, this is even.
> 
> Thanks
> 
> --

Hans



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
Hans,

How do I do this when in the menu:
"This opens a ncurses interface. Check now, if all dependencies (kernel-headers 
etc. ) are installed. Module-assistant does this for you."?

And  can I do:  "Then just install libgl1-nvidia-glx and nvidia-kernel-dkms" 
with apt-get install as well?

Thanks

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 19:09 by hans.ullr...@loop.de:


> Ok, maybe try my way:
>
> When I install nvidia driver, I first check, if all depenedencies are there.
>
> Best way, module-assistant, check, if it is installed.
>
> Then try: 
>
> m-a
>
> This opens a ncurses interface. Check now, if all dependencies 
> (kernel-headers 
> etc. ) are installed. Module-assistant does this for you.
>
> Then just install libgl1-nvidia-glx and nvidia-kernel-dkms
>
> A lot of packages are now installed.
>
> Check, if they are built correctly.
>
> Good luck!
>
> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
Additionally I saw, debian offers prebuilt nvidia-kernel-headers for 3.16 
kernel. Maybe these are running for your system? I am running kernel 4.9.0-2-
*, as I am running debian testing.

Hans



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
Ok, maybe try my way:

When I install nvidia driver, I first check, if all depenedencies are there.

Best way, module-assistant, check, if it is installed.

Then try: 

m-a

This opens a ncurses interface. Check now, if all dependencies (kernel-headers 
etc. ) are installed. Module-assistant does this for you.

Then just install libgl1-nvidia-glx and nvidia-kernel-dkms

A lot of packages are now installed.

Check, if they are built correctly.

Good luck!

Hans



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
Am Donnerstag, 13. April 2017, 19:00:00 CEST schrieb Aquarius:
> Are you after this info:
Yes, it is then 340 driver.
I wanted to make sure, you chose the correct driver.

> 01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT
> 525M] (rev a1) ?
> 
> --
> Securely sent with Tutanota. Claim your encrypted mailbox today!
> https://tutanota.com



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
Are you after this info:
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] 
(rev a1)
?

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 18:49 by hans.ullr...@loop.de:


> First of all: Which nvidia card do you have?
>
> lspci shows information.
>
> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
Yes it was a typo!
Purged it now, going to restart and see.
I'll be back (I hope ...)
thanks.

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

13. Apr 2017 18:51 by hans.ullr...@loop.de:


>> update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
>> dpkg --purge libg11-nvidia-glx:amd64 with message:
>>
> It is libgl1-nvidia-glx, not libg11-*
>
> Is it a typo?
>
> Hans

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
> update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
> dpkg --purge libg11-nvidia-glx:amd64 with message:
>
It is libgl1-nvidia-glx, not libg11-*

Is it a typo?

Hans



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Hans
First of all: Which nvidia card do you have?

lspci shows information.

Hans



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
Hi,

I switched to init 1. I performed a dkpg --configure on the lib11 etc but it 
did not work.
Then I decided to try remove the packages one by one:
dpkg --purge nvidia-glx: succes
dpkg --purge nvidia-driver: succes
dpkg --purge xserver-xorg-video-nvidia: succes with messages among which:
update alternatives: warning: forcing reinstallationof alternative 
/usr/lib/nvidia/current because link group nvidia is broken
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
dpkg --purge libg11-nvidia-glx:amd64 with message:
dpkg: warning: ignoring request to remove package which isn't installed

I initiated init 6 logged in then logged out and all seems well. Thanks for the 
advise or removing the packages one by one.

But what am I missing now?

Kind regards.

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

12. Apr 2017 20:45 by hans.ullr...@loop.de:


> Am Mittwoch, 12. April 2017, 20:32:30 CEST schrieb Aquarius:
> Hmm, your package can definetely not installed. Is it possible to remove the 
> packages one-by-one?
>
> If you are able, to remove the nvidia packages, you can download the Nvidia-
> driver from the nvidia web site. It is a file named similar NVidia-blabla.run.
>
> You have to make it executable and start it as root like 
>
> ./NVidia.blabla.run
>
> Maybe this is working for you. If this is working, you know, it is working at 
> all. This file can easily deinstalled with ./NVidia-blabla.run --uninstall.
>
> It is difficult from this side to see what is happening. It is easier, when 
> having direct access to a system, so one can see more, what is happening.
>
> Maybe someone else has also some tips ( I hope)
>
> Sorry, that my hints did not really help.
>
> Hans
>> Meanwhile I tried dpkg --configure libgl1-nvidia-glx:amd64
>> Output:
>> Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
>> Killed
>> dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
>>  subprocess installed post-installation script returned error exit status
>> 137 Errors were encountered while processing:
>>  libgl1-nvidia-glx:amd64
>>
>> What you described below is a bit of too 'over the top' for me.
>> Don't know exactly what to do by what you describe but will try to find out.
>> Maybe I will better first do a backup of data.
>>
>> Thanks again,
>> Aquarius
>>

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-13 Thread Aquarius
Hi,

I tried to find out X I have and it seemed to be lightdm. So I killed that 
proces but only my GUI was gone.
Find and Locate did not find nvidia.ko

So this did not work for me.

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

12. Apr 2017 20:26 by hans.ullr...@loop.de:


> Am Mittwoch, 12. April 2017, 20:18:22 CEST schrieb Aquarius:
> Hmm, bad thing. Maybe you should remove kdm, gdm or whatever loginmanager you 
> are using out of the way, so it will not start after boot and force you into 
> a 
> bad X.
>
> Then you can try dpkg-configure -a again.
>
> You can also try to delete nvidia.ko in the kernel libs, so it inhibits to 
> start nvidia-driver.
>
> Try then dpkg-reconfigure -a again. Maybe it is working now.
>
> You might try to deinstall the downloaded package with 
> dpkg -r nvidia-blabla.deb
>
> If this all fails, trigger me again, maybe I have some other ideas.
>
> Good luck!
>
> Hans
>> Thanks Hans.
>> I must add when shutting down I get a black screen with lots of text. The
>> system will not shut down. I have to press the powerbutton and hold it to
>> power it off. After starting up again I performed  apt-get --purge remove
>> nvidia-*
>>
>> The output was:
>> root@debian:/home/piet# apt-get --purge remove nvidia-*
>> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
>> correct the problem.
>>
>> Well, it seems I would be running in circles then.
>> Any other idea?
>>
>> Kind regards,
>> Aquarius
>>

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Hans
No, no, it is never too late. If you trust me, I may login to your computer. 
To do this, I need your IP snd root password, of course. 

You can also use teamviewer, however, my bandwith is really low, so ssh would 
be better.

You can send me direct to my e-mail address, if you would like to.

Best

Hans

 



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Aquarius
Hans,
Don't be sorry (yet). I need some time to figure out some steps.
Making a backup now. After that I will re-read your answers and try to try them 
all.
If you or someone would want to do schedule a remote login let me know. As I am 
doing a Linux course now I would really like to learn from this and what others 
would do on my system when the would perform a remote login.
If anyone needs more info try and tell me how to get it out of my system.
I was wondering for instance whether some sort of roll back is possible after 
performing a (dist-)upgrade. Maybe it is too late now ...

Kind regards,
Aquarius


--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

12. Apr 2017 20:45 by hans.ullr...@loop.de:


> Am Mittwoch, 12. April 2017, 20:32:30 CEST schrieb Aquarius:
> Hmm, your package can definetely not installed. Is it possible to remove the 
> packages one-by-one?
>
> If you are able, to remove the nvidia packages, you can download the Nvidia-
> driver from the nvidia web site. It is a file named similar NVidia-blabla.run.
>
> You have to make it executable and start it as root like 
>
> ./NVidia.blabla.run
>
> Maybe this is working for you. If this is working, you know, it is working at 
> all. This file can easily deinstalled with ./NVidia-blabla.run --uninstall.
>
> It is difficult from this side to see what is happening. It is easier, when 
> having direct access to a system, so one can see more, what is happening.
>
> Maybe someone else has also some tips ( I hope)
>
> Sorry, that my hints did not really help.
>
> Hans
>> Meanwhile I tried dpkg --configure libgl1-nvidia-glx:amd64
>> Output:
>> Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
>> Killed
>> dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
>>  subprocess installed post-installation script returned error exit status
>> 137 Errors were encountered while processing:
>>  libgl1-nvidia-glx:amd64
>>
>> What you described below is a bit of too 'over the top' for me.
>> Don't know exactly what to do by what you describe but will try to find out.
>> Maybe I will better first do a backup of data.
>>
>> Thanks again,
>> Aquarius
>>

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Hans
Am Mittwoch, 12. April 2017, 20:32:30 CEST schrieb Aquarius:
Hmm, your package can definetely not installed. Is it possible to remove the 
packages one-by-one?

If you are able, to remove the nvidia packages, you can download the Nvidia-
driver from the nvidia web site. It is a file named similar NVidia-blabla.run.

You have to make it executable and start it as root like 

./NVidia.blabla.run

Maybe this is working for you. If this is working, you know, it is working at 
all. This file can easily deinstalled with ./NVidia-blabla.run --uninstall.

It is difficult from this side to see what is happening. It is easier, when 
having direct access to a system, so one can see more, what is happening.

Maybe someone else has also some tips ( I hope)

Sorry, that my hints did not really help.

Hans
> Meanwhile I tried dpkg --configure libgl1-nvidia-glx:amd64
> Output:
> Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
> Killed
> dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
>  subprocess installed post-installation script returned error exit status
> 137 Errors were encountered while processing:
>  libgl1-nvidia-glx:amd64
> 
> What you described below is a bit of too 'over the top' for me.
> Don't know exactly what to do by what you describe but will try to find out.
> Maybe I will better first do a backup of data.
> 
> Thanks again,
> Aquarius
> 



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Aquarius
Meanwhile I tried dpkg --configure libgl1-nvidia-glx:amd64
Output:
Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
Killed
dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 137
Errors were encountered while processing:
 libgl1-nvidia-glx:amd64

What you described below is a bit of too 'over the top' for me. 
Don't know exactly what to do by what you describe but will try to find out.
Maybe I will better first do a backup of data.

Thanks again,
Aquarius

--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

12. Apr 2017 20:26 by hans.ullr...@loop.de:


> Am Mittwoch, 12. April 2017, 20:18:22 CEST schrieb Aquarius:
> Hmm, bad thing. Maybe you should remove kdm, gdm or whatever loginmanager you 
> are using out of the way, so it will not start after boot and force you into 
> a 
> bad X.
>
> Then you can try dpkg-configure -a again.
>
> You can also try to delete nvidia.ko in the kernel libs, so it inhibits to 
> start nvidia-driver.
>
> Try then dpkg-reconfigure -a again. Maybe it is working now.
>
> You might try to deinstall the downloaded package with 
> dpkg -r nvidia-blabla.deb
>
> If this all fails, trigger me again, maybe I have some other ideas.
>
> Good luck!
>
> Hans
>> Thanks Hans.
>> I must add when shutting down I get a black screen with lots of text. The
>> system will not shut down. I have to press the powerbutton and hold it to
>> power it off. After starting up again I performed  apt-get --purge remove
>> nvidia-*
>>
>> The output was:
>> root@debian:/home/piet# apt-get --purge remove nvidia-*
>> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
>> correct the problem.
>>
>> Well, it seems I would be running in circles then.
>> Any other idea?
>>
>> Kind regards,
>> Aquarius
>>

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Hans
Am Mittwoch, 12. April 2017, 20:18:22 CEST schrieb Aquarius:
Hmm, bad thing. Maybe you should remove kdm, gdm or whatever loginmanager you 
are using out of the way, so it will not start after boot and force you into a 
bad X.

Then you can try dpkg-configure -a again.

You can also try to delete nvidia.ko in the kernel libs, so it inhibits to 
start nvidia-driver.

Try then dpkg-reconfigure -a again. Maybe it is working now.

You might try to deinstall the downloaded package with 
dpkg -r nvidia-blabla.deb

If this all fails, trigger me again, maybe I have some other ideas.

Good luck!

Hans
> Thanks Hans.
> I must add when shutting down I get a black screen with lots of text. The
> system will not shut down. I have to press the powerbutton and hold it to
> power it off. After starting up again I performed  apt-get --purge remove
> nvidia-*
> 

> The output was:
> root@debian:/home/piet# apt-get --purge remove nvidia-*
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to
> correct the problem.
> 
> Well, it seems I would be running in circles then.
> Any other idea?
> 
> Kind regards,
> Aquarius
>



Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Aquarius
Thanks Hans. 
I must add when shutting down I get a black screen with lots of text. The 
system will not shut down. I have to press the powerbutton and hold it to power 
it off.
After starting up again I performed  apt-get --purge remove nvidia-*

The output was:
root@debian:/home/piet# apt-get --purge remove nvidia-*
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct 
the problem. 

Well, it seems I would be running in circles then.
Any other idea?

Kind regards,
Aquarius
--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com

12. Apr 2017 19:47 by hans.ullr...@loop.de:


> Hi Aquarius,
> looks like you got into trouble with nvidia-driver.
>
> You should uninstall these, then doing a dist-upgrade and then conetrate to 
> install the nvidia-driver again.
>
> I prefer two possible ways to uninstall all nvidia-packages (but check before 
> telling "y"):
>
> apt-get --purge remove nvidia-*
>
> or
>
> aptitude purge ~nnvidia-*
>
> Both should work. But as I said, look, what is going to deinstalled, before 
> telling YES. In most cases these commands are working well.
>
> When they are all deinstalled, reinstall the required package. Note: You must 
> have a graphics card with Geforce 9 or higher! Otherwise the package will not 
> be installed. Check your hardware if it is supported by the package.
>
> Note, you must have kernel-headers installed.
>
> Good luck!
>
> Hans
>
>
>
>> In the messages I got from that were:
>>
>>  libgl1-nvidia-glx:amd64-->not configured
>>  nvidia-driver-->not configured
>>  xserver-xorg-video-nvidia-->dependency problems - leaving unconfigured
>>  nvidia-glx-->dependency problems - leaving unconfigured
>>

Re: Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Hans
Hi Aquarius,
looks like you got into trouble with nvidia-driver.

You should uninstall these, then doing a dist-upgrade and then conetrate to 
install the nvidia-driver again.

I prefer two possible ways to uninstall all nvidia-packages (but check before 
telling "y"):

apt-get --purge remove nvidia-*

or

aptitude purge ~nnvidia-*

Both should work. But as I said, look, what is going to deinstalled, before 
telling YES. In most cases these commands are working well.

When they are all deinstalled, reinstall the required package. Note: You must 
have a graphics card with Geforce 9 or higher! Otherwise the package will not 
be installed. Check your hardware if it is supported by the package.

Note, you must have kernel-headers installed.

Good luck!

Hans



> In the messages I got from that were:
> 
>  libgl1-nvidia-glx:amd64-->not configured
>  nvidia-driver-->not configured
>  xserver-xorg-video-nvidia-->dependency problems - leaving unconfigured
>  nvidia-glx-->dependency problems - leaving unconfigured
> 



Problem after dist-upgrade and dpkg install -f (Probably nvidia packages related)

2017-04-12 Thread Aquarius
I read an article on cme which would give me an GUI for viewing and editing 
systemd config files. So I thought I would install the packages involved on 
Debian 8 Jessie Dell XPS15 laptop to study systemd config files. Not to edit 
them. I use Debian for about 2 years now, so still in a learning process. I 
hope you will read through till the end of this mail in which I hopefully 
reconstruct the steps I performed:

Well, I performed:
apt-get update
 apt-get upgrade
 apt-get install gparted (this was because of another excercsie)
 apt-get install -f
all was well untill now
apt-get install cme libconfig-model-systemd-perl
I only remember a message about the packages not being found. Well, leave it be 
I thought, I will do without studying systemd for now.
But maybe I should update my system because I read until V215 of systmd it is 
vulnerable and I was running V215. I thought I could upgrade systemd but was 
not sure of that.
I performed:
apt-get dist-upgrade
I know I got a message about something with 'nvidia' but can not exactly recall 
what. But also a message to perform:
dpkg --configure -a

In the messages I got from that were:

 libgl1-nvidia-glx:amd64-->not configured
 nvidia-driver-->not configured
 xserver-xorg-video-nvidia-->dependency problems - leaving unconfigured
 nvidia-glx-->dependency problems - leaving unconfigured

Because of the dependency problems I though I'ld run:
dpkg install -f
It gives this output:
The following packages were automatically installed and are no longer required:
'long list of packages but last time I used autoremove I ultimately reinstalled 
my system, it removed to much packages'
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libgl1-nvidia-glx:amd64 (340.101-1) ...
Cursor blinking: well here is a cursor blinking and I probably can wait forever 


The ps a gives this output:
  PID TTY  STAT   TIME COMMAND
  598 tty1 Ss+    0:00 /sbin/agetty --noclear tty1 linux
  616 tty7 Rs+    4:17 /usr/bin/X :0 -seat seat0 -auth 
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
 3609 pts/0    Ss 0:00 bash
 3617 pts/0    S  0:00 su
 3618 pts/0    S  0:00 bash
 3636 pts/0    S+ 1:20 apt-get install -f
 3648 pts/1    Ss+    0:00 /usr/bin/dpkg --status-fd 48 --configure 
libgl1-nvidia-glx:amd64 xserver-xorg-video-nvidia:amd64 nvidia-dri
 3649 pts/1    S+ 0:00 /usr/bin/perl -w /usr/share/debconf/frontend 
/var/lib/dpkg/info/libgl1-nvidia-glx:amd64.postinst configure 
 3655 pts/1    S+ 0:00 /bin/sh 
/var/lib/dpkg/info/libgl1-nvidia-glx:amd64.postinst configure 340.96-1
 3658 pts/1    D+ 0:00 /bin/sh 
/usr/lib/nvidia/check-for-mismatching-nvidia-module 340.101
 3818 pts/2    Ss 0:00 bash
 3827 pts/2    S  0:00 su
 3828 pts/2    S  0:00 bash
 3911 pts/2    R+ 0:00 ps a
>From that I concluded the proces apt-get install -f is in status S meaning 
>"Interruptible sleep (waiting for an event to complete)"

Yesterday I killed the process apt-get-install -f so I could shut down my 
machine. It seems to be working all right (until now).

Now I do not know what to do. I can not perform a dist-upgrade.

Do I have to enter information on where the cursor is blinking?
Any other ideas how to come out of this situation?
Any other checks to perform?
Maybe get some more information out of logs (which and where to find)?

Well I hope someone has gone reading this far. Thanks for that. I hope you can 
help!

Aquarius
--
Securely sent with Tutanota. Claim your encrypted mailbox today!
https://tutanota.com