[Lxc-users] Running the latest LXC version

Michael Fox michaelf at heimic.net
Mon Aug 12 23:05:26 UTC 2013


Thanks for sharing Kevin. This will be handy information.


On Tue, Aug 13, 2013 at 8:53 AM, Kevin LaTona <lists at studiosola.com> wrote:

>
> Fajar,
>
> Thanks for your thoughts and ideas.
>
>  PPA/Daily is a bit to cutting edge for my needs right now and I was just
> not in the mood to compile from raw source.
>
> -Kevin
>
>
>
>
> For anyone else who might come upon this email at a latter date I did find
> 2 other ways to solve this problem.
>
> This easiest way I found to get at the most current version of LXC that
> appears to be in lock step with my current kernel version was.
>
> sudo apt-get install -t precise-backports lxc
>
>
>
>
>
> I also found out you can also install from the ppa/ stable repo by doing
>
> sudo apt-add-repository ppa:ubuntu-lxc/stable
>
> sudo apt-get update
>
> sudo apt-get install lxc
>
> The ppa/stable version I found still was a bit older than the back port
> version but darn close.
>
>
>
>
> I rebooted the server.
>
> And to verify the current running version call:
>
>
> dpkg -l | grep lxc
>
> uname -r
>
>
>
>
>
>
>
>
> On Aug 12, 2013, at 1:19 AM, Fajar A. Nugraha <list at fajar.net> wrote:
>
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130813/8f4d6ac5/attachment.html>


More information about the lxc-users mailing list