'vzpkg' throws error: /usr/lib/apt/methods/%3f%3f%3f%3f%3f%3f%3f%3f could not be found.

Article ID: 3035 
Last Review: Oct,6 2008
Author: Vitaly Filatov
Last updated by: system APPLIES TO:
  • Parallels Virtuozzo Containers for Linux

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 template

Resolution

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="$mirrorlist
Keywords: vzpkg


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields