It is not possible to fetch packages for some OS template, due to dependency errors for Plesk mail server packages:
# vzpkg fetch centos-6-x86_64 --> Finished Dependency Resolution Error: plesk-mail-qc-driver conflicts with plesk-mail-pc-driver. Ignored for ign-conflicts mode You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Error: /usr/share/vzyum/bin/yum failed, exitcode=1
vzpkg fetch command is meant to go through the OS template and all its application templates, and get the packages, associated with them, from the repositories. As Plesk templates include several mail servers in them, it causes dependency errors, because Plesk doesn't allow the existence of two mail servers simultaneously.
Two possible solutions are available:
1) Exclude all application templates, while fetching the packages. This can be achieved with '-O' option:
# vzpkg fetch centos-6-x86_64 -O
2) Disable all Plesk mail servers for the time of fetching:
# grep -l 'plesk-mail' /vz/template/centos/6/x86_64/config/app/*/default/packages* | while read file ; do sed -i 's~^~#~g' $file ; done # vzpkg fetch centos-6-x86_64 # grep -l 'plesk-mail' /vz/template/centos/6/x86_64/config/app/*/default/packages* | while read file ; do sed -i 's~^#~~g' $file ; done