Product:
Search Type:

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

Article ID: 3035 
Last Review: Nov,02 2007
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=${i//&/%26}
-               i=${i//\?/%3f}
+               i=${i//[?]/%3f}
                mirrorlist="$mirrorlist
Keywords: vzpkg

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.
*Please type the code you can see.
* - required fields