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

Nikolaus Hammler niki at hammler.net
Mon Oct 6 18:09:55 PDT 2014


-----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-----


More information about the Debian mailing list