[14:37] tseliot: got a sec? our team ran into a nvidia/cuda problem that sounds simple but I wanted to ask you your opinion [14:38] jcastro: sure [14:40] tseliot: so we're installing the nvidia cuda bits for kubernetes on our nodes, but we're kind of hamfisting it so it's bringing in a ton of ubuntu desktop stuff which obviously fails when trying to install on a server [14:40] https://github.com/juju-solutions/layer-nvidia-cuda/blob/master/reactive/cuda.sh [14:41] we're not too familiar with packaging, so I think we're just kind of downloading a ton of stuff and splatting it on disk [14:41] so the question is, is there a way we can do GPU drivers without dragging in a bunch of desktop bits? [14:42] jcastro: what is it exactly that's failing? Seeing the actual error might help me understand things a little better [14:42] working on that now [14:44] https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/248 [14:44] so at some point in the dependency chain it brings in parts of unity [14:48] jcastro: err... dpkg: error processing package bluez [14:48] what does that have to do with nvidia? [14:48] right, by trying to install the cuda stuff it starts to bring in parts of the desktop [14:48] so it fails because there's no bluetooth on a server [14:49] I was hoping you would know how we can do an nvidia driver installation without bringing in all the other stuff, we're already doing a --no-install-recommends [14:49] jcastro: how do I reproduce the problem here? [14:49] tseliot: does your laptop have a GPU [14:50] mbruzek: I've never seen one without a GPU ;) [14:51] conjure-up --channel candidate kubernetes-core [14:51] You will have to snap install conjure-up --channel beta [14:53] error: snap "conjure-up" requires classic or confinement override [14:53] (the output of snap install conjure-up --channel beta) [14:53] tack a --classic on the command [14:54] ok [14:55] http://paste.ubuntu.com/24308435/ [14:55] looks like kos was able to get a full log [14:58] BTW things failed here http://pastebin.ubuntu.com/24320717/ [15:03] jcastro: it is still trying to install both nvidia-prime and nvidia-settings (which are only recommended by nvidia-375) [15:04] jcastro: because this is the command that installs nvidia: apt install -yqq --allow-downgrades --allow-remove-essential --allow-change-held-packages cuda [15:05] and there's no mention of not installing recommended dependencies there [15:05] aha! [15:06] it sounds like an easy fix [15:06] \o/ ok we'll try that [15:06] I was hoping there was just some cuda_headless magical deb somewhere heh. :) [15:06] :) [15:09] tseliot: so on 239 use --no-install-recommends ? [15:12] mbruzek: I'm not sure if apt supports that [15:12] changing it to apt-get [15:56] I hope everyone is running zesty by now and upgraded to the shiny new xserver 1.19.3 [16:51] ...if you backport that to 16.04, we will :P [16:55] later