libgl1-mesa-glx alternative link

Bug #833841 reported by BuM
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Invalid
Undecided
Chris Halse Rogers

Bug Description

mike@sasha:~$ sudo apt-get dist-upgrade ; sudo apt-get install -f ; sudo dpkg --configure -a
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.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up libgl1-mesa-glx (7.10.2-0ubuntu2.1) ...
update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by i386-linux-gnu_gl_conf.
dpkg: error processing libgl1-mesa-glx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libglu1-mesa:
 libglu1-mesa depends on libgl1-mesa-glx | libgl1; however:
  Package libgl1-mesa-glx is not configured yet.
  Package libgl1 is not installed.
  Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libglu1-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-mesa-dev:
 libgl1-mesa-dev depends on libgl1-mesa-glx (= 7.10.2-0ubuntu2.1); however:
  Package libgl1-mesa-glx is not configured yet.
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.
                    dpkg: error processing libgl1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglu1-mesa-dev:
 libglu1-mesa-dev depends on libglu1-mesa (= 7.10.2-0ubuntu2.1); however:
  Package libglu1-mesa is not configured yet.
 libglu1-mesa-dev depends on libgl1-mesa-dev | libgl-dev; however:
  Package libgl1-mesa-dev is not configured yet.
  Package libgl-dev is not installed.
  Package libgl1-mesa-dev which provides libgl-dev is not configured yet.
dpkg: error processing libglu1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 libgl1-mesa-glx
 libglu1-mesa
 libgl1-mesa-dev
 libglu1-mesa-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
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-mesa-glx (7.10.2-0ubuntu2.1) ...
update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by i386-linux-gnu_gl_conf.
dpkg: error processing libgl1-mesa-glx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libglu1-mesa:
 libglu1-mesa depends on libgl1-mesa-glx | libgl1; however:
  Package libgl1-mesa-glx is not configured yet.
  Package libgl1 is not installed.
  Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libglu1-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-mesa-dev:
 libgl1-mesa-dev depends on libgl1-mesa-glx (= 7.10.2-0ubuntu2.1); however:
  Package libgl1-mesa-glx is not configured yet.
dpkg: error processing libgl1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglu1-mesa-dev:
 libglu1-mesa-dev depends on libglu1-mesa (= 7.10.2-0ubuntu2.1); however:
  Package libglu1-mesa is not configured yet.
 libglu1-mesa-dev depends on libgl1-mesa-dev | libgl-dev; however:
  Package libgl1-mesa-dev is not configured yet.
  Package libgl-dev is not installedNo 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.
                                                        No apport report written because MaxReports is reached already
                                                                                                                      .
  Package libgl1-mesa-dev which provides libgl-dev is not configured yet.
dpkg: error processing libglu1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libgl1-mesa-glx
 libglu1-mesa
 libgl1-mesa-dev
 libglu1-mesa-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up libgl1-mesa-glx (7.10.2-0ubuntu2.1) ...
update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by i386-linux-gnu_gl_conf.
dpkg: error processing libgl1-mesa-glx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libgl1-mesa-dev:
 libgl1-mesa-dev depends on libgl1-mesa-glx (= 7.10.2-0ubuntu2.1); however:
  Package libgl1-mesa-glx is not configured yet.
dpkg: error processing libgl1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglu1-mesa:
 libglu1-mesa depends on libgl1-mesa-glx | libgl1; however:
  Package libgl1-mesa-glx is not configured yet.
  Package libgl1 is not installed.
  Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libglu1-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglu1-mesa-dev:
 libglu1-mesa-dev depends on libglu1-mesa (= 7.10.2-0ubuntu2.1); however:
  Package libglu1-mesa is not configured yet.
 libglu1-mesa-dev depends on libgl1-mesa-dev | libgl-dev; however:
  Package libgl1-mesa-dev is not configured yet.
  Package libgl-dev is not installed.
  Package libgl1-mesa-dev which provides libgl-dev is not configured yet.
dpkg: error processing libglu1-mesa-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libgl1-mesa-glx
 libgl1-mesa-dev
 libglu1-mesa
 libglu1-mesa-dev
mike@sasha:~$

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libgl1-mesa-glx 7.10.2-0ubuntu2.1
ProcVersionSignature: Ubuntu 2.6.39-0.5~20110427-generic 2.6.39-rc5
Uname: Linux 2.6.39-0-generic i686
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Jest katalogiem: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86 Kernel Module 280.13 Wed Jul 27 16:55:43 PDT 2011
 GCC version: gcc version 4.4.5 (Ubuntu/Linaro 4.4.5-15ubuntu1)
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Thu Aug 25 16:22:19 2011
DistUpgraded: Log time: 2011-04-03 10:25:29.180650
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 vboxhost, 4.0.8, 2.6.38-8-generic, i686: installed
 nvidia-current, 280.13, 2.6.39-0-generic, i686: installed
 bcmwl, 5.100.82.38+bdcom, 2.6.39-0-generic, i686: installed
