<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"><div><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">Quoting Benoit GEORGELIN - Association Web4all (benoit.georgelin@web4all.fr):<br></blockquote></div><div><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">> Hi all, <br>> <br>> I was wondering how the version of LXD / LXC is working. <br>> I'm not able to understand if i'm running the latest version of LXD / LXC <br>> <br>> Here is what I have on my system : <br>> lxc --version <br>> 2.5 <br><br>This is the lxc tool, which comes from lxd, and<br><br>> lxd --version <br>> 2.0.5 <br><br>this is the lxd daemon, which also comes from lxd, but<br><br>> Here are the version online on linuxcontainers website it's the opposite . <br>> <br>> LXC <br>> https://linuxcontainers.org/lxc/downloads/ <br>> <br>> lxc-2.0.5.tar.gz <br><br>this is the lxc tarball, providing lxc-* tools.<br><br>> LXD <br>> https://linuxcontainers.org/lxd/downloads/ <br>> <br>> lxd-2.5.tar.gz <br>> <br>> <br>> Looks weird no ? Or am I missing something <br><br>The lxd daemon in your path is out of date. What does whereis lxd<br>show?<br>_______________________________________________<br>lxc-users mailing list<br>lxc-users@lists.linuxcontainers.org<br>http://lists.linuxcontainers.org/listinfo/lxc-users</blockquote><br><div>Hi serge , thanks for the explanations </div><br><div>Here is the output :</div><br><div>whereis lxd<br>lxd: /usr/bin/lxd /usr/lib/lxd /usr/share/man/man1/lxd.1.gz<br></div><br><div>And more information about the system:</div><br><div>Operating System: Ubuntu 16.04.1 LTS<br> Kernel: Linux 4.4.0-45-generic<br> Architecture: x86-64<br></div><br><div>---</div><div>dpkg -l |grep lxd<br>ii lxd 2.0.5-0ubuntu1~ubuntu16.04.1 amd64 Container hypervisor based on LXC - daemon<br>ii lxd-client 2.5-0ubuntu1~ubuntu16.04.1~ppa1 amd64 Container hypervisor based on LXC - client</div><div><br>dpkg -l |grep lxc<br>ii liblxc1 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (library)<br>ii lxc-common 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (common tools)<br>ii lxc-templates 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (templates)<br>ii lxc1 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools<br>ii lxcfs 2.0.4-0ubuntu1~ubuntu16.04.1 amd64 FUSE based filesystem for LXC<br>ii python3-lxc 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (Python 3.x bindings)<br></div><br><div>dpkg --get-selections|grep lxd<br>lxd install<br>lxd-client install<br></div><br><div>dpkg --get-selections|grep lxc<br>liblxc1 install<br>lxc-common install<br>lxc-templates install<br>lxc1 install<br>lxcfs install<br>python3-lxc install<br></div><br><div>If i do an apt update , the system says that it will keep lxd : </div><br><div>apt-get -V -s upgrade<br>Lecture des listes de paquets... Fait<br>Construction de l'arbre des dépendances <br>Lecture des informations d'état... Fait<br>Calcul de la mise à jour... Fait<br>Les paquets suivants ont été conservés :<br> linux-generic (4.4.0.45.48 => 4.4.0.47.50)<br> linux-headers-generic (4.4.0.45.48 => 4.4.0.47.50)<br> linux-image-generic (4.4.0.45.48 => 4.4.0.47.50)<br> lxd (2.0.5-0ubuntu1~ubuntu16.04.1 => 2.5-0ubuntu1~ubuntu16.04.1~ppa1)<br></div><br><div>but if I upgrade the packet , looks like it will be updated to the last version : <br></div><br><div>lxd (2.0.5-0ubuntu1~ubuntu16.04.1 => 2.5-0ubuntu1~ubuntu16.04.1~ppa1)<br></div><br><div>I did not pay attention before. </div><div>Do you have an idea why ?</div><br><div>Thanks for leading me in the right direction </div><br><br><br><br></div></div><br>_______________________________________________<br>lxc-users mailing list<br>lxc-users@lists.linuxcontainers.org<br>http://lists.linuxcontainers.org/listinfo/lxc-users</blockquote><div><br></div><div>Looks like it was because of my (old) apt.sources.list</div><div><br data-mce-bogus="1"></div><div>/etc/apt/sources.list.d# ls<br>ubuntu-lxc-ubuntu-lxd-git-master-wily.list ubuntu-lxc-ubuntu-lxd-stable-wily.list ubuntu-lxc-ubuntu-lxd-stable-wily.list.save<br>ubuntu-lxc-ubuntu-lxd-git-master-wily.list.distUpgrade ubuntu-lxc-ubuntu-lxd-stable-wily.list.distUpgrade<br></div><br></div></div></body></html>