nvidia-glx-185 conflicts nvidia-glx-180 (<< 185.18.37) version is too high, this means that dummy package nvidia-glx-180 can't upgrade

Bug #418681 reported by Niall Creech
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-180 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

nvidia-glx-185 conflicts with nvidia-glx-180 (<< 185.18.37), this means that newly dummy package nvidia-glx-180 cant't upgrade to the current 185.18.36-0ubuntu1 version. on upgrade this leads to all nvidia-180 packages being uninstalled and nvidia-185-kernel-source and nvidia-185-libvdpau being installed, leaving us without nvidia-185-glx.

Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Alberto, it appears the Replaces/Conflicts between 180 and 185 are not working properly. Tony Espy also has run into this same problem on upgrading his machine.

Revision history for this message
Bryce Harrington (bryce) wrote :

<awe> bryce, ok, thanks. it's weird, it looks like 185 installed according to dpkg, but the drv.so file is definitely hosed.
<awe> I extracted the files from the .deb, and the drv.so is OK

Revision history for this message
Bryce Harrington (bryce) wrote :

I'm a bit confused in the original bug because it indicates there to be a check against 185.18.37, yet the newest version I can confirm present in Karmic is 185.18.36, and I can find no mention of "18.37" in control files. Where is this coming in?

Revision history for this message
Bryce Harrington (bryce) wrote :

Only mention I can spot so far is in debian/upstream_info:

NEXTVER=185.18.37

But I'm unclear on how that could affect things.

Revision history for this message
Bryce Harrington (bryce) wrote :

Dinxter, attach your /var/log/dpkg.log and /var/log/Xorg.0.log so we can understand your environment better.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Tony Espy (awe) wrote :

Here's what happened to me...

I upgraded my new macbook 13" ( model 5 ) running Karmic/64-bit earlier this afternoon. The update happened to include both a new kernel ( -7 ), and a new version of the nvidia driver ( 185 ).

After rebooting, the system would only come up with a command-line login prompt.

Bryce and I chatted, and after checking out my Xorg.0.log file, it indicated that the nvidia driver couldn't be loaded.

Mario chimed in and asked whether or not nvidia-glx-185 was installed. It wasn't, however I did see:

nvidia-185-kernel-source, -modaliases, and -libvdpau.

So, I ran:

$ sudo apt-get install nvidia-glx-185

...and it installed fine.

However I still wasn't able to get X to start. This time, when I examined Xorg.0.log, I discovered that it complained about an "Invalid ELF header". So next, I ran:

% file /usr/lib/xorg/modules/drivers//nvidia_drv.so

...which reported that the file was "data"! !@#%

I grabbed the .deb from the cache and extracted it's contents, and the _drv.so file was correct.

So, in order to resolve, I purged the old nvidia-glx-180 package, and re-installed nvidia-glx-185 and everything now seems back to normal.

Revision history for this message
Tony Espy (awe) wrote :

Two other possibly related items...

I had a lot of problems with the nvidia driver and external monitors when I first bought my macbook.

At one point, I'd installed packages from "thefirstm" PPA. I thought I'd removed all of these, but while debugging this problem I noticed that at least one package from that PPA was still installed:

mbp-nvidia-bl-dkms 0.22~jaunty

I purged it just before purging nvidia-glx-180, and it appears it may have been running... Note the version of nvidia-bl-dkms on my system is now 0.14.

Also, while debugging this problem, and before discussing with Bryce, I did a manual update and noticed that a new version of dkms was installed.

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

attached dpkg.log and x log

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

note the conflicts in apt-cache show nvidia-glx-185 with
nvidia-glx-180 (<< 185.18.37)

