Article ID: 1800, created on Apr 17, 2007, last review on May 10, 2014

  • Applies to:
  • Virtuozzo containers for Linux


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'


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


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'.

e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF