Symptoms
'vzpkg' utility throws the following error when I try to use it:# vzpkg fetch centos-5-x86
E: The method driver
/usr/lib/apt/methods/%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3
f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f could not be found.
ERROR: Can not load mirrorlist(s):
%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3f%3
f%3f%3f%3f%3f%3f%3f%3f
ERROR: Can not get yum configs for centos-5-x86 OS templateResolution
You may solve the problem using this fix for the file /usr/share/vztt/functions on a Virtuozzo server:--- /usr/share/vztt/functions.0 2007-11-02 12:34:04.000000000 +0300
+++ /usr/share/vztt/functions 2007-11-02 12:34:33.000000000 +0300
@@ -644,3 +644,3 @@
i=${bb}i//&/%26{be}
- i=${bb}i//\?/%3f{be}
+ i=${bb}i//[?]/%3f{be}
mirrorlist="$mirrorlistKeywords: vzpkg