[Lxc-users] Running the latest LXC version

Fajar A. Nugraha list at fajar.net
Mon Aug 12 08:19:35 UTC 2013


On Mon, Aug 12, 2013 at 9:32 AM, Kevin LaTona <lists at studiosola.com> wrote:

>
> Currently I am using LXC 0.7.5.3.
>
> Looking at the kernel used in my version of 12.04 I see it's using
> 3.5.0.37 which is the same kernel used in 12.10.
>
>
There's also 3.8.0.27.27 from linux-generic-lts-raring. You're probably
using linux-generic-lts-quantal that comes from the install CD.
12.04 has many versions of supported kernels.



>
> The point for all of this is I am trying to figure out how to move in or
> out what versions of LXC I want vs what the apt-get repository is set at.
>
>
Short version? You can't. Not easily anyway.


> Not sure why it's so hard and or how to get around these presets.
>
>
Supporting multiple kernels is usually easier than supporting multiple
versions of userland programs on the same distro version, since with
kernels you won't have library linking issues. Plus the effort is easily
justified by the need to support newer hardware. With userland software
(e.g. lxc tools), the effort required usually outweights the benefits, so
you can't find it easily.

>From your questions, I assume you're not familiar with building packages
from source, or package pinning, so I'd say don't bother. Really. It's MUCH
more hassle than what it's worth. Either use the bundled lxc version, or
the daily ppa.

If you want a specific version anyway, and want it to be automatically
updated when you run "apt-get upgrade", you might be able to use raring's
version with pinning: https://help.ubuntu.com/community/PinningHowto . I
don't recommend this as this can EASILY break your system if you
misconfigure something.

Usually it's easier to just install lxc packages from raring (e.g. by
downloading from
http://packages.ubuntu.com/search?suite=raring-updates&searchon=names&keywords=lxc
)
manually, since you'd only need around four packages. If things go wrong,
uninstall only the new packages manually (e.g. dpkg -r --force-all), then
reinstall precise's version using apt-get.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130812/09cd0ade/attachment.html>


More information about the lxc-users mailing list