Symptoms
After installing Parallels Virtuozzo Containers or Parallels Server Bare Metal and creating a new container, it is not possible to install an application template:~# vzctl create 222 --ostemplate centos-5-x86_64
~# vzctl start 222
~# vzpkg install 222 devel
.....
Transaction Summary
=============================================================================
Install 278 Package(s)
Update 30 Package(s)
Remove 0 Package(s)
Total download size: 299 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error: file /usr/kerberos/man/man5/krb5.conf.5.gz from install of krb5-libs-1.6.1-36.el5_5.6 conflicts with file from package krb5-libs-1.6.1-31.el5
file /usr/share/man/man1/curl.1.gz from install of curl-7.15.5-9.el5 conflicts with file from package curl-7.15.5-2.el5
.....
Error: /usr/share/vzyum/bin/yum failed, exitcode=1Cause
Pre-cached templates that are installed upon product installation may become outdated by the time of container creation.Resolution
Update the template cache:~# vzpkg clean OSTEMPLATE
~# vzpkg update cache OSTEMPLATENOTE: Replace OSTEMPLATE with the actual template name, e.g., centos-5-x86_64.
No
Yes