nvidia-glx,nvidia-glx-new and xorg-driver-fglrx cannot be installed (conflict with xserver-xorg-core)

Bug #177609 reported by Chow Loong Jin
64
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-core

Today's upgrade in Ubuntu Hardy has upgraded the kernel to 2.6.24-2-generic. The nvidia-glx package should be upgraded from 1:96.43.01+2.6.22.5-14.1 to 1:96.43.01+2.6.24.2-2.7 but will not. Below are the details:

hyperair@Hyperair-PC:~$ apt-cache depends nvidia-glx
nvidia-glx
  Depends: libatk1.0-0
  Depends: libc6
 |Depends: <libgl1-mesa>
  Depends: <libgl1>
    libgl1-mesa-glide3
    libgl1-mesa-glx
    libgl1-mesa-swx11
  Depends: libglib2.0-0
 |Depends: libglu1-mesa
  Depends: <libglu1>
    libglu1-mesa
  Depends: libgtk2.0-0
  Depends: libpango1.0-0
  Depends: libx11-6
  Depends: libxext6
  Depends: linux-restricted-modules-common
  Depends: <nvidia-kernel-96.43.01>
    linux-restricted-modules-2.6.22-14-386
    linux-restricted-modules-2.6.22-14-generic
    linux-restricted-modules-2.6.22-14-rt
    linux-restricted-modules-2.6.22-14-xen
    linux-restricted-modules-2.6.24-2-386
    linux-restricted-modules-2.6.24-2-generic
  Depends: xserver-xorg-core
  Suggests: nvidia-kernel-source
  Conflicts: nvidia-glx-legacy
  Conflicts: nvidia-glx-new
  Conflicts: <nvidia-glx-src>
  Conflicts: nvidia-settings
  Conflicts: nvidia-xconfig
  Replaces: <nvidia-glx-src>
hyperair@Hyperair-PC:~$ apt-cache depends xserver-xorg-core
xserver-xorg-core
  Depends: libc6
  Depends: libdbus-1-3
  Depends: libdrm2
  Depends: libfontenc1
  Depends: libgcc1
  Depends: libhal1
  Depends: libpixman-1-0
  Depends: libxau6
  Depends: libxdmcp6
  Depends: libxfont1
  Depends: x11-common
  Depends: xserver-xorg
 |Suggests: xfonts-100dpi
  Suggests: xfonts-75dpi
  Suggests: xfonts-scalable
  Recommends: xfonts-base
  Recommends: xkb-data
  Conflicts: xkb-data
  Conflicts: <xserver-common>
  Conflicts: xserver-xfree86
  Conflicts: xserver-xorg
  Conflicts: <xserver-xorg-input>
  Conflicts: xserver-xorg-input-wacom
  Conflicts: <xserver-xorg-video>
    nvidia-glx
    nvidia-glx-legacy
    nvidia-glx-new
    xorg-driver-fglrx
  Conflicts: <xserver-xorg-video-1.0>
    xserver-xorg-video-avivo
    xserver-xorg-video-unichrome
  Conflicts: <xserver-xorg-video-1.9>
  Replaces: <xserver-common>
  Replaces: xserver-xfree86
  Replaces: xserver-xorg
hyperair@Hyperair-PC:~$

As can be seen above, nvidia-glx depends on xserver-xorg-core, but xserver-xorg-core conflicts with nvidia-glx.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

The l-r-m-2.6.24 doesn't have the changes from the latest version for 2.6.22 in it, that's why it fails to upgrade (or install).

Revision history for this message
Chow Loong Jin (hyperair) wrote :

I'm sorry but I don't really understand what you mean. Just for some extra info:
hyperair@Hyperair-PC:~$ sudo apt-get install nvidia-glx
[sudo] password for hyperair:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  nvidia-glx: Depends: xserver-xorg-core (>= 1:0.99.0-1) but it is not going to be installed
E: Broken packages
hyperair@Hyperair-PC:~$

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Right, since the new nvidia-glx Provides: xserver-xorg-video, and xorg-server conflicts with that. Nvidia* (and fglrx) should Provide: xserver-xorg-video-2 like the previous version did.

