On Mon, 2018-01-22 at 21:34 +0100, Andreas Beckmann wrote: > On 2018-01-22 21:22, Luca Boccassi wrote: > > Primus is in main so it can't have a dependency. It's not nice as > > the > > problem is not caused by bumblebee, but I'll add a dependency in > > bumblebee-nvidia to nvidia-driver-libs-nonglvnd which will solve > > the > > problem of switching. > > > > Installing from scratch is already solved by the Breaks in primus. > > primus could break nvidia-driver-libs to make this more direct and > suggest nvidia-driver-libs-nonglvnd as an alternative. > > Andreas
I've added the break, but a suggest is not enough to make apt wisen up, even when adding bumblebee-nvidia which depends on nvidia-driver: # apt install /tmp/primus-libs_0~20150328-6_amd64.deb /tmp/primus_0~20150328-6_amd64.deb bumblebee-nvidia Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'primus-libs' instead of '/tmp/primus-libs_0~20150328-6_amd64.deb' Note, selecting 'primus' instead of '/tmp/primus_0~20150328-6_amd64.deb' The following additional packages will be installed: bbswitch-dkms bumblebee keyboard-configuration libdbus-1-3 libepoxy0 libfontenc1 libfreetype6 libgbm1 libgl1-mesa-glx libice6 libpixman-1-0 libpng16-16 libsm6 libwayland-server0 libwrap0 libxaw7 libxfont2 libxkbfile1 libxmu6 libxpm4 libxt6 nvidia-kernel-dkms nvidia-kernel-support socat x11-common x11-xkb-utils xkb-data xserver-common xserver-xorg-core Suggested packages: nvidia-driver-libs-nonglvnd xfonts-100dpi | xfonts-75dpi xfonts-scalable Recommended packages: dbus nvidia-driver | libcuda1 primus-libs-ia32 xfonts-base xauth libpam-systemd The following packages will be REMOVED: libgl1-nvidia-glvnd-glx nvidia-driver-libs The following NEW packages will be installed: bbswitch-dkms bumblebee bumblebee-nvidia keyboard-configuration libdbus-1-3 libepoxy0 libfontenc1 libfreetype6 libgbm1 libgl1-mesa-glx libice6 libpixman-1-0 libpng16-16 libsm6 libwayland-server0 libwrap0 libxaw7 libxfont2 libxkbfile1 libxmu6 libxpm4 libxt6 nvidia-kernel-dkms nvidia-kernel-support primus primus-libs socat x11-common x11-xkb-utils xkb-data xserver-common xserver-xorg-core I can add it anyway, as it won't hurt. -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part