<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 13/12/2018 07:27, Rajiv Telang
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMm91E1uh++sC9Lz9PUFPryB8oXet4Lat9hZqS5RB0pkBsxLGA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
I recently created ubuntu 16.04 box and trying
to install 3.0.2-0ubuntu4~16.04.1 on it. Below
are the steps that I ran.<br>
<snip><br>
</div>
4. Tried this command to install 3.0.2<br>
<div><i> <b>sudo apt-get install
lxc=3.0.2-0ubuntu4~16.04.1</b><br>
</i></div>
<div>
<div style="margin-left:40px">And got below
error<i><br>
Reading package lists... Done<br>
Building dependency tree <br>
Reading state information... Done<br>
Some packages could not be installed. This
may mean that you have<br>
requested an impossible situation or if you
are using the unstable<br>
distribution that some required packages
have not yet been created<br>
or been moved out of Incoming.<br>
The following information may help to
resolve the situation:<br>
<br>
The following packages have unmet
dependencies:<br>
<b> lxc : Depends: lxc-utils (>=
3.0.2-0ubuntu4~16.04.1) but it is not
going to be installed</b><br>
E: Unable to correct problems, you have held
broken packages.</i><br>
</div>
<div style="text-align:left"><snip><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<blockquote type="cite"
cite="mid:CAMm91E1uh++sC9Lz9PUFPryB8oXet4Lat9hZqS5RB0pkBsxLGA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div style="text-align:left">I tried to install
the lxc-utils as well but unable to get to lxc
3.0.2. Is there a way to install it on ubuntu
16.04?</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p><tt>You need to enable the xenial-backports repository in the
install process with more priority. apt policy is saying that
backports have *less* priority that the updates and security
repository. <br>
</tt></p>
<p><tt>if i do this</tt></p>
<p><tt><i><b>apt policy lxc -t xenial-backports</b></i></tt></p>
<p><tt>i get this:<br>
<b></b><i><b></b></i></tt></p>
<p><tt>lxc:<br>
Installed: (none)<br>
Candidate: 3.0.2-0ubuntu4~16.04.1<br>
Version table:<br>
3.0.2-0ubuntu4~16.04.1 990<br>
990 <a class="moz-txt-link-freetext" href="http://archive.ubuntu.com/ubuntu">http://archive.ubuntu.com/ubuntu</a>
xenial-backports/main amd64 Packages<br>
2.0.8-0ubuntu1~16.04.2 500<br>
500 <a class="moz-txt-link-freetext" href="http://archive.ubuntu.com/ubuntu">http://archive.ubuntu.com/ubuntu</a> xenial-updates/main
amd64 Packages<br>
2.0.7-0ubuntu1~16.04.2 500<br>
500 <a class="moz-txt-link-freetext" href="http://security.ubuntu.com/ubuntu">http://security.ubuntu.com/ubuntu</a>
xenial-security/main amd64 Packages<br>
2.0.0-0ubuntu2 500<br>
500 <a class="moz-txt-link-freetext" href="http://archive.ubuntu.com/ubuntu">http://archive.ubuntu.com/ubuntu</a> xenial/main amd64
Packages</tt></p>
<p><tt>You will see that now 3.0.2 have more priority and you can
do:</tt></p>
<p><tt><i><b>sudo apt install lxc=3.0.2-0ubuntu4~16.04.1 -t
xenial-backports</b></i></tt></p>
<p><tt><br>
</tt></p>
<p><tt>and lxc 3 will be installed cleanly in your xenial machine.<br>
</tt></p>
<pre class="moz-signature" cols="72">--
Yonsy Solis</pre>
</body>
</html>