Issue statement
If CT distributive was updated bypassing vzpkg tool and template version differs from the actual version of installed packages.
Symptoms
Command c2v-convert fails on step 3/11 while installing system packages.
Diagnostic steps
Check version inside CT:
# prlctl exec CT_ID cat /etc/os-release
Check configured template
# vzlist -o veid,name,ostemplate CT_ID
If version mismatch the CT needs to be configured accordingly.
Cause
Distributive running in CT should match ostemplate for the registered CT.
Resolution
Step-by-step instructions for resolving the issue. .
List of all available ostemplates:
# vzpkg list --available -O
Set the correct ostemplate with the leading '.' in the name:
# vzctl set CT_ID --save --ostemplate .ubuntu-20.04-x86_64