OpenVZ Forum


Home » General » Support » Installing "OpenVZ Guest Tools" on debian jessie causes apt-get issue
Installing "OpenVZ Guest Tools" on debian jessie causes apt-get issue [message #52583] Fri, 07 October 2016 09:05 Go to next message
constb is currently offline  constb
Messages: 5
Registered: August 2016
Location: Tomsk, Russia
Junior Member
hello. I have a problem.

I created a VM on OpenVZ 7 host, set distribution to "debian" and installed latest Debian Jessie and then "OpenVZ Guest Tools" by invoking 'prlctl installtools' and going through process of mounting cdrom and starting 'install' script.

This worked just fine and apparently all 'prlctl' functionality is now available on host. The problem is when I ran 'apt-get update && apt-get upgrade' after that, it tried to update 'dkms' package from version 2.2.0.2debian8 to version 2.2.0.3-2. That didn't work. Now every time I run 'apt-get install' it tries to finalize upgrading dkms causing error messages:

root@sensor:~# apt-get install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up vzvirtio-balloon-dkms (0.9.2debian8) ...
Removing old vzvirtio_balloon-0.9.2debian8 DKMS files...

------------------------------
Deleting module version: 0.9.2debian8
completely from the DKMS tree.
------------------------------
Done.
Loading new vzvirtio_balloon-0.9.2debian8 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-4-amd64
Building for architecture amd64
Building initial module for 3.16.0-4-amd64
Error! Bad return status for module build on kernel: 3.16.0-4-amd64 (amd64)
Consult /var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/make.log for more information.
insserv: warning: script 'K01vzballoon_bind' missing LSB tags and overrides
insserv: warning: script 'vzballoon_bind' missing LSB tags and overrides
modprobe: FATAL: Module vzvirtio_balloon not found.
modprobe: FATAL: Module vzvirtio_balloon not found.
dpkg: error processing package vzvirtio-balloon-dkms (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 vzvirtio-balloon-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)


What do I do?
Re: Installing "OpenVZ Guest Tools" on debian jessie causes apt-get issue [message #52584 is a reply to message #52583] Fri, 07 October 2016 09:10 Go to previous messageGo to next message
constb is currently offline  constb
Messages: 5
Registered: August 2016
Location: Tomsk, Russia
Junior Member
Additionally it refers to "/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/make.log". Here it is:

DKMS make.log for vzvirtio_balloon-0.9.2debian8 for kernel 3.16.0-4-amd64 (amd64)
Fri Oct  7 16:02:55 KRAT 2016
make: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
  LD      /var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/built-in.o
  CC [M]  /var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.o
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c: In function 'release_pages_balloon':
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c:192:3: error: implicit declaration of function 'bal
loon_page_free' [-Werror=implicit-function-declaration]
   balloon_page_free(page);
   ^
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c: In function 'virtballoon_migratepage':
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c:524:9: error: 'MIGRATEPAGE_BALLOON_SUCCESS' undecla
red (first use in this function)
  return MIGRATEPAGE_BALLOON_SUCCESS;
         ^
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c:524:9: note: each undeclared identifier is reported
 only once for each function it appears in
/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.c:525:1: warning: control reaches end of non-void fun
ction [-Wreturn-type]
 }
 ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:268: recipe for target '/var/lib/dkms/vzvirtio_balloon/0.9
.2debian8/build/vzvirtio_balloon.o' failed
make[3]: *** [/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build/vzvirtio_balloon.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/Makefile:1352: recipe for target '_module_/var/lib/dkms/vzvirtio_balloon/0.9.2deb
ian8/build' failed
make[2]: *** [_module_/var/lib/dkms/vzvirtio_balloon/0.9.2debian8/build] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Re: Installing "OpenVZ Guest Tools" on debian jessie causes apt-get issue [message #52614 is a reply to message #52584] Fri, 11 November 2016 11:54 Go to previous message
JimmFrem is currently offline  JimmFrem
Messages: 10
Registered: September 2016
Location: Europe
Junior Member
Hi,

Your kernel is newer than guest agent supported. There is no supported guest agent for your kernel at the moment.
Previous Topic: Yum updates not working
Next Topic: PSBM-51818 NFS lock Bug reappeared on 042stab120.3?
Goto Forum:
  


Current Time: Sun Feb 05 05:12:48 GMT 2023

Total time taken to generate the page: 0.01156 seconds