OpenVZ Forum


Home » General » Support » Installation of Linux kernel headers fails in Debian
Installation of Linux kernel headers fails in Debian [message #51503] Mon, 30 June 2014 23:29 Go to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
I am using the packages provided from OpenVZ for Debian:

http://download.openvz.org/debian

However, when I want to install the kernel header package I get an error:

# uname -a
Linux server 2.6.32-openvz-042stab090.5-amd64 #1 SMP Sat Jun 21 00:22:42
MSK 2014 x86_64 GNU/Linux
# 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 5 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 ... 83547 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
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
#


What can be wrong here?

Re: Installation of Linux kernel headers fails in Debian [message #51507 is a reply to message #51503] Wed, 02 July 2014 17:08 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
Hi,
dunno how to fix your problem, but you may ask on openvz users mailing list or submit bug report.

tried to check this debian repository and can't browse it...
Re: Installation of Linux kernel headers fails in Debian [message #51508 is a reply to message #51507] Wed, 02 July 2014 17:37 Go to previous messageGo to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
Thanks, posted a report.
Re: Installation of Linux kernel headers fails in Debian [message #51513 is a reply to message #51507] Fri, 04 July 2014 04:20 Go to previous messageGo to next message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
No response. Frustrating Sad

I think the packages are plain broken ...

Re: Installation of Linux kernel headers fails in Debian [message #51514 is a reply to message #51513] Fri, 04 July 2014 18:23 Go to previous messageGo to next message
devonblzx is currently offline  devonblzx
Messages: 127
Registered: December 2006
Senior Member
Did you try downloading the headers file and installing it manually?

http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab090.5/linux-headers-2.6.32-openvz-042stab090.5-amd64_1_am d64.deb


http://static.openvz.org/userbars/openvz-user-2.png
ByteOnSite President
Re: Installation of Linux kernel headers fails in Debian [message #51515 is a reply to message #51514] Sat, 05 July 2014 01:53 Go to previous message
divB is currently offline  divB
Messages: 79
Registered: April 2009
Member
After days of debugging I found the issue: the links "build" and "source" in /lib/modules/2.6.32-openvz-* are missing.

It would be nice if this could be fixed!
Previous Topic: Possible to put a container on a "ramdisk"? (Ploop)
Next Topic: Is it possible to add a new ploop disk to an existing container residing on an OpenVZ host?
Goto Forum:
  


Current Time: Sun Jul 14 09:21:18 GMT 2024

Total time taken to generate the page: 0.02276 seconds