Article ID: 120479, created on Mar 8, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Linux

Symptoms

vzup2date command fails to install updates, following error appears:

    [RPM] Unable to read package information. :
    virtuozzo-release 

Meanwhile virtuozzo-release rpm is not installed:

    # rpm -q virtuozzo-release
    package virtuozzo-release is not installed

Cause

virtuozzo-release package (necessary for correct work of vzup2date) is missing from the host.

Resolution

To solve the issue it is necessary to install the package back. Follow these steps to acquire the RPM:

  1. Find the latest installed tools update(TU) version in /vz/vzup2date/virtuozzo/linux/<cpu-arch>/<product-version>/, i.e:

    ls -ld  /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-*
    
    drwxr-xr-x 2 root root 4096 Oct 30 04:47 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-346
    -rw-r--r-- 1 root root 2839 Oct 30 04:45 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-346.xml
    drwxr-xr-x 2 root root 4096 Jan 21 16:05 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-379
    -rw-r--r-- 1 root root 3094 Jan 21 16:04 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-379.xml
    drwxr-xr-x 2 root root 4096 Jan 21 16:05 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-383
    -rw-r--r-- 1 root root 1238 Jan 21 16:04 /vz/vzup2date/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-383.xml
    
  2. Locate virtuozzo-release RPM on a repository location corresponding to your TU version:

    Copy and adjust following link to match your PVCfL and TU versions:

    http://vzup2date.parallels.com/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-383
    

    This example matches PVCfL 4.7 64-bit and TU-4.7.0-383

    vzup2date repository

  3. Download virtuozzo-release rpm package located in the step #2

    # wget http://vzup2date.parallels.com/virtuozzo/linux/x86_64/4.7.0/TU-4.7.0-383/virtuozzo-release-4.7.0-383.x86_64.rpm
    
  4. Install virtuozzo-release rpm package

    # rpm -i virtuozzo-release-4.7.0-383.x86_64.rpm
    

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF