<div dir="ltr"><div><div>Btw, Kir, there is no version anymore in uname -a.<br><br>Could you fix this at least to display current version, e.g. instead of:<br><br># uname -r<br>2.6.32-openvz-amd64<br><br></div>display:<br>
# uname -r<br>2.6.32-openvz-042stab084.17-amd64<br><br><br></div><div>and also consider reverting to the old system if you can..<br></div><div><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2014-03-07 18:45 GMT+04:00 Narcis Garcia <span dir="ltr">&lt;<a href="mailto:informatica@actiu.net" target="_blank">informatica@actiu.net</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think that is a good strategy to have a main package to be manually<br>
installed:<br>
linux-image-openvz-amd64<br>
linux-image-openvz-686<br>
<br>
But fully versioned as its dependencies (042stab084.26)<br>
And with a dependency to a version-named package, such as:<br>
linux-image-2.6.32-42.84.26-openvz-amd64<br>
<br>
In this way, upgrading the main package this will install the new<br>
versions of dependencies. I think that this is the way Debian works, and<br>
this allows to have old and new files installed simultaneously.<br>
<br>
To have the old and new kernels allow to test new one before removing<br>
old one.<br>
<br>
<br>
El 07/03/14 02:28, Kir Kolyshkin ha escrit:<br>
<div class="">&gt; On 03/02/2014 02:01 PM, spameden wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
</div><div class="">&gt;&gt; 2014-03-03 0:38 GMT+04:00 Ola Lundqvist &lt;<a href="mailto:ola@inguza.com">ola@inguza.com</a><br>
</div>&gt;&gt; &lt;mailto:<a href="mailto:ola@inguza.com">ola@inguza.com</a>&gt;&gt;:<br>
<div class="">&gt;&gt;<br>
&gt;&gt;     Hi<br>
&gt;&gt;<br>
&gt;&gt;     Problem fixed now.<br>
&gt;&gt;     I had fixed the problem temporarily, but I had forgotten to<br>
&gt;&gt;     upgrade to the debarchiver version with the fix so it will not<br>
&gt;&gt;     happen again. Now I have done the upgrade and fixed the problem<br>
&gt;&gt;     properly.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I think it&#39;s not fixed properly:<br>
&gt;&gt;<br>
&gt;&gt; 1) wrong version of linux-image:<br>
&gt;&gt; # dpkg -l|grep linux-image-openvz<br>
&gt;&gt; ii  linux-image-openvz-amd64<br>
&gt;&gt; 042+1                         amd64        OpenVZ Linux kernel<br>
&gt;&gt; (meta-package)<br>
&gt;&gt;<br>
&gt;&gt; 2) # ls /boot |grep openvz<br>
&gt;&gt; config-2.6.32-openvz-042stab084.17-amd64<br>
</div>&gt;&gt; *config-2.6.32-openvz-amd64*<br>
&gt;&gt; initrd.img-2.6.32-openvz-042stab084.17-amd64<br>
&gt;&gt; *initrd.img-2.6.32-openvz-amd64*<br>
&gt;&gt; System.map-2.6.32-openvz-042stab084.17-amd64<br>
&gt;&gt; *System.map-2.6.32-openvz-amd64*<br>
&gt;&gt; vmlinuz-2.6.32-openvz-042stab084.17-amd64<br>
&gt;&gt; *vmlinuz-2.6.32-openvz-amd64*<br>
<div class="">&gt;&gt;<br>
&gt;&gt; so now we are missing usual version here in the package.. that&#39;s<br>
&gt;&gt; actually very bad ... can you look into it?<br>
&gt;&gt;<br>
&gt;&gt; many thanks.<br>
&gt;<br>
</div><div class="">&gt; This is intentional, and I changed it after looking into how default<br>
&gt; Debian kernel is packaged/versioned.<br>
&gt;<br>
&gt; If you take a look, they have [meta]package linux-image-amd64 which requires<br>
&gt; package linux-image-3.2.0-4-amd64. The latter (currently) has a version of<br>
&gt; 3.2.54-2 and this version is changed (incremented) with every release, while<br>
&gt; package name stays the same (linux-image-3.2.0-4-amd64). Also, vzkernel<br>
&gt; name stays the same -- it is /boot/vmlinuz-3.2.0-4-amd64 in different<br>
&gt; versions.<br>
&gt; I am using the very same approach now for OpenVZ kernels.<br>
&gt;<br>
</div><div class="">&gt; Previously I was adding the VZ version (i.e. 042stab0xy.z) into kernel<br>
&gt; package name,<br>
&gt; and it was added to vmlinuz and the /lib/modules directory name as well.<br>
</div><div class="">&gt; The problem<br>
&gt; is, you need to specify a different dependency in<br>
&gt; linux-image-openvz-amd64 metapackage,<br>
&gt; and apt-get upgrade complains that it can&#39;t upgrade the system since a<br>
&gt; new version<br>
&gt; of an installed package (linux-image-amd64) requires a package that is<br>
&gt; not installed yet.<br>
&gt; The problem could be fixed by running dist-upgrade, but eventually I<br>
&gt; decided that<br>
&gt; this message is a hint that I package openvz kernels improperly, that<br>
&gt; lead me to<br>
&gt; looking into a way standard Debian kernels are packaged and implementing it<br>
&gt; the same way for OpenVZ kernels.<br>
&gt;<br>
</div><div class="">&gt; I am not a Debian guru and am very open to suggestions on how to improve<br>
&gt; this.<br>
&gt; Perhaps we can return to the older versioning scheme and ask people to<br>
&gt; use dist-upgrade.<br>
&gt; Or maybe I am totally missing something. Please help.<br>
&gt;<br>
</div>&gt; Kir.<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>