<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/02/2014 02:01 PM, spameden wrote:<br>
    </div>
    <blockquote
cite="mid:CAHCALextp++zqUXNUJWhZ6dM4LEzBz=4U-M5RQ2-2v06Z0hLTg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2014-03-03 0:38 GMT+04:00 Ola
            Lundqvist <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:ola@inguza.com" target="_blank">ola@inguza.com</a>&gt;</span>:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">Hi
                <div><br>
                </div>
                <div>Problem fixed now.</div>
                <div>I had fixed the problem temporarily, but I had
                  forgotten to upgrade to the debarchiver version with
                  the fix so it will not happen again. Now I have done
                  the upgrade and fixed the problem properly.</div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>I think it's not fixed properly:<br>
              <br>
            </div>
            <div>1) wrong version of linux-image:<br>
            </div>
            <div># dpkg -l|grep linux-image-openvz<br>
            </div>
            <div>ii&nbsp; linux-image-openvz-amd64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              042+1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; amd64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OpenVZ Linux
              kernel (meta-package) <br>
              <br>
            </div>
            <div>2) # ls /boot |grep openvz<br>
              config-2.6.32-openvz-042stab084.17-amd64<br>
              <b>config-2.6.32-openvz-amd64</b><br>
              initrd.img-2.6.32-openvz-042stab084.17-amd64<br>
              <b>initrd.img-2.6.32-openvz-amd64</b><br>
              System.map-2.6.32-openvz-042stab084.17-amd64<br>
              <b>System.map-2.6.32-openvz-amd64</b><br>
              vmlinuz-2.6.32-openvz-042stab084.17-amd64<br>
              <b>vmlinuz-2.6.32-openvz-amd64</b><br>
              <br>
            </div>
            <div>so now we are missing usual version here in the
              package.. that's actually very bad ... can you look into
              it?<br>
              <br>
            </div>
            <div>many thanks.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    This is intentional, and I changed it after looking into how default
    Debian kernel is packaged/versioned.<br>
    <br>
    If you take a look, they have [meta]package linux-image-amd64 which
    requires<br>
    package linux-image-3.2.0-4-amd64. The latter (currently) has a
    version of<br>
    3.2.54-2 and this version is changed (incremented) with every
    release, while<br>
    package name stays the same (linux-image-3.2.0-4-amd64). Also,
    vzkernel<br>
    name stays the same -- it is /boot/vmlinuz-3.2.0-4-amd64 in
    different versions.<br>
    I am using the very same approach now for OpenVZ kernels.<br>
    <br>
    Previously I was adding the VZ version (i.e. 042stab0xy.z) into
    kernel package name,<br>
    and it was added to vmlinuz and the /lib/modules directory name as
    well. The problem<br>
    is, you need to specify a different dependency in
    linux-image-openvz-amd64 metapackage,<br>
    and apt-get upgrade complains that it can't upgrade the system since
    a new version<br>
    of an installed package (linux-image-amd64) requires a package that
    is not installed yet.<br>
    The problem could be fixed by running dist-upgrade, but eventually I
    decided that<br>
    this message is a hint that I package openvz kernels improperly,
    that lead me to<br>
    looking into a way standard Debian kernels are packaged and
    implementing it<br>
    the same way for OpenVZ kernels.<br>
    <br>
    I am not a Debian guru and am very open to suggestions on how to
    improve this.<br>
    Perhaps we can return to the older versioning scheme and ask people
    to use dist-upgrade.<br>
    Or maybe I am totally missing something. Please help.<br>
    <br>
    Kir.<br>
    <br>
  </body>
</html>