Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2018-07-09 Thread Andreas Beckmann
Control: tag -1 moreinfo

On 2015-01-18 22:03, Andreas Beckmann wrote:
> On 2015-01-18 12:39, Beojan Stanislaus wrote:

>> lrwxrwxrwx 1 root root50 Dec 10 12:47
>> /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 ->
>> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
> 
> That one is seriously broken and mustn't be there. Delete it and it
> should solve your problem.

> Where does this come from?
> 
>> /etc/modprobe.d:
>> total 52
>> -rw-r--r--   1 root   root  76 Apr 16  2014
>> nvidia-installer-disable-nouveau.conf
> That one is not from the packaging,

>> << /etc/modprobe.d/nvidia-installer-disable-nouveau.conf >>
>> # generated by nvidia-installer
>> blacklist nouveau
>> options nouveau modeset=0
>> ^^ /etc/modprobe.d/nvidia-installer-disable-nouveau.conf ^^
> 
> So you installed the driver from the .run in the past and it didn't
> clean up properly. Maybe my nvidia-installer-cleanup package must be
> updated.

Did you get this fixed?

Is this still an issue with the latest driver (390.67) available in sid,
buster, and stretch-backports?


Andreas



Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2015-01-18 Thread Andreas Beckmann
On 2015-01-18 12:39, Beojan Stanislaus wrote:
 OpenGL and NVIDIA library files installed:
 lrwxrwxrwx 1 root root48 Oct 21 18:35
 /usr/lib/x86_64-linux-gnu/libGL.so -
 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
OK

 lrwxrwxrwx 1 root root50 Dec 10 12:45
 /usr/lib/x86_64-linux-gnu/libGL.so.1 -
 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
OK

 lrwxrwxrwx 1 root root50 Dec 10 12:47
 /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 -
 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu

That one is seriously broken and mustn't be there. Delete it and it
should solve your problem.

 /usr/lib/mesa-diverted/x86_64-linux-gnu/:
 lrwxrwxrwx 1 root root 14 Jan 15 14:01 libGL.so - libGL.so.1.2.0
 lrwxrwxrwx 1 root root 14 Jan 15 14:01 libGL.so.1 - libGL.so.1.2.0
 -rw-r--r-- 1 root root 627320 Jan 15 14:01 libGL.so.1.2.0
diversions are correct, this is the original libGL.so.1.2.0

 /usr/lib/x86_64-linux-gnu/nvidia/xorg/:
 total 12
 drwxr-xr-x 3 root root 4096 Jul 19  2014 .
 drwxr-xr-x 4 root root 4096 Jan 13 21:48 ..
 drwxr-xr-x 2 root root 4096 Oct 22 09:53 modules

Where does this come from?

 /etc/modprobe.d:
 total 52
 -rw-r--r--   1 root   root  76 Apr 16  2014
 nvidia-installer-disable-nouveau.conf
That one is not from the packaging,

 -rw-r--r--   1 root   root 259 Oct 20 09:45 nvidia-kernel-common.conf
 lrwxrwxrwx   1 root   root  46 Oct 21 18:37 nvidia.conf -
 /etc/alternatives/nvidia--nvidia-modprobe.conf
while these two are.

  /etc/modprobe.d/nvidia-installer-disable-nouveau.conf 
 # generated by nvidia-installer
 blacklist nouveau
 options nouveau modeset=0
 ^^ /etc/modprobe.d/nvidia-installer-disable-nouveau.conf ^^

So you installed the driver from the .run in the past and it didn't
clean up properly. Maybe my nvidia-installer-cleanup package must be
updated.

Andreas


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



Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2015-01-17 Thread Beojan Stanislaus
Setting up libgl1-nvidia-glx:amd64 (343.36-1) ...
ERROR: The conflicting library '/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0'
is known to dpkg.
diversion by glx-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
diversion by glx-diversions to:
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of
xserver-xorg-video-nvidia:
 xserver-xorg-video-nvidia depends on libgl1-nvidia-glx (= 343.36-1);
however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.

