← Back to team overview

desktop-packages team mailing list archive

[Bug 1401390] Re: apt-get install nvidia-331 triggers 691 packages to be installed

 

nvidia-331 recommends nvidia-prime, which is needed in order to get
hybrid graphics to work.

This said, I've just found out that simply rebuilding hwloc generates a
libhwloc-plugins package with the correct dependencies:

Depends: libc6 (>= 2.4), libltdl7 (>= 2.4.2), libopencl-1.1-1,
libpciaccess0, libxml2 (>= 2.7.4), ocl-icd-libopencl1 (>= 1.0) |
libopencl1, libhwloc5

This will make sure that libhwloc-plugins does the right thing by
pulling in ocl-icd-libopencl1.

** Also affects: hwloc (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: hwloc (Ubuntu)
       Status: New => In Progress

** Changed in: hwloc (Ubuntu)
   Importance: Undecided => High

** Changed in: hwloc (Ubuntu)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

** Changed in: nvidia-graphics-drivers-331 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu.
https://bugs.launchpad.net/bugs/1401390

Title:
  apt-get install  nvidia-331 triggers 691 packages to be installed

Status in hwloc package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers-331 package in Ubuntu:
  Invalid

Bug description:
  There appears to be a package dependency cascade that occurred approx
  12 hours ago.  Attempting to install libboost-all-dev causes this:  "0
  upgraded, 791 newly installed, 0 to remove and 3 not upgraded."

  The 791 packages include much of the gnome and kde desktops, a web
  browser, some chat clients, all of X11 .. which is crazy for a package
  needed to compile C++ programs for a server.

  I traced the dependencies: its a rather long, boring chain ... it
  depends on stuff which depends on  libboost-mpi1.54.0  which causes
  694 packages to be installed

  Tracing through eventually leads to  libhwloc5 which seems like it
  should be harmless ..  but that leads to libopencl1  which is a
  virtual package.  If you recall, opencl is a GPU general-purpose-
  computing thing, so, unsurprisingly, we see a dependence on nvidia:

  Package libopencl1 is a virtual package provided by:
    nvidia-libopencl1-331-updates 331.113-0ubuntu0.0.4
    nvidia-libopencl1-331 331.113-0ubuntu0.0.4
    nvidia-libopencl1-304-updates 304.125-0ubuntu0.0.1
    nvidia-libopencl1-304 304.125-0ubuntu0.0.1
    ocl-icd-libopencl1 2.1.3-4

  Next: apt-get  install nvidia-libopencl1-331-updates  results in: 0
  upgraded, 681 newly installed, 0 to remove and 3 not upgraded.

  Tracing through that, we get to  nvidia-331-updates  which requires nvidia-prime which causes this:  
  0 upgraded, 696 newly installed, 0 to remove and 3 not upgraded.

  This is on a server that doesn't have a graphics card ..

  It appears that nvidia-prime is the prime suspect, here: somehow,
  libhwloc5 , through libopencl, requies nvidia drivers  to be
  installed, but the nvidia drivers require a package that cause the
  gnome+kde desktops to be installed ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hwloc/+bug/1401390/+subscriptions