this seems to be #NEXTVER# from debian/upstream_info.
In debian/control.in nvidia-glx-185 uses conflicts nvidia-glx-180 (<< #NEXTVER#)
should this not just be <<#VERSION# ?

# apt-cache show nvidia-glx-185Package: nvidia-glx-185
Priority: optional
Section: restricted/misc
Installed-Size: 50368
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: Debian NVIDIA Maintainers <email address hidden>
Architecture: amd64
Source: nvidia-graphics-drivers-180
Version: 185.18.36-0ubuntu1
Replaces: nvidia-glx, nvidia-glx-173, nvidia-glx-177, nvidia-glx-180 (<< 185.18.37), nvidia-glx-185, nvidia-glx-71, nvidia-glx-96, nvidia-glx-envy, nvidia-glx-legacy, nvidia-glx-legacy-envy, nvidia-glx-new, nvidia-glx-new-envy, nvidia-glx-src
Provides: nvidia-glx, nvidia-glx-180, xserver-xorg-video-5
Depends: nvidia-185-kernel-source (>= 185.18.36), nvidia-185-libvdpau (>= 185.18.36), x11-common (>= 1:7.0.0), libc6 (>= 2.3.2), libgl1-mesa | libgl1, libx11-6, libxext6, zlib1g (>= 1:1.1.4)
Recommends: nvidia-settings
Conflicts: nvidia-glx, nvidia-glx-180 (<< 185.18.37), nvidia-glx-src, xorg-driver-fglrx
Filename: pool/restricted/n/nvidia-graphics-drivers-180/nvidia-glx-185_185.18.36-0ubuntu1_amd64.deb
Size: 16131132
MD5sum: c88d73fea858adea2d8ef5eef1fd468f
SHA1: a7c9844339ee28ef38fa5b39570852d73be6f28b
SHA256: 730a6bcf86899c6ea2a659bdd5bdcfe0b96371fcfa87624f01d0ec53b3743f29
Description: NVIDIA binary Xorg driver
 These binary drivers provide optimized hardware
 acceleration of OpenGL applications via a direct-rendering X Server.
 AGP, PCIe, SLI, TV-out and flat panel displays are also supported.
 .
 Please see the nvidia-185-kernel-source package for building the kernel module
 required by this package. This will provide nvidia-kernel-<version>

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

if i replace the #NEXTVER# terms in debian/control.in with #VERSION# i can now install all the dummy 180 packages alongside the 185 ones as expected since #VERSION# is RELEASE=185.18.36 in debian/upstream_info so the conflicts work out as with 180 packages <<185.18.36 which seems right to me. i might be mis-using these variables but it seems to make sense to me anyway

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Ubuntu-x-swat] [Bug 418681] Re: nvidia-glx-185 conflicts nvidia-glx-180 (<< 185.18.37) version is too high, this means that dummy package nvidia-glx-180 can't upgrade

On Thu, Aug 27, 2009 at 07:12:23AM -0000, Dinxter wrote:
> note the conflicts in apt-cache show nvidia-glx-185 with
> nvidia-glx-180 (<< 185.18.37)
>
> this seems to be #NEXTVER# from debian/upstream_info.
> In debian/control.in nvidia-glx-185 uses conflicts nvidia-glx-180 (<< #NEXTVER#)
> should this not just be <<#VERSION# ?

Ah, yes I think you may be on to it.

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

tried upgrading from previous 180 versions to new 180 and 185 versions with the changes and it seems to all work fine

Revision history for this message
Tony Espy (awe) wrote :

Two more comments...

1) The newer version of the nvidia-bl ( 0.22~jaunty ) package that I had installed was from the mactel support PPA ( lp:~mactel-support ).

2) Since upgrading to this new version, my Acer 26" monitor ( connected via mini-port to HDMI ) no longer work. I'll enter a separate bug for this...

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

This bug was fixed in the package nvidia-graphics-drivers-180 - 185.18.36-0ubuntu2

---------------
nvidia-graphics-drivers-180 (185.18.36-0ubuntu2) karmic; urgency=low

  * debian/control.in:
    - Attempt to clean up the provides/conflicts/replaces to only have
      currently valid package names (for Karmic) to avoid confusion.
    - For the transitional packages, don't conflict, so that they should
      be installable. (LP: #418681)

 -- Mario Limonciello <email address hidden> Fri, 28 Aug 2009 01:11:58 -0500

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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