dpkg: error processing package xserver-xorg-video-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on libgl1-nvidia-glx (= 343.36-1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 nvidia-driver depends on xserver-xorg-video-nvidia (= 343.36-1); however:
  Package xserver-xorg-video-nvidia is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libgl1-nvidia-glx:amd64
 xserver-xorg-video-nvidia
 nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up libgl1-nvidia-glx:amd64 (343.36-1) ...
ERROR: The conflicting library '/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0'
is known to dpkg.
diversion by glx-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
diversion by glx-diversions to:
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on libgl1-nvidia-glx (= 343.36-1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.

dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
xserver-xorg-video-nvidia:
 xserver-xorg-video-nvidia depends on libgl1-nvidia-glx (= 343.36-1);
however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.

dpkg: error processing package xserver-xorg-video-nvidia (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libgl1-nvidia-glx:amd64
 nvidia-driver
 xserver-xorg-video-nvidia

That's the terminal output, which is the same as the contents of term.log


Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2015-01-17 Thread Andreas Beckmann
On 2015-01-16 12:19, Beojan Stanislaus wrote:
 --- Package information. ---
 Depends (Version) | Installed
 glx-diversions  (= 0.4.1) | 0.5.1
 glx-alternative-mesa  | 0.5.1

Huh? What versions are reported by reportbug-ng here?

When did you install/upgrade glx-diversions?
Do you still have logs available from these events?

On 2015-01-17 15:09, Beojan Stanislaus wrote:
 Setting up libgl1-nvidia-glx:amd64 (343.36-1) ...
 ERROR: The conflicting library '/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0'
 is known to dpkg.
 diversion by glx-diversions from: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
 diversion by glx-diversions to:
 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0
 libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
 dpkg: error processing package libgl1-nvidia-glx:amd64 (--configure):

OK, that sounds right. The diversion is there, but for some reason,
you still have a file sitting around there that should have been moved aside.
And there the script from nvidia-installer-cleanup starts to complain
(even if that file is not from nvidia-installer, but that's intentional)
and blocks further installation, as you would end up with 2 or more 
libraries competing for being libGL.so.1 

Yould you please run (using the classical reportbug)

  reportbug -N 775491

to have it collect system info and send it to the bug? This should give
me lists of all the relevant things sitting around on your machine.


Andreas


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



Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2015-01-16 Thread Beojan Stanislaus
Package: libgl1-nvidia-glx
Version: 343.36-1
Severity: normal

--- Please enter the report below this line. ---

Upgrading libgl1-nvidia-glx on a system with glx-alternatives installed fails 
with the message '/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0' is known to dpkg.

--- System information. ---
Architecture: amd64
Kernel:   Linux 3.16.1-ck2

Debian Release: 8.0
  500 unstablehttp.debian.net 
  500 stable  dl.google.com 
1 experimentalhttp.debian.net 

--- Package information. ---
Depends (Version) | Installed
=-+-
===
nvidia-alternative| 343.36-1
nvidia-support| 20141201+1
libc6  (= 2.2.5) | 2.19-13
libx11-6  | 2:1.6.2-3
libxext6  | 2:1.3.3-1
libgl1-nvidia-glx(= 331.49-1) | 343.36-1
xserver-xorg-video-nvidia(= 331.49-1) | 343.36-1
nvidia-vdpau-driver  (= 331.49-1) | 343.36-1
nvidia-alternative   (= 331.49-1) | 343.36-1
nvidia-kernel-dkms  (= 331.49-1)  | 343.36-1
 OR nvidia-kernel-331.49  | 
nvidia-support| 20141201+1
libc6  (= 2.2.5) | 2.19-13
libnvidia-ml1(= 319) | 343.22-2
nvidia-driver | 343.36-1
nvidia-alternative| 343.36-1
nvidia-support| 20141201+1
libc6  (= 2.2.5) | 2.19-13
libx11-6  | 2:1.6.2-3
libxext6  | 2:1.3.3-1
libgl1-nvidia-glx(= 331.49-1) | 343.36-1
nvidia-alternative   (= 331.49-1) | 343.36-1
nvidia-support  (= 20120630) | 20141201+1
xorg-video-abi-15 | 
 OR xorg-video-abi-14 | 
 OR xorg-video-abi-13 | 
 OR xorg-video-abi-12 | 
 OR xorg-video-abi-11 | 
 OR xorg-video-abi-10 | 
 OR xorg-video-abi-8  | 
 OR xorg-video-abi-6.0| 
xserver-xorg-core  ( 2:1.15.99) | 2:1.16.2.901-1
libc6  (= 2.2.5) | 2.19-13
debconf (= 0.5)  | 1.5.55
 OR debconf-2.0   | 
glx-alternative-nvidia   (= 0.4) | 0.5.1
dkms (= 2.1.0.0) | 2.2.0.3-2
nvidia-kernel-common(= 20110213) | 20141201+1
nvidia-alternative--kmod-alias| 
glx-diversions  (= 0.4.1) | 0.5.1
glx-alternative-mesa  | 0.5.1
libc6   (= 2.17) | 2.19-13
libdrm-intel1 (= 2.4.38) | 2.4.58-2
libdrm2   (= 2.4.30) | 2.4.58-2
libpciaccess0  (= 0.8.0+git20071002) | 0.13.2-3+b1
libpixman-1-0 (= 0.30.0) | 0.32.6-3
libudev1 (= 183) | 215-9
libx11-6  | 2:1.6.2-3
libx11-xcb1   | 2:1.6.2-3
libxcb-dri2-0 | 1.10-3+b1
libxcb-util0   (= 0.3.8) | 0.3.8-3
libxcb1   | 1.10-3+b1
libxv1| 2:1.0.10-1+b1
libxvmc1  | 2:1.0.8-2+b1
xorg-video-abi-18 | 
xserver-xorg-core  (= 2:1.15.99.903) | 2:1.16.2.901-1


Package Status   (Version) | Installed
==-+-===
nvidia-driver  | 343.36-1
nvidia-glx | 
nvidia-kernel-dkms | 343.36-1
nvidia-kernel-source   | 
nvidia-glx-any | 
libgl1-nvidia-glx-any  | 
libgl1-nvidia-glx-ia32-any | 
libgl1-nvidia-glx-ia32   

Bug#775491: [libgl1-nvidia-glx] Fails to install when using glx-alternatives

2015-01-16 Thread Andreas Beckmann
On 2015-01-16 12:19, Beojan Stanislaus wrote:
 Package: libgl1-nvidia-glx
 Version: 343.36-1
 Severity: normal
 
 --- Please enter the report below this line. ---
 
 Upgrading libgl1-nvidia-glx on a system with glx-alternatives installed fails 
 with the message '/usr/lib/x86_64-linux-gnu/libGL.so.1.2.0' is known to dpkg.

Insufficient information. Can you send /var/log/apt/term.log that
contains the failed upgrade?

was the bug filed on the system showing the problem?

No system info from the bug script:

 -8---8---8---8---8---8---8---8---8--
 Please attach the file:
   /tmp/reportbug-ng-libgl1-nvidia-glx-vJiEtH.txt
 to the mail. I'd do it myself if the output wasn't too long to handle.
 
   Thank you!
 -8---8---8---8---8---8---8---8---8--

or just use the command line version of reportbug, that does not have
this problem ...

Andreas


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