Changed in linux-restricted-modules-2.6.24:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Yep that's what I meant.

Revision history for this message
Niels Abspoel (aboe) wrote :

this also happens on the amd64 version, with nvidia-glx-new.

can't upgrade to kernel 2.6.24 without braking xorg. because of the depencies of nvidia-glx-new.

apt-cache depends nvidia-glx-new
nvidia-glx-new
  Vereisten: libatk1.0-0
  Vereisten: libc6
 |Vereisten: <libgl1-mesa>
  Vereisten: <libgl1>
    libgl1-mesa-glx
    libgl1-mesa-swx11
  Vereisten: libglib2.0-0
 |Vereisten: libglu1-mesa
  Vereisten: <libglu1>
    libglu1-mesa
  Vereisten: libgtk2.0-0
  Vereisten: libpango1.0-0
  Vereisten: libx11-6
  Vereisten: libxext6
  Vereisten: linux-restricted-modules-common
  Vereisten: <nvidia-kernel-100.14.19>
    linux-restricted-modules-2.6.22-14-generic
    linux-restricted-modules-2.6.22-14-rt
    linux-restricted-modules-2.6.22-14-xen
    linux-restricted-modules-2.6.24-2-generic
  Vereisten: xserver-xorg-core
  Suggesties: nvidia-new-kernel-source
  Suggesties: nvidia-settings
  Conflicteert met: nvidia-glx
    nvidia-glx-legacy
  Conflicteert met: nvidia-glx-legacy
  Conflicteert met: <nvidia-glx-src>
  Vervangt: <nvidia-glx-src>

and xserver-xorg-core, has already been provided.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Well it's probably the same bug then. Oh and does anybody notice a significant slowdown with the new kernel compared to 2.6.22? Everything seems to lag for me =(

Revision history for this message
Charles Perreault (muganor) wrote :

Would this have anything to do with the fglrx driver too ? Whenever I try to install it, I have a weird dependancy problem :

user@host~$ sudo apt-get install xorg-driver-fglrx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. [...snip...]
The following information may help resolve the situation:

The following packages have unmet dependencies:
  xorg-driver-fglrx: Depends: xserver-xorg-core (>= 1:0.99.0-1) but it is not going to be installed
E: Broken packages

However, my xserver-xorg-core seems to satisfy that...

user@host:~$ dpkg --list | grep xserver-xorg-core
ii xserver-xorg-core 2:1.4.1~git20071212-1ubuntu2 Xorg X server - core server

If this isn't the same bug, I'll fill a new request. Thanks.

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 177609] Re: nvidia-glx won't upgrade

Yes it is the same bug. The reason why this whole thing occurs is that
xserver-xorg-core conflicts with xserver-xorg-video. Both nvidia-glx and
xorg-driver-fglrx provide xserver-xorg-video. In other words, both
nvidia-glx and xorg-driver-fglrx require xserver-xorg-core, in order to be
installed. But xserver-xorg-core states that it cannot coexist with these
two packages. So we have this problem.

On Dec 21, 2007 4:16 AM, Charles Perreault <email address hidden> wrote:

> Would this have anything to do with the fglrx driver too ? Whenever I
> try to install it, I have a weird dependancy problem :
>
> user@host~$ sudo apt-get install xorg-driver-fglrx
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. [...snip...]
> The following information may help resolve the situation:
>
> The following packages have unmet dependencies:
> xorg-driver-fglrx: Depends: xserver-xorg-core (>= 1:0.99.0-1) but it is
> not going to be installed
> E: Broken packages
>
> However, my xserver-xorg-core seems to satisfy that...
>
> user@host:~$ dpkg --list | grep xserver-xorg-core
> ii xserver-xorg-core 2:
> 1.4.1~git20071212-1ubuntu2 Xorg X server - core server
>
> If this isn't the same bug, I'll fill a new request. Thanks.
>
> --
> nvidia-glx won't upgrade
> https://bugs.launchpad.net/bugs/177609
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Hyperair

