Article ID: 3035, created on Nov 2, 2007, last review on Apr 16, 2012

  • Applies to:
  • Virtuozzo containers for Linux


'vzpkg' utility throws the following error when I try to use it:
# vzpkg fetch centos-5-x86
E: The method driver
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):
ERROR: Can not get yum configs for centos-5-x86 OS template


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=${i//\?/%3f}
+               i=${i//[?]/%3f}

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF