/srv/irclogs.ubuntu.com/2017/04/05/#ubuntu-x.txt

jcastrotseliot: got a sec? our team ran into a nvidia/cuda problem that sounds simple but I wanted to ask you your opinion14:37
tseliotjcastro: sure14:38
jcastrotseliot: 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 server14:40
jcastrohttps://github.com/juju-solutions/layer-nvidia-cuda/blob/master/reactive/cuda.sh14:40
jcastrowe're not too familiar with packaging, so I think we're just kind of downloading a ton of stuff and splatting it on disk14:41
jcastroso the question is, is there a way we can do GPU drivers without dragging in a bunch of desktop bits?14:41
tseliotjcastro: what is it exactly that's failing? Seeing the actual error might help me understand things a little better14:42
jcastroworking on that now14:42
jcastrohttps://github.com/juju-solutions/bundle-canonical-kubernetes/issues/24814:44
jcastroso at some point in the dependency chain it brings in parts of unity14:44
tseliotjcastro: err... dpkg: error processing package bluez14:48
tseliotwhat does that have to do with nvidia?14:48
jcastroright, by trying to install the cuda stuff it starts to bring in parts of the desktop14:48
jcastroso it fails because there's no bluetooth on a server14:48
jcastroI 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-recommends14:49
tseliotjcastro: how do I reproduce the problem here?14:49
mbruzektseliot: does your laptop have a GPU14:49
tseliotmbruzek: I've never seen one without a GPU ;)14:50
mbruzekconjure-up --channel candidate kubernetes-core14:51
mbruzekYou will have to snap install conjure-up --channel beta14:51
tselioterror: snap "conjure-up" requires classic or confinement override14:53
tseliot(the output of snap install conjure-up --channel beta)14:53
jcastrotack a --classic on the command14:53
tseliotok14:54
jcastrohttp://paste.ubuntu.com/24308435/14:55
jcastrolooks like kos was able to get a full log14:55
tseliotBTW things failed here http://pastebin.ubuntu.com/24320717/14:58
tseliotjcastro: it is still trying to install both nvidia-prime and nvidia-settings (which are only recommended by nvidia-375) 15:03
tseliotjcastro: because this is the command that installs nvidia: apt install -yqq --allow-downgrades --allow-remove-essential --allow-change-held-packages cuda15:04
tseliotand there's no mention of not installing recommended dependencies there15:05
jcastroaha!15:05
tseliotit sounds like an easy fix15:06
jcastro\o/ ok we'll try that15:06
jcastroI was hoping there was just some cuda_headless magical deb somewhere heh. :)15:06
tseliot:)15:06
mbruzektseliot: so on 239 use --no-install-recommends ?15:09
tseliotmbruzek: I'm not sure if apt supports that15:12
mbruzekchanging it to apt-get15:12
tjaaltonI hope everyone is running zesty by now and upgraded to the shiny new xserver 1.19.315:56
alkisg...if you backport that to 16.04, we will :P16:51
tjaaltonlater16:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!