GraphicsCard:
 nVidia Corporation C67 [GeForce 7000M / nForce 610M] [10de:0533] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Device [103c:30ea]
JockeyStatus:
 kmod:nvidia_173 - NVIDIA binary Xorg driver, kernel module and VDPAU library (Własnościowy, Wyłączony, Nieużywany)
 kmod:nvidia_current - nvidia_current (Własnościowy, Włączony, Nieużywany)
MachineType: Hewlett-Packard Compaq Presario F700 Notebook PC
ProcEnviron:
 LANGUAGE=pl_PL:en
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.39-0-generic root=UUID=68f7ad79-5f1f-4e26-b4c9-145d3f02ecc5 ro nomodeset quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap vt.handoff=7
Renderer: Unknown
SourcePackage: mesa
UpgradeStatus: Upgraded to natty on 2011-04-03 (143 days ago)
dmi.bios.date: 04/25/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.08
dmi.board.name: 30EA
dmi.board.vendor: Quanta
dmi.board.version: 86.09
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.08:bd04/25/2008:svnHewlett-Packard:pnCompaqPresarioF700NotebookPC:pvrRev1:rvnQuanta:rn30EA:rvr86.09:cvnQuanta:ct10:cvrN/A:
dmi.product.name: Compaq Presario F700 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu1~natty2
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
BuM (bumaw) wrote :
Changed in mesa (Ubuntu):
status: New → Confirmed
Revision history for this message
Digulla-hepe (digulla-hepe) wrote :

I have the same problem on Natty. The root cause seems to be this line:

setting up libgl1-mesa-glx (7.10.2-0ubuntu2.1) ...
update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by i386-linux-gnu_gl_conf.
dpkg: error processing libgl1-mesa-glx (--configure):
 subprocess installed post-installation script returned error exit status 2

My guess is that this is because of the Nvidia driver because of the content of /usr/lib/xorg/extra-modules:

$ ll /usr/lib/xorg/extra-modules
lrwxrwxrwx 1 root root 53 2011-08-08 09:30 /usr/lib/xorg/extra-modules -> /etc/alternatives/x86_64-linux-gnu_xorg_extra_modules/
$ ll /etc/alternatives/x86_64-linux-gnu_xorg_extra_modules/
total 12960
drwxr-xr-x 2 root root 4096 2011-08-08 09:30 ./
drwxr-xr-x 6 root root 4096 2011-08-08 09:30 ../
lrwxrwxrwx 1 root root 16 2011-08-08 09:30 libglx.so -> libglx.so.280.13
-rw-r--r-- 1 root root 6356552 2011-08-01 20:23 libglx.so.280.13
-rw-r--r-- 1 root root 6901792 2011-08-01 20:23 nvidia_drv.so

Revision history for this message
Digulla-hepe (digulla-hepe) wrote :

Update: I'm not using the standard Nvidia driver because I of a bug in the r8169 driver (see bug 821454). To fix that, I installed kernel 3.0.1 (see comment #3).

After that, I needed the Nvidia driver from xorg edgers (nvidia-current_285.03-0ubuntu1~edgers~natty1_amd64.deb)

A workaround to fix the bug here, I removed nvidia-current, did the update and reinstalled.

Changed in mesa (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chris Halse Rogers (raof) wrote :

This looks very much like you've installed packages from the xorg-edgers PPA which have been multiarched and then downgraded; that's (unfortunately) not supported.

Alternatively, you might be mixing versions - the nvidia packages in xorg-edgers are multiarched, and they won't install with mesa from Natty.

Changed in mesa (Ubuntu):
assignee: nobody → Chris Halse Rogers (raof)
Revision history for this message
sasha (sashalav) wrote :

I nave nvidia-current 280.13-natty~ppa1 from Philip Johnsson's PPA and had the same problem.

The fix was to remove nvidia-current, run updates and install nvidia-current again.

I did not dare doing it before I read comment #3 here as I did not want to get stuck without nvidia driver, but it all worked out just fine.

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 833841] Re: libgl1-mesa-glx alternative link

 status invalid

Ok; marking as invalid. We can't prevent PPAs from breaking upgrades :/

Changed in mesa (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Klaus Meijners (klaus-meijners) wrote :

I am using the xorg-edgers PPA too (I reported a duplicate bug). I was now able to resolve the problem in a similar way as described by digulla-hepe. Thanks for the support!

Revision history for this message
ruedihofer (ruedihofer) wrote :

I have the same setup as #5. The described workaround fixed the problem.

Revision history for this message
patrick wilken (pwilken) wrote :

#5 fixed my problem as well. thanks.

Revision history for this message
vasanag (vasanag) wrote :

#5 worked for me also. thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.