[lxc-users] Version LXD / LXC

Benoit GEORGELIN - Association Web4all benoit.georgelin at web4all.fr
Mon Nov 14 00:26:51 UTC 2016


>> Quoting Benoit GEORGELIN - Association Web4all (benoit.georgelin at web4all.fr):

>> > Hi all,

>> > I was wondering how the version of LXD / LXC is working.
>> > I'm not able to understand if i'm running the latest version of LXD / LXC

>> > Here is what I have on my system :
>> > lxc --version
>> > 2.5

>> This is the lxc tool, which comes from lxd, and

>> > lxd --version
>> > 2.0.5

>> this is the lxd daemon, which also comes from lxd, but

>> > Here are the version online on linuxcontainers website it's the opposite .

>> > LXC
>> > https://linuxcontainers.org/lxc/downloads/

>> > lxc-2.0.5.tar.gz

>> this is the lxc tarball, providing lxc-* tools.

>> > LXD
>> > https://linuxcontainers.org/lxd/downloads/

>> > lxd-2.5.tar.gz


>> > Looks weird no ? Or am I missing something

>> The lxd daemon in your path is out of date. What does whereis lxd
>> show?
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> Hi serge , thanks for the explanations

> Here is the output :

> whereis lxd
> lxd: /usr/bin/lxd /usr/lib/lxd /usr/share/man/man1/lxd.1.gz

> And more information about the system:

> Operating System: Ubuntu 16.04.1 LTS
> Kernel: Linux 4.4.0-45-generic
> Architecture: x86-64

> ---
> dpkg -l |grep lxd
> ii lxd 2.0.5-0ubuntu1~ubuntu16.04.1 amd64 Container hypervisor based on LXC -
> daemon
> ii lxd-client 2.5-0ubuntu1~ubuntu16.04.1~ppa1 amd64 Container hypervisor based
> on LXC - client

> dpkg -l |grep lxc
> ii liblxc1 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace
> tools (library)
> ii lxc-common 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace
> tools (common tools)
> ii lxc-templates 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers
> userspace tools (templates)
> ii lxc1 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools
> ii lxcfs 2.0.4-0ubuntu1~ubuntu16.04.1 amd64 FUSE based filesystem for LXC
> ii python3-lxc 2.0.5-0ubuntu3~ubuntu16.04.1~ppa1 amd64 Linux Containers
> userspace tools (Python 3.x bindings)

> dpkg --get-selections|grep lxd
> lxd install
> lxd-client install

> dpkg --get-selections|grep lxc
> liblxc1 install
> lxc-common install
> lxc-templates install
> lxc1 install
> lxcfs install
> python3-lxc install

> If i do an apt update , the system says that it will keep lxd :

> apt-get -V -s upgrade
> Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendances
> Lecture des informations d'état... Fait
> Calcul de la mise à jour... Fait
> Les paquets suivants ont été conservés :
> linux-generic (4.4.0.45.48 => 4.4.0.47.50)
> linux-headers-generic (4.4.0.45.48 => 4.4.0.47.50)
> linux-image-generic (4.4.0.45.48 => 4.4.0.47.50)
> lxd (2.0.5-0ubuntu1~ubuntu16.04.1 => 2.5-0ubuntu1~ubuntu16.04.1~ppa1)

> but if I upgrade the packet , looks like it will be updated to the last version
> :

> lxd (2.0.5-0ubuntu1~ubuntu16.04.1 => 2.5-0ubuntu1~ubuntu16.04.1~ppa1)

> I did not pay attention before.
> Do you have an idea why ?

> Thanks for leading me in the right direction

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
Looks like it was because of my (old) apt.sources.list 

/etc/apt/sources.list.d# ls 
ubuntu-lxc-ubuntu-lxd-git-master-wily.list ubuntu-lxc-ubuntu-lxd-stable-wily.list ubuntu-lxc-ubuntu-lxd-stable-wily.list.save 
ubuntu-lxc-ubuntu-lxd-git-master-wily.list.distUpgrade ubuntu-lxc-ubuntu-lxd-stable-wily.list.distUpgrade 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161114/05ff4f6e/attachment-0001.html>


More information about the lxc-users mailing list