<div dir="ltr"><div><div>I can confirm there is an issue in upgrading on wheezy (stable).<br><br></div>It uses linux-image-openvz-amd64                          042+1 instead of the regular version and generates /boot/vmlinuz-2.6.32-openvz-amd64 instead of the prefixed version, i.e.: /boot/vmlinuz-2.6.32-openvz-042stab084.17-amd64<br>
<br></div>Could you guy look into it and fix it completely, so upgrades will go fine and not break anything?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-26 21:21 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">These may be alternatives for version numbering (I&#39;ve tested them with<br>
dpkg --compare-versions):<br>
<br>
As a complete upstream version:<br>
42.85.20<br>
Combining old and new schema:<br>
042+stab085.20<br>
<br>
<br>
El 26/03/14 17:07, Roman Haefeli ha escrit:<br>
<div class="im HOEnZb">&gt; On Mon, 2014-03-24 at 09:40 -0700, Kir Kolyshkin wrote:<br>
</div><div class="im HOEnZb">&gt;&gt; Thank you for detailed position. I have already rolled back to the old<br>
&gt;&gt; versioning scheme,<br>
&gt;&gt; please check packages in wheezy-test and let me know if anything is<br>
&gt;&gt; wrong there.<br>
&gt;<br>
</div><div class="im HOEnZb">&gt; Things look pretty good in wheezy-test. Thanks for the work.<br>
&gt;<br>
&gt; Two minor issues:<br>
&gt;<br>
&gt; * There is still no changelog of the kernel in the package (or<br>
&gt;   I cannot find it, usually it goes to something like:<br>
&gt;   /usr/share/doc/linux-image-2.6.32-openvz-042stab085.20-amd64/changelog.Debian.gz<br>
&gt;<br>
&gt; * The version of the meta package linux-image-openvz-amd64 is higher<br>
&gt;   (042+1) in wheezy than in wheezy-test (042stab085.20). When switching<br>
&gt;   from wheezy to wheezy-test, one has to remove and re-install the<br>
&gt;   package linux-image-openvz-amd64 in order to automatically install the<br>
&gt;   newest kernel packagelinux-image-2.6.32-openvz-042stab085.20-amd64<br>
&gt;<br>
&gt; I&#39;m not sure how to resolve the latter problem or whether it should be<br>
&gt; addressed at all (switching from wheezy to wheezy-test can considered to<br>
&gt; be one time thing). However, once the the current wheezy-test<br>
&gt; linux-image-openvz-amd64  goes to wheezy, there is a problem because you<br>
&gt; cannot downgrade packages. Either the version needs to be bumped with an<br>
&gt; epoch version [1] like 1:042stab085.20 (ugly) or the versioning scheme<br>
&gt; needs to be adapted (perhaps also ugly), but how? I can&#39;t think of a<br>
&gt; truly satisfying solution right now.<br>
&gt;<br>
&gt; [1] <a href="https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version" target="_blank">https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version</a><br>
&gt;<br>
&gt;<br>
&gt; Roman<br>
&gt;<br>
&gt;<br>
</div><div class="HOEnZb"><div class="h5">&gt;&gt; On 03/24/2014 09:04 AM, Roman Haefeli wrote:<br>
&gt;&gt;&gt; Hi all, Ola<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I followed the recent discussion about OpenVZ kernel package management<br>
&gt;&gt;&gt; for Debian. While I don&#39;t really have a qualified opinion on the subject<br>
&gt;&gt;&gt; matter (personally, I slightly tend towards a new package for each<br>
&gt;&gt;&gt; release), let me mention problems with the current situation:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; * &#39;uname -r&#39; does not print the actual version (This already has<br>
&gt;&gt;&gt;    been mentioned in the other thread)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; * If there is a problem with a kernel update, I cannot easily revert<br>
&gt;&gt;&gt;    to the previous version. At our institution, we experienced cases<br>
&gt;&gt;&gt;    where a switch to the previous kernel because of a bug was necessary.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; * I&#39;m trying to upgrade a machine right now from version 042stab084.26<br>
&gt;&gt;&gt;    to newest 042stab085.17. I do:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    $ apt-get update &amp;&amp; apt-get dist-upgrade<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    and I&#39;m prompted with the following dialog:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    $  Configuring linux-image-2.6.32-openvz-amd64<br>
&gt;&gt;&gt;    $  -------------------------------------------<br>
&gt;&gt;&gt;    $<br>
&gt;&gt;&gt;    $  You are attempting to install a kernel image (version 2.6.32-openvz-amd64) However, the directory /lib/modules/2.6.32-openvz-amd64/kernel still exists.  If this directory belongs to a previous linux-image-2.6.32-openvz-amd64<br>

&gt;&gt;&gt;    $  package, and if you have deselected some modules, or installed standalone modules packages, this could be bad.<br>
&gt;&gt;&gt;    $<br>
&gt;&gt;&gt;    $  If /lib/modules/2.6.32-openvz-amd64/kernel belongs to an old install of linux-image-2.6.32-openvz-amd64, then this is your last chance to abort the installation of this kernel image (nothing has been changed yet).<br>

&gt;&gt;&gt;    $<br>
&gt;&gt;&gt;    $  If you know what you are doing, and if you feel that this image should be installed despite this anomaly, Please answer n to the question.<br>
&gt;&gt;&gt;    $<br>
&gt;&gt;&gt;    $  Otherwise, I suggest you move /lib/modules/2.6.32-openvz-amd64/kernel out of the way, perhaps to /lib/modules/2.6.32-openvz-amd64.kernel.old or something, and then try re-installing this image.<br>
&gt;&gt;&gt;    $<br>
&gt;&gt;&gt;    $  Stop install since the kernel-image is already installed?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;    If Debian does in-place kernel upgrades (a.k.a keeping the package<br>
&gt;&gt;&gt;    name while upgrading the kernel), they managed to never bother the<br>
&gt;&gt;&gt;    user with a question like this. I certainly know too little about<br>
&gt;&gt;&gt;    kernel package management to be of any help,  but to me that dialog<br>
&gt;&gt;&gt;    indicates that something is still odd.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Those issues might be solved while sticking to the in-place upgrade<br>
&gt;&gt;&gt; scheme and are not necessarily an argument against it. I just wanted to<br>
&gt;&gt;&gt; mention them.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ranting aside, I am more than happy to see someone puts the effort into<br>
&gt;&gt;&gt; making all the great OpenVZ software easily accessible for Debian<br>
&gt;&gt;&gt; systems. For Debian, the situation has never been better before. Thanks<br>
&gt;&gt;&gt; a lot for that work.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Roman<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt;&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt;&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>