While trying to install updates to a PVC 4.0 server, the following error might occur:
2013-12-21T23:32:56+0300 virtuozzo-release is not installed
Few packages are missing, like
virtuozzo-release and others.
Since PVC 4.0 reached End-of-Life already, the proper solution is to migrate containers to a server with a newer version of PVC or to perform in-place upgrade to the actual version of the host OS and PVC, in accordance with the documentation and instructions for planning upgrade from PVC 4.0.
Alternatively, the RPM packages of the product can be reinstalled forcibly:
Install missing system packages (if any):
# yum install compat-db libpng cairoperl mod_ssl gnuplot rpm-build
Reinstall/update product packages:
# rpm -Uhv --replacepkgs $(find /vz/vzup2date/ /vz/fulldistr/virtuozzo/RPMS/ /vz/fulldistr/virtuozzo/compat/RHEL5/ /vz/fulldistr/virtuozzo/compat/RH/ -type f -name '*rpm')
NOTE: The reinstallation of packages might bring problems (e.g. it will try to install packages of Parallels Infrastructure Manager 4.0 and this will result in conflicts if PVA Agent 4.6 is installed on the server). Those issues are to be resolved by reducing the list of packages to reinstall/update.