Daniel Hahler (blueyed)
Changed in linux-restricted-modules-2.6.24:
status: Confirmed → Triaged
Revision history for this message
Alendit (alendit) wrote :

Same here and according to forum respond on machines of many people. Hope the solution come soon.

Revision history for this message
Nizar Kerkeni (nizarus) wrote :

same bug with xorg-driver-fglrx on hardy amd64.
~$ sudo apt-get install xorg-driver-fglrx
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.

Puisque vous n'avez demandé qu'une seule opération, le paquet n'est
probablement pas installable et vous devriez envoyer un rapport de bogue.
L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :
  xorg-driver-fglrx: Dépend: xserver-xorg-core (>= 1:0.99.0-1) mais ne sera pas installé
E: Paquets défectueux

Revision history for this message
Daniel Hahler (blueyed) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-restricted-modules-2.6.24 - 2.6.24.2-2.8

---------------
linux-restricted-modules-2.6.24 (2.6.24.2-2.8) hardy; urgency=low

  * debian/control.stub.in:
    - nvidia*/fglrx Provides: xserver-xorg-video-2. (LP: #177609)
    - fglrx: Updated the list of supported cards.
  * debian/nvidia-glx.{preinst,postrm}.in
    - Divert libwfb.so provided by xserver-xorg-core. (LP: #98641)
    - Clean up old X11R6 diversions from preinst.
    - Clean up some whitespace from preinst for readability.

 -- Timo Aaltonen <email address hidden> Sat, 22 Dec 2007 21:32:11 +0200

Changed in linux-restricted-modules-2.6.24:
status: Triaged → Fix Released
Revision history for this message
lorenzo (future-wolf102) wrote :

Hi im new to ubuntu and ive been looking for hours to fix this bug. Every time i try to install the restricted driver for a nvidia geforce 8500 card I get this from the terminal.

lorenzo@lorenzo-desktop:~$ sudo aptitude install nvidia-glx-new
[sudo] password for lorenzo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following NEW packages will be installed:
  nvidia-glx-new
The following partially installed packages will be configured:
  nvidia-glx-new-dev
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5014kB of archives. After unpacking 15.2MB will be used.
Writing extended state information... Done
(Reading database ... 120047 files and directories currently installed.)
Unpacking nvidia-glx-new (from .../nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx-new' clashes with `diversion of /usr/lib/libGL.so.1 to /usr/lib/fglrx/libGL.so.1.xlibmesa by xorg-driver-fglrx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-glx-new-dev:
 nvidia-glx-new-dev depends on nvidia-glx-new (>= 100.14.19); however:
  Package nvidia-glx-new is not installed.
dpkg: error processing nvidia-glx-new-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-glx-new-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done

What should I try now? Ive tried envy and that still didnt work. I see the clash but I dont know how to fix it.

Revision history for this message
Justin Dugger (jldugger) wrote :

Lorenzo, your bug appears to be caused by a conflict between the package for ati's binary drivers and nvidia's binary drivers. A different bug should probably be filed on this.

If you have no need for ati drivers, I'd suggest "apt-get remove xorg-driver-fglrx". If you need both, definitely file a new bug about it.

Revision history for this message
xoco (arthur.ivanov) wrote :

major bug

look :
https://launchpad.net/ubuntu/+source/xorg

xorg (1:7.4~5ubuntu6) jaunty; urgency=low

  * xserver-xorg: Bump the depends on xserver-xorg-core, and require
    xserver-xorg-video-5, xserver-xorg-input-4.

 -- Timo Aaltonen < <email address hidden>> Mon, 15 Dec 2008 12:57:18 +0200

xserver-xorg-core - conflict with xserver-xorg-video-4, and want xserver-xorg-video-5

nvidia-glx-* provide only xserver-xorg-video-4

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.