Wrong dependencies

Bug #822768 reported by Removed by request
6
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using Ubuntu 11.10 dev with nvidia-current 280.13-0ubuntu1. Currently there are 2 bad depency-entries and the first one can cause the building process to fail:

 |Depends: linux-headers-generic
  Depends: <linux-headers>
    linux-headers-3.0.0-7
    linux-headers-3.0.0-7-generic
    linux-headers-3.0.0-7-server
    linux-headers-3.0.0-7-virtual

Dependend on the kernel the version in the dependencies can differ.

Without linux-headers-generic nvidia-current can't be build because linux-headers-3.0.0-7 can be installed without linux-headers-3.0.0-7-generic and linux-headers-generic. For reproducing: Install linux-headers-3.0.0-7 and remove linux-headers-3.0.0-7-generic and linux-headers-generic if installed. Now try to rebuild nvidia-current with dkms. The dependencies are succesfully resolved because linux-headers-3.0.0-7 is present but the building process will fail. The solution is to make nvidia-current only dependend to linux-headers-[generic|server|virtual].

Edit: I have made some tests now. It is even enough to install just linux-headers-3.0.0-7-generic instead of linux-headers-generic. But only linux-headers-3.0.0-7 is too less for the building process. So nvidia-current should depend on linux-headers-3.0.0-7-[generic|server|virtual]. Another solution is to remove linux-headers-3.0.0-7 from the virtual package <linux-headers> because the other 3 packages from it (linux-headers-3.0.0-7-[generic|server|virtual]) already depend on linux-headers-3.0.0-7. Maybe the entry should then look so:

  Depends: <linux-headers>
    linux-headers-3.0.0-7-generic
    linux-headers-3.0.0-7-server
    linux-headers-3.0.0-7-virtual

The second problem is only a minor one:

  Depends: <xorg-video-abi-10>
    xserver-xorg-core
  Depends: xserver-xorg-core

xorg-video-abi-10 is resolved to xserver-xorg-core but we have already such an entry. On of the both entries can be removed.

description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
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.