desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #88005
[Bug 1401390] Re: apt-get install nvidia-331 triggers 691 packages to be installed
I tested with utopic-proposed as well.
installing libhwloc-dev installed 19 total packages from a fresh docker
image.
These were the packages:
# dpkg -l | grep hwloc
ii libhwloc-dev:amd64 1.8-1ubuntu1.14.10.1 amd64 Hierarchical view of the machine - static libs and headers
ii libhwloc-plugins 1.8-1ubuntu1.14.10.1 amd64 Hierarchical view of the machine - plugins
ii libhwloc5:amd64 1.8-1ubuntu1.14.10.1 amd64 Hierarchical view of the machine - shared libs
New dependency tree
# apt-get install libhwloc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libc-dev-bin libc6 libc6-dev libhwloc-plugins libhwloc5 libltdl7 libnuma1 libpci-dev libpci3 libpciaccess0 libxml2 libxml2-dev linux-libc-dev manpages
manpages-dev ocl-icd-libopencl1 sgml-base xml-core zlib1g-dev
Suggested packages:
glibc-doc libhwloc-contrib-plugins pciutils pkg-config man-browser opencl-icd sgml-base-doc debhelper
The following NEW packages will be installed:
libc-dev-bin libc6-dev libhwloc-dev libhwloc-plugins libhwloc5 libltdl7 libnuma1 libpci-dev libpci3 libpciaccess0 libxml2 libxml2-dev linux-libc-dev
manpages manpages-dev ocl-icd-libopencl1 sgml-base xml-core zlib1g-dev
The following packages will be upgraded:
libc6
1 upgraded, 19 newly installed, 0 to remove and 24 not upgraded.
Need to get 11.8 MB of archives.
After this operation, 27.0 MB of additional disk space will be used.
I tested a baseline with the original and the problem was not as large as on trusty.
# dpkg -l | grep hwloc
ii libhwloc-dev:amd64 1.8-1ubuntu1 amd64 Hierarchical view of the machine - static libs and headers
ii libhwloc-plugins 1.8-1ubuntu1 amd64 Hierarchical view of the machine - plugins
ii libhwloc5:amd64 1.8-1ubuntu1 amd64 Hierarchical view of the machine - shared libs
Old dependency tree:
# apt-get install libhwloc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils cpp cpp-4.9 dkms fakeroot fglrx-updates-core gcc gcc-4.9 lib32gcc1
libasan1 libatomic1 libc-dev-bin libc6 libc6-dev libc6-i386 libcilkrts5
libcloog-isl4 libfakeroot libgcc-4.9-dev libgomp1 libhwloc-plugins libhwloc5
libisl10 libitm1 liblsan0 libltdl7 libmpc3 libmpfr4 libnuma1 libpci-dev
libpci3 libpciaccess0 libquadmath0 libtsan0 libubsan0 libxml2 libxml2-dev
linux-libc-dev make manpages manpages-dev patch sgml-base xml-core
zlib1g-dev
Suggested packages:
binutils-doc cpp-doc gcc-4.9-locales dpkg-dev debhelper gcc-multilib
autoconf automake libtool flex bison gdb gcc-doc gcc-4.9-multilib
gcc-4.9-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg
liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg
glibc-doc libhwloc-contrib-plugins pciutils pkg-config make-doc man-browser
ed diffutils-doc sgml-base-doc
The following NEW packages will be installed:
binutils cpp cpp-4.9 dkms fakeroot fglrx-updates-core gcc gcc-4.9 lib32gcc1
libasan1 libatomic1 libc-dev-bin libc6-dev libc6-i386 libcilkrts5
libcloog-isl4 libfakeroot libgcc-4.9-dev libgomp1 libhwloc-dev
libhwloc-plugins libhwloc5 libisl10 libitm1 liblsan0 libltdl7 libmpc3
libmpfr4 libnuma1 libpci-dev libpci3 libpciaccess0 libquadmath0 libtsan0
libubsan0 libxml2 libxml2-dev linux-libc-dev make manpages manpages-dev
patch sgml-base xml-core zlib1g-dev
The following packages will be upgraded:
libc6
1 upgraded, 45 newly installed, 0 to remove and 24 not upgraded.
Need to get 59.3 MB of archives.
After this operation, 226 MB of additional disk space will be used.
** Tags removed: verification-needed
** Tags added: verification-done verification-done-utopic
--
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:
Fix Committed
Status in nvidia-graphics-drivers-331 package in Ubuntu:
Invalid
Status in hwloc source package in Trusty:
Fix Committed
Status in nvidia-graphics-drivers-331 source package in Trusty:
Invalid
Status in hwloc source package in Utopic:
Fix Committed
Status in nvidia-graphics-drivers-331 source package in Utopic:
Invalid
Bug description:
SRU request:
Please accept hwloc into trusty-proposed.
[Rationale]
The libhwloc-plugins package need to depend on ocl-icd-libopencl1 (>= 1.0) | libopencl1 rather than just on libopencl1, since the nvidia driver provides libopencl1 too now.
[Impact]
Without a rebuild, the libhwloc-plugins package will pull in the nvidia driver and a massive amount of packages which are not needed (or even recommended). ocl-icd-libopencl1 is the only recommended loader, as NVIDIA's only work with the nvidia driver.
[Test Case]
After installing the update, users should be able to install libhwloc-plugins without having nvidia-331 installed as a dependency
[Regression Potential]
Low. This is a mere no change rebuild. We only need to make sure that all the newly generated dependencies do not affect the system.
----------------------------
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