[ІТ Ідеї] Broken OS template cache

[ІТ Ідеї] Broken OS template cache

I got a task to upgrade container with Fedora core 7 to Fedora Core 8.
From available information such operation can be run as

vzpkg upgrade VE_ID

So I without any thoughts back up container and run upgrade. But
upgrade finished with error about vzquota. after googling all what I
found, was information that I should recreate cache. This operation was
finished with errors too.

So my workaround is:

1. backup container

2. download OS template from
http://www.parallels.com/products/virtuozzo/templates/catalog/

3. install downloaded OS template with force option

vzpkg install template OS_TPL –force

4. recreate OS cache

vzpkg create cache OS_TPL

vzpkg update cache OS_TPL’

5. have fun with OS and container upgrade 🙂