Product:
Search Type:

I can not create cache for Debian 3.1 EZ OS template. How do I solve it?

Article ID: 1800 
Last Review: Apr,17 2007
APPLIES TO:
  • Parallels Virtuozzo Containers for Linux

SYMPTOMS

Creating cache for Debian 3.1 EZ OS template leads to various errors saying f.e.

 

Unable to fetch file, server said '/debian/dists/stable/main/binary-i386/Packages.gz: No such file or directory'

CAUSE

The reason is that Debian Etch is released and 'stable' in repositories configuration now points to 'etch' while Debian 3.1 is 'sarge'.

RESOLUTION

To fix the problem 'stable' should be replaced with 'sarge' in Debian 3.1 OS template metadata.

Please look into /vz/template/debian/3.1/x86/config/os/default/repositories file and replace all 'stable' to 'sarge' to return 3.1 "sarge" functionality.

I.e. the default contents like this:


$DEB_SERVER/debian stable main contrib non-free

$DEB_SERVER/debian-non-US stable/non-US main contrib non-free

$DEB_SERVER/debian-security stable/updates main contrib non-free

should be replaced with:


$DEB_SERVER/debian sarge main contrib non-free

$DEB_SERVER/debian-non-US sarge/non-US main contrib non-free

$DEB_SERVER/debian-security sarge/updates main contrib non-free


Please note, that also /etc/apt/sources.list should be adjusted in all VEs based on Debian 3.1 OS template - 'stable' should be replaced with 'sarge'.

Keywords: debian 3.1 EZ OS template cache stable sarge etch

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