[Debian] Inconsistencies with http://download.openvz.org/debian/?

Ola Lundqvist ola at inguza.com
Wed Oct 8 12:14:47 PDT 2014


Hi Nikolaus and Kir

Nikolaus:
I think these links are created by the kernel build scripts that
debian provides.
Do you want me to file a bug report for this? You can easily do it on
bugzilla.openvz.org. It is probably better if you do it yourself so
the person that will be assigned to the report can contact you.

Kir:
I think I will hand over this issue to you. Let me know if you want
help from me regarding this.

Regards,

// Ola

On Tue, Oct 7, 2014 at 3:09 AM, Nikolaus Hammler <niki at hammler.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Ola & Kir,
>
> Thanks for the clarification.
>
> However, there is still a bug and it took me hours to figure it out.
> As per my original posting, I was not able to build DKMS modules with
> the kernel. The problem is the following:
>
> Entpacken von linux-image-openvz-amd64 (aus
> .../linux-image-openvz-amd64_042stab093.5_amd64.deb) ...
> linux-image-2.6.32-openvz-042stab093.5-amd64 (1) wird eingerichtet ...
>
>  Hmm. There is a symbolic link
> /lib/modules/2.6.32-openvz-042stab093.5-amd64/build
>  However, I can not read it: Datei oder Verzeichnis nicht gefunden
>  Therefore, I am deleting
> /lib/modules/2.6.32-openvz-042stab093.5-amd64/build
>
>
>  Hmm. The package shipped with a symbolic link
> /lib/modules/2.6.32-openvz-042stab093.5-amd64/source
>  However, I can not read the target: Datei oder Verzeichnis nicht gefunden
>  Therefore, I am deleting
> /lib/modules/2.6.32-openvz-042stab093.5-amd64/source
>
> Looking in the source package, the links point to
> /root/kbuild2/26035/repo/... and do of course not exist. In reality,
> they should point to /usr/src/linux-headers-2.6.~42stab093.5-amd64
> where the linux-headers package puts its headers so.
>
> Actually I am not even sure if the links should be deleted. If they
> are, however, they should be restored when installing the appropriate
> headers package.
>
> Furthermore, the package does not include the modules.builtin file.
> When installing the package:
>
> WARNING: could not open
> /lib/modules/2.6.32-openvz-042stab093.5-amd64/modules.builtin: No such
> file or directory
>
>
> It would be great if this could be fixed.
>
> Thank,
> Nikolaus
>
>
>
>
>
>
>
>
> On 2014-10-06 11:04, Ola Lundqvist wrote:
>> Hi Nikolaus and Kir
>>
>> Nikolaus: Thanks for your report. I think you have misunderstood
>> the meta package naming. It is easy to do howerver. For more
>> information about that, see further down below.
>>
>> The meta package name you should use is: linux-image-openvz-amd64
>> (note that there is no 2.6.32 in it)
>>
>> You can see that with the following command: guilt:/home/ola#
>> apt-cache show linux-image-openvz-amd64 | grep Version Version:
>> 042stab093.5
>>
>> There you can see that the latest stable and recommended kernel is
>> 042stab093.5.
>>
>> linux-image-2.6.32-openvz-amd64 is actually not a meta package. It
>> contains the kernel itself. It is a left-over from an earlier
>> packaging practice done by Kir. It was changed in order to leave
>> old kernels in case there were an issue with a later one. They were
>> not removed from the repository though.
>>
>> You can see that from the following command: guilt:/home/ola#
>> apt-cache show linux-image-2.6.32-openvz-amd64 | grep Depends
>> Depends: coreutils (>= 5.96)
>>
>> The same applies to linux-headers-openvz-amd64 and
>> linux-source-openvz-amd64. They are both real packages with actual
>> contents. Not meta packages.
>>
>> I hope this helps.
>>
>> Kir: As you can see above maybe it is confusing to leave the old
>> package name there. Should I simply remove these packages from
>> wheezy and wheezy-test repositories?
>> linux-image-2.6.32-openvz-amd64 linux-source-2.6.32-openvz-amd64
>> linux-headers-2.6.32-openvz-amd64 linux-image-2.6.32-openvz-686
>> linux-headers-2.6.32-openvz-686 linux-source-2.6.32-openvz-686
>>
>> An alternative is that you (or I) upload a transition package
>> (linux-image-2.6.32-openvz-<arch>) that depends on the
>> linux-image-openvz-<arch> package.
>>
>> What do you think?
>>
>> Regards,
>>
>> // Ola
>>
>> On Tue, Jul 1, 2014 at 5:08 AM, Nikolaus Hammler <niki at hammler.net>
>> wrote: Hi,
>>
>> According to http://download.openvz.org/debian:
>>
>> - linux-image-openvz-amd64 (amd64) This is a meta package that
>> installs the latest openvz enabled kernel for amd64 architecture.
>>
>> According to
>> http://download.openvz.org/debian/dists/wheezy/main/binary-amd64/kernel/?C=M;O=D
>>
>>
> (and common wisdom due to version number), the latest version is
>> 042stab090.5.
>>
>> However, (with apt-get update && upgrade): apt-cache show
>> linux-image-2.6.32-openvz-amd64 [...] Version: 042stab085.17
>>
>> The same goes for the meta packages such as
>> linux-headers-2.6.32-openvz-amd64 and
>> linux-source-2.6.32-openvz-amd64.
>>
>> I am not sure if the issue is related to that but maybe: It is not
>> possible to install the kernel headers package. I have the latest
>> (?) image installed (manually using "apt-get install
>> linux-image-2.6.32-openvz-042stab090.5-amd64") and if I want to
>> install the appropriate package it fails:
>>
>> # apt-get install linux-headers-2.6.32-openvz-042stab090.5-amd64
>> Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird
>> aufgebaut. Statusinformationen werden eingelesen.... Fertig Die
>> folgenden NEUEN Pakete werden installiert:
>> linux-headers-2.6.32-openvz-042stab090.5-amd64 0 aktualisiert, 1
>> neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen
>> noch 0 B von 7152 kB an Archiven heruntergeladen werden. Nach
>> dieser Operation werden 51,9 MB Plattenplatz zusätzlich benutzt.
>> Vormals nicht ausgewähltes Paket
>> linux-headers-2.6.32-openvz-042stab090.5-amd64 wird gewählt. (Lese
>> Datenbank ... 83606 Dateien und Verzeichnisse sind derzeit
>> installiert.) Entpacken von
>> linux-headers-2.6.32-openvz-042stab090.5-amd64 (aus
>> .../linux-headers-2.6.32-openvz-042stab090.5-amd64_1_amd64.deb)
>> ... linux-headers-2.6.32-openvz-042stab090.5-amd64 (1) wird
>> eingerichtet ... Examining /etc/kernel/header_postinst.d.
>> run-parts: executing /etc/kernel/header_postinst.d/dkms
>> 2.6.32-openvz-042stab090.5-amd64
>> /boot/vmlinuz-2.6.32-openvz-042stab090.5-amd64 +
>> inst_kern=2.6.32-openvz-042stab090.5-amd64 ++ uname -s +
>> uname_s=Linux + case "${uname_s}" in +
>> header_pkg=linux-headers-2.6.32-openvz-042stab090.5-amd64 +
>> kernel=Linux + '[' -x /usr/lib/dkms/dkms_autoinstaller ']' + exec
>> /usr/lib/dkms/dkms_autoinstaller start
>> 2.6.32-openvz-042stab090.5-amd64 Error! Your kernel headers for
>> kernel 2.6.32-openvz-042stab090.5-amd64 cannot be found. Please
>> install the linux-headers-2.6.32-openvz-042stab090.5-amd64
>> package, or use the --kernelsourcedir option to tell DKMS where
>> it's located Error! Your kernel headers for kernel
>> 2.6.32-openvz-042stab090.5-amd64 cannot be found. Please install
>> the linux-headers-2.6.32-openvz-042stab090.5-amd64 package, or use
>> the --kernelsourcedir option to tell DKMS where it's located
>>
>>
>> Regards, Niki
>>
>>
>>
>>
>>> _______________________________________________ Debian mailing
>>> list Debian at openvz.org
>>> https://lists.openvz.org/mailman/listinfo/debian
>>
>>
>>
>
> - --
> Please send me encrypted mails, if possible.
> PGP Key: http://niki.hammler.net/Nikolaus_Hammler.asc
> Or use attached S/MIME certificate
> Contact me via BitMessage: BM-GtkZkRBW53JDxevDhLoceuHeowykTBTq
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>
> iQEcBAEBAgAGBQJUMz1jAAoJEMr34KUCLyHCAckIAJN2pLlbaA8glIWvIeYWM7av
> SnRpyqVhzSnt7wxAXYyW2Ou53aLHVmNLHEi6n36mvojcXQN/zSDMVMAZ8Zm4Twgv
> 6LJYYG9eo4DRjJi61T4Njn7shJ5DRWRmNnDLbu0doHRGJG6cCEaeZIl9JxIAQMeN
> SKrl0IqABWTzG+PYMuhXcYAcly4nJ7CsQjm8NF8vn3US443JWNRhoHwu/9x89Vw/
> Q6BwSIg7cnJ79c91bX4tbZrqvkth6r8o598pvyihwS+OlIHeUYExIvM5MlPtM/VV
> KdCYx9+zJHigU6+nNlIOYeICN96QUTpSp97sgspkes8WiMc+euqWFfhrpXAlWU8=
> =It+8
> -----END PGP SIGNATURE-----



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  ola at inguza.com                    Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



More information about the Debian mailing list