Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread John Kozak

Andreas Beckmann writes:

> On 2018-02-28 14:39, John Kozak wrote:
>> Thanks - one more thing: on a reboot (yes, I should have checked this
>> before filing an all-clear!) X didn't start but was fixed by
>> `update-glx` (changing from 0 to 2):
>>
>>   $ sudo update-glx --config nvidia
>>   There are 2 choices for the alternative nvidia (providing 
>> /usr/lib/nvidia/nvidia).
>>
>> SelectionPath  Priority   Status
>>   
>> 0/usr/lib/nvidia/current384   auto mode
>> 1/usr/lib/nvidia/current384   manual mode
>>   * 2/usr/lib/nvidia/legacy-340xx   340   manual mode
>>
>> /usr/lib/nvidia/current is an empty directory.
>
> If that directory and the alternative still exist, some packages from
> the current driver must still be installed. Or you found another bug.
>
> Please send the output of
>
> dpkg -l | grep nvidia

ii  glx-alternative-nvidia0.8.3 
   amd64allows the selection of NVIDIA as GLX provider
ii  libegl-nvidia0:amd64  384.111-4 
   amd64NVIDIA binary EGL library
ii  libegl-nvidia0:i386   384.111-4 
   i386 NVIDIA binary EGL library
ic  libegl1-nvidia:amd64  340.96-1  
   amd64NVIDIA binary EGL libraries
ii  libegl1-nvidia-legacy-340xx:amd64 340.106-2 
   amd64NVIDIA binary EGL library (340xx legacy version)
ii  libegl1-nvidia-legacy-340xx:i386  340.106-2 
   i386 NVIDIA binary EGL library (340xx legacy version)
ii  libgl1-nvidia-glvnd-glx:i386  384.111-4 
   i386 NVIDIA binary OpenGL/GLX library (GLVND variant)
ic  libgl1-nvidia-glx:amd64   340.96-1  
   amd64NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-legacy-340xx-glx:amd64  340.106-2 
   amd64NVIDIA binary OpenGL/GLX library (340xx legacy 
version)
ii  libgl1-nvidia-legacy-340xx-glx:i386   340.106-2 
   i386 NVIDIA binary OpenGL/GLX library (340xx legacy 
version)
ii  libgles-nvidia2:i386  384.111-4 
   i386 NVIDIA binary OpenGL|ES 2.x library
ic  libgles1-nvidia:amd64 340.96-1  
   amd64NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles1-nvidia-legacy-340xx:amd64340.106-2 
   amd64NVIDIA binary OpenGL|ES 1.x library (340xx legacy 
version)
ii  libgles1-nvidia-legacy-340xx:i386 340.106-2 
   i386 NVIDIA binary OpenGL|ES 1.x library (340xx legacy 
version)
ic  libgles2-nvidia:amd64 340.96-1  
   amd64NVIDIA binary OpenGL|ES 2.x libraries
ii  libgles2-nvidia-legacy-340xx:amd64340.106-2 
   amd64NVIDIA binary OpenGL|ES 2.x library (340xx legacy 
version)
ii  libgles2-nvidia-legacy-340xx:i386 340.106-2 
   i386 NVIDIA binary OpenGL|ES 2.x library (340xx legacy 
version)
ii  libglx-nvidia0:amd64  384.111-4 
   amd64NVIDIA binary GLX library
ii  libglx-nvidia0:i386   384.111-4 
   i386 NVIDIA binary GLX library
ii  libnvidia-cfg1:i386   384.111-4 
   i386 NVIDIA binary OpenGL/GLX configuration library
ic  libnvidia-compiler:amd64  340.96-1  
   amd64NVIDIA runtime compiler library
ii  libnvidia-egl-wayland1:amd64  384.111-4 
   amd64NVIDIA binary Wayland EGL external platform library
ii  libnvidia-egl-wayland1:i386   384.111-4 
   i386 NVIDIA binary Wayland EGL external platform library
ii  libnvidia-eglcore:amd64   384.111-4 
   amd64NVIDIA binary EGL core libraries
ii  libnvidia-eglcore:i386384.111-4 
   i386 NVIDIA binary EGL core libraries
ii  libnvidia-glcore:amd64384.111-4 
   amd64NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-glcore:i386 384.111-4 

Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread Andreas Beckmann
On 2018-02-28 14:39, John Kozak wrote:
> Thanks - one more thing: on a reboot (yes, I should have checked this
> before filing an all-clear!) X didn't start but was fixed by
> `update-glx` (changing from 0 to 2):
> 
>   $ sudo update-glx --config nvidia
>   There are 2 choices for the alternative nvidia (providing 
> /usr/lib/nvidia/nvidia).
> 
> SelectionPath  Priority   Status
>   
> 0/usr/lib/nvidia/current384   auto mode
> 1/usr/lib/nvidia/current384   manual mode
>   * 2/usr/lib/nvidia/legacy-340xx   340   manual mode
> 
> /usr/lib/nvidia/current is an empty directory.

If that directory and the alternative still exist, some packages from
the current driver must still be installed. Or you found another bug.

Please send the output of

dpkg -l | grep nvidia

dpkg -S /usr/lib/nvidia/current

I suspect the nvidia-alternative package to be still installed (not the
-legacy-340xx one, that of course needs to be there), but that shouldn't
be possible after you purged nvidia-legacy-check.


Andreas



Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread John Kozak

Andreas Beckmann writes:

> Control: tag -1 - moreinfo
> Control: close -1
>
> On 2018-02-28 12:35, John Kozak wrote:
>> I explicitly installed just nvidia-legacy-check, took the "yes" option,
>> then purged it and ran full-upgrade again which this time ran normally.
>> I checked and nvidia-driver was not installed ;-)
>
>> Some, from my PoV, the problem has gone away.
>
> OK, closing the report since I don't see a bug here.

