Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-19 Thread Andreas Beckmann
retitle 630225 [nvidia-installer-cleanup] does not handle local diversions of 
libglx.so
reopen 630225
tags 630225 + wontfix
thanks

On 2011-06-19 14:36, David Baron wrote:
 (So why did not the installation script offer to remove
 that local diversion?

 Because I never encountered such a thing. And if I can't see that this
 happens regularily I'm not going to write extra code for this anomaly.
 
 Anyone going from Nvidia's installer to ours is likely to have put in this 
 diversion. Otherwise, every time xorg-core is upgraded, one needs to 
 reinstall 
 the glx library. So it would not hurt to include in the script. Indeed, this 
 might be considered a (lower priority) bug on the installer.

Reopening and retitling the bug report while marking it as wontfix
until a number of other users has the same problem. Or someone sends
a patch.

Eventually a fix should go into the updated diversion handling instead,
see the glx-alternatives source package.


Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-18 Thread David Baron
On Saturday 16 Sivan 5771 06:28:50 Andreas Beckmann wrote:
 On 2011-06-15 20:55, David Baron wrote:
  On Wednesday 13 Sivan 5771 11:18:53 Andreas Beckmann wrote:
  Try
  
  dpkg-reconfigure nvidia-installer-cleanup
  
  Andreas
  
  Did this OK. Did not change anything.
 
 Reinstall nvidia-installer-cleanup and post the error message this
 installation produces. There must be some error as the package does not
 configure properly.
 
 Andreas

This is it:
Setting up nvidia-installer-cleanup (20110515+1) ...
Setting up libglx-nvidia-alternatives (270.41.19-1) ...
ERROR: /usr/lib/xorg/modules/extensions/libglx.so does exist even if it is 
diverted. Aborting.
dpkg: error processing libglx-nvidia-alternatives (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-glx:
 nvidia-glx depends on libglx-nvidia-alternatives; however:
  Package libglx-nvidia-alternatives is not configured yet.
dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
  configured to not write apport reports

Errors 
were encountered while processing:
 libglx-nvidia-alternatives
 nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)

So .. the cleanup does install. The libglx-nvidia-alternatives problem is 
still thee. Note that I synlinksed the extensions/libglx.so myself--it has no 
effect, however, some programs look for something there to know that opengl is 
available! This is NOT what caused the original error which is what ends this 
report.

So ... two things here:

1. Something does need to be in /usr/lib/xorg/modules/extensions/libglx.so 
whether or not diverted, dummy or for real. Otherwise, flightgear, for 
example, will not run!

2. There is a problem in the libglx-nvidia-alternatives script preventing its 
configuration. As I posted, nothing is set up for libglx.so but that it 
apparently does not matter, that the libGL1 setup seems to take care of this.


Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-18 Thread Andreas Beckmann
On 2011-06-18 21:26, David Baron wrote:
 On Saturday 16 Sivan 5771 06:28:50 Andreas Beckmann wrote:
 On 2011-06-15 20:55, David Baron wrote:
 On Wednesday 13 Sivan 5771 11:18:53 Andreas Beckmann wrote:
 Try

 dpkg-reconfigure nvidia-installer-cleanup

 Andreas

 Did this OK. Did not change anything.

 Reinstall nvidia-installer-cleanup and post the error message this
 installation produces. There must be some error as the package does not
 configure properly.

 Andreas
 
 This is it:
 Setting up nvidia-installer-cleanup (20110515+1) ...
 Setting up libglx-nvidia-alternatives (270.41.19-1) ...
 ERROR: /usr/lib/xorg/modules/extensions/libglx.so does exist even if it is 
 diverted. Aborting.

That's the culprit. Your system is somehow broken ... there are files
that werent expected to exist ...

 So .. the cleanup does install. The libglx-nvidia-alternatives problem is 
 still thee. Note that I synlinksed the extensions/libglx.so myself

Undo ... and retry

--it has no effect,

It does - breaks libglx-nvidia-alternatives

 however, some programs look for something there to know that opengl is 
 available! This is NOT what caused the original error which is what ends this 
 report.

If all the packages are installed properly, in the end you will have
something in /usr/lib/xorg/modules/extensions/libglx.so

 So ... two things here:
 
 1. Something does need to be in /usr/lib/xorg/modules/extensions/libglx.so 
 whether or not diverted, dummy or for real. Otherwise, flightgear, for 
 example, will not run!

It will be once all the packages have been configured.

 2. There is a problem in the libglx-nvidia-alternatives script preventing its 
 configuration. As I posted, nothing is set up for libglx.so but that it 
 apparently does not matter, that the libGL1 setup seems to take care of this.

Your system is broken in a way unknown to libglx-nvidia-alternatives,
so it gives up and lets you fix it.


Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-18 Thread David Baron
On Saturday 16 Sivan 5771 22:54:35 Andreas Beckmann wrote:
 On 2011-06-18 21:26, David Baron wrote:
  On Saturday 16 Sivan 5771 06:28:50 Andreas Beckmann wrote:
  On 2011-06-15 20:55, David Baron wrote:
  On Wednesday 13 Sivan 5771 11:18:53 Andreas Beckmann wrote:
  Try
  
  dpkg-reconfigure nvidia-installer-cleanup
  
  Andreas
  
  Did this OK. Did not change anything.
  
  Reinstall nvidia-installer-cleanup and post the error message this
  installation produces. There must be some error as the package does not
  configure properly.
  
  Andreas
  
  This is it:
  Setting up nvidia-installer-cleanup (20110515+1) ...
  Setting up libglx-nvidia-alternatives (270.41.19-1) ...
  ERROR: /usr/lib/xorg/modules/extensions/libglx.so does exist even if it
  is diverted. Aborting.
 
 That's the culprit. Your system is somehow broken ... there are files
 that werent expected to exist ...
 
  So .. the cleanup does install. The libglx-nvidia-alternatives problem is
  still thee. Note that I synlinksed the extensions/libglx.so myself
 
 Undo ... and retry
 
 --it has no effect,
 
 It does - breaks libglx-nvidia-alternatives
 
  however, some programs look for something there to know that opengl is
  available! This is NOT what caused the original error which is what ends
  this report.
 
 If all the packages are installed properly, in the end you will have
 something in /usr/lib/xorg/modules/extensions/libglx.so
 
  So ... two things here:
  
  1. Something does need to be in
  /usr/lib/xorg/modules/extensions/libglx.so whether or not diverted,
  dummy or for real. Otherwise, flightgear, for example, will not run!
 
 It will be once all the packages have been configured.
 
  2. There is a problem in the libglx-nvidia-alternatives script preventing
  its configuration. As I posted, nothing is set up for libglx.so but that
  it apparently does not matter, that the libGL1 setup seems to take care
  of this.
 
 Your system is broken in a way unknown to libglx-nvidia-alternatives,
 so it gives up and lets you fix it.
 
 
 Andreas

OK, I removed it and rerun--here is the output:
dpkg-divert: error: mismatch on divert-to
  when removing `diversion of /usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/libglx.so.xlibmesa by LOCAL'
  found `local diversion of /usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/xorg/modules/extensions/libglx.so.distrib'
dpkg: error processing libglx-nvidia-alternatives (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of nvidia-glx:
 nvidia-glx depends on libglx-nvidia-alternatives; however:
  Package libglx-nvidia-alternatives is not configured yet.
dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
  configured to not write apport reports

Errors 
were encountered while processing:
 libglx-nvidia-alternatives
 nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)


The local diversion was there to protect Nvidia's installation. I guess that 
since it does not matter what is there any more, I could take that out as 
well:

Repeat reinstallation of the cleanup:
Setting up libglx-nvidia-alternatives (270.41.19-1) ...
Adding 'diversion of /usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/diversions/libglx.so by libglx-nvidia-alternatives'
Adding 'diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so 
to /usr/lib/nvidia/diversions/libglx.so.dbg by libglx-nvidia-alternatives'
Processing triggers for libglx-nvidia-alternatives ...
update-alternatives: using /usr/lib/nvidia/diversions/libglx.so to provide 
/usr/lib/xorg/modules/extensions/libglx.so (libglx.so) in auto mode.
update-alternatives: warning: skip creation of 
/usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so because associated 
file /usr/lib/nvidia/diversions/libglx.so.dbg (of link group libglx.so) 
doesn't exist.
Setting up nvidia-glx (270.41.19-1) ...
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.so to 
/usr/lib/nvidia/libGLcore.so.xlibmesa by nvidia-glx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libGLcore.a to 
/usr/lib/nvidia/libGLcore.a.xlibmesa by nvidia-glx', none removed.
No diversion 'diversion of /usr/lib/xorg/modules/extensions/libglx.a to 
/usr/lib/nvidia/libglx.a.xlibmesa by nvidia-glx', none removed.
update-alternatives: using /usr/lib/nvidia/libglx.so to provide 
/usr/lib/xorg/modules/extensions/libglx.so (libglx.so) in auto mode.
Moved the conflicting libraries '/usr/lib/libGL.so.1.0.8762' to 
'/var/tmp/nvidia-backup.g8zEoR'.
Processing triggers for libgl1-nvidia-alternatives ...
update-alternatives: warning: forcing reinstallation of alternative 
/usr/lib/nvidia/libGL.so.1 because link group libGL.so.1 is broken.

I then 

Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-17 Thread Andreas Beckmann
On 2011-06-15 20:55, David Baron wrote:
 On Wednesday 13 Sivan 5771 11:18:53 Andreas Beckmann wrote:
 Try
 dpkg-reconfigure nvidia-installer-cleanup

 Andreas
 
 Did this OK. Did not change anything.

Reinstall nvidia-installer-cleanup and post the error message this
installation produces. There must be some error as the package does not
configure properly.

Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-15 Thread Andreas Beckmann
On 2011-06-12 15:32, David Baron wrote:
 The nvidia-alternatives package, superseded by this one, yields the following 
 error on installation of nvidia-glx:

You didn't post the error message why nvidia-installer-cleanup didn't
configure properly. Without nvidia-installer-cleanup being configured
successfully, all the other packages can't be configured.

Try
dpkg-reconfigure nvidia-installer-cleanup

Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-15 Thread David Baron
On Wednesday 13 Sivan 5771 11:18:53 Andreas Beckmann wrote:
 On 2011-06-12 15:32, David Baron wrote:
  The nvidia-alternatives package, superseded by this one, yields the
  following
 
  error on installation of nvidia-glx:
 You didn't post the error message why nvidia-installer-cleanup didn't
 configure properly. Without nvidia-installer-cleanup being configured
 successfully, all the other packages can't be configured.
 
 Try
 dpkg-reconfigure nvidia-installer-cleanup
 
 Andreas

Did this OK. Did not change anything.


Bug#630225: [nvidia-installer-cleanup] Does not install correctly, though nvidia works!

2011-06-12 Thread David Baron
Package: nvidia-installer-cleanup
Version: 20110515+1
Severity: normal

--- Please enter the report below this line. ---
The nvidia-alternatives package, superseded by this one, yields the following 
error on installation of nvidia-glx:

configured to not write apport reports
  dpkg: dependency problems prevent 
configuration of nvidia-glx:
 nvidia-glx depends on libglx-nvidia-alternatives; however:
  Package libglx-nvidia-alternatives is not configured yet.
dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
  Errors were encountered while 
processing:
 libglx-nvidia-alternatives
 nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)

The installer-cleanup package does not attempt to install, at least under that 
name.

The nvidia driver and glx packages are functioning correctly otherwise. 
Manually immitating the GL alternatives with the glx changes nothing.

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.39-1-686-pae

Debian Release: wheezy/sid
  990 unstablewww.debian-multimedia.org 
  990 unstablehttp.us.debian.org 
  990 unstabledebian.tagancha.org 
  990 unstabledebian.scribus.net 
  990 unstabledebian.pengutronix.de 
  650 testing security.debian.org 
  650 testing http.us.debian.org 
  650 testing dl.google.com 
  500 stable  security.debian.org 
  500 stable  http.us.debian.org 
  500 stable  deb.opera.com 
  500 karmic  ppa.launchpad.net 
  500 intrepidppa.launchpad.net 
  101 experimental-snapshots qt-kde.debian.net 
1 experimentaldebian.co.il 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.