On 26 February 2016 at 04:59, Horacio Duran <[email protected]>
wrote:

> be aware though, iirc that ppa replaces your go version with 1.6 (or used
> to) which can mess your env if you are using go from ubuntu.
>

With a bit of apt configuration you can use the lxd stable PPA without
pulling in its Go 1.6 packages.

Here's what I did:

$ cat /etc/apt/preferences.d/lxd-stable-pin
Package:  *
Pin: release o=LP-PPA-ubuntu-lxc-lxd-stable
Pin-Priority: 200

Package: lxd lxd-tools lxd-client lxcfs lxc-templates lxc cgmanager
libcgmanager0 libseccomp2
Pin: release o=LP-PPA-ubuntu-lxc-lxd-stable
Pin-Priority: 500

The main problem with this approach is that you have to explicitly specify
the package names you do want to use, which will be a problem if package
names change or extra packages are added. Maybe someone with more apt foo
than me knows a better way.

- Menno
-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to