Thanks - one more thing: on a reboot (yes, I should have checked this
before filing an all-clear!) X didn't start but was fixed by
`update-glx` (changing from 0 to 2):

  $ sudo update-glx --config nvidia
  There are 2 choices for the alternative nvidia (providing 
/usr/lib/nvidia/nvidia).

SelectionPath  Priority   Status
  
0/usr/lib/nvidia/current384   auto mode
1/usr/lib/nvidia/current384   manual mode
  * 2/usr/lib/nvidia/legacy-340xx   340   manual mode

/usr/lib/nvidia/current is an empty directory.

--
John



Processed: Re: Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 - moreinfo
Bug #891731 [nvidia-legacy-check] nvidia-legacy-check: check fails preventing 
apt full-upgrade
Removed tag(s) moreinfo.
> close -1
Bug #891731 [nvidia-legacy-check] nvidia-legacy-check: check fails preventing 
apt full-upgrade
Marked Bug as done

-- 
891731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891731
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread Andreas Beckmann
Control: tag -1 - moreinfo
Control: close -1

On 2018-02-28 12:35, John Kozak wrote:
> I explicitly installed just nvidia-legacy-check, took the "yes" option,
> then purged it and ran full-upgrade again which this time ran normally.
> I checked and nvidia-driver was not installed ;-)

> Some, from my PoV, the problem has gone away.

OK, closing the report since I don't see a bug here.


Andreas



Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread John Kozak

Andreas Beckmann writes:

> Control: found -1 384.111-4
> Control: tag -1 moreinfo
>
> On 2018-02-28 11:02, John Kozak wrote:
>> Attempting to do `apt full-upgrade` fails with a message with banner
>> "Configuring nvidia-legacy-check" and this body:
>
>> I am already using `nvidia-legacy-340xx-driver` for the two graphics cards
>> on this system and `nvidia-driver` is not installed.
>
> Do you have an old version of nvidia-legacy-check installed?
> Remove it, you don't need it.
> Otherwise something seems to pull in the new driver ... the complete
> output from apt may be helpful to analyze this.

I explicitly installed just nvidia-legacy-check, took the "yes" option,
then purged it and ran full-upgrade again which this time ran normally.
I checked and nvidia-driver was not installed ;-)

Some, from my PoV, the problem has gone away.

Thanks for a speedy reply, anyway!

>
>> console messages after clicking "no" are:
>
> It's intentional to fail in this case.
>
>
> Andreas


--
John



Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread Andreas Beckmann
Control: found -1 384.111-4
Control: tag -1 moreinfo

On 2018-02-28 11:02, John Kozak wrote:
> Attempting to do `apt full-upgrade` fails with a message with banner
> "Configuring nvidia-legacy-check" and this body:

> I am already using `nvidia-legacy-340xx-driver` for the two graphics cards
> on this system and `nvidia-driver` is not installed.

Do you have an old version of nvidia-legacy-check installed?
Remove it, you don't need it.
Otherwise something seems to pull in the new driver ... the complete
output from apt may be helpful to analyze this.

> console messages after clicking "no" are:

It's intentional to fail in this case.


Andreas



Processed: Re: Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread Debian Bug Tracking System
Processing control commands:

> found -1 384.111-4
Bug #891731 [nvidia-legacy-check] nvidia-legacy-check: check fails preventing 
apt full-upgrade
Marked as found in versions nvidia-graphics-drivers/384.111-4.
> tag -1 moreinfo
Bug #891731 [nvidia-legacy-check] nvidia-legacy-check: check fails preventing 
apt full-upgrade
Added tag(s) moreinfo.

-- 
891731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891731
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

2018-02-28 Thread John Kozak
Package: nvidia-legacy-check
Severity: serious

Dear Maintainer,

Attempting to do `apt full-upgrade` fails with a message with banner
"Configuring nvidia-legacy-check" and this body:

 | This system has a graphics card which is no longer handled by the NVIDIA 
driver (package nvidia-driver). You   │
 │ may wish to keep the package installed - for instance to drive some other 
card - but the card with the │
 │ following chipset won't be usable:   
  │
 │  
  │
 │ 05:00.0 VGA compatible controller [0300]: NVIDIA Corporation G98 [GeForce 
8400 GS Rev. 2] [10de:06e4] (rev │
 │ a1); 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200b 
[GeForce GTX 285] [10de:05e3] (rev│
 │ a1)  
  │
 │  
  │
 │ The above card requires either the non-free legacy NVIDIA driver (package 
nvidia-legacy-340xx-driver) or the   │
 │ free Nouveau driver (package xserver-xorg-video-nouveau).
  │
 │  
  │
 │ Use the update-glx command to switch between different installed drivers.
  │
 │  
  │
 │ Before the Nouveau driver can be used you must remove NVIDIA configuration 
from xorg.conf (and xorg.conf.d/).  │
 │  
  │
 │ Install NVIDIA driver despite unsupported graphics card?

I am already using `nvidia-legacy-340xx-driver` for the two graphics cards
on this system and `nvidia-driver` is not installed.

console messages after clicking "no" are:

  *** The following unsupported devices are present in the machine: 
  
  05:00.0 VGA compatible controller [0300]: NVIDIA Corporation G98 [GeForce 
8400 GS Rev. 2] [10de:06e4] (rev a1)
  06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT200b [GeForce 
GTX 285] [10de:05e3] (rev a1)
  Aborting nvidia driver installation.
  dpkg: error processing archive 
/var/cache/apt/archives/nvidia-legacy-check_384.111-4_amd64.deb (--unpack):
   new nvidia-legacy-check package pre-installation script subprocess returned 
error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/nvidia-legacy-check_384.111-4_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled