Subject: Re: [vserver] Debian guest
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Thu, 14 Jun 2012 07:47:19 -0000 (UTC)

Hello,

Tor Rune Skoglund wrote:
> Hi,
>
> since the list is too quiet for someone's liking, I thought I inject a
> question :)
>
> Doing some testing here... Have a Gentoo host, and wanting to build a
> Debian guest. So what is the really simple, easy, straightforward,
> fool-proof, dumbass way of installing a debian guest system? ;)
>
> Was trying that recipe on the wiki (
> http://linux-vserver.org/Building_Guest_Systems ), but firstly it failed
> due to wrong deb location. ("ERROR: Could not download the debootstrap
> package from ...")
>
> So I did edit that /etc/vservers/.defaults/apps/debootstrap/uri file to
> point it to
> http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.40_all.deb
> , as it seemed to be suggested, and changing to -d squeeze on the
> command line too:
>
> vserver test build -m debootstrap --context 100 --hostname
> test.mydomain.com --interface eth0:10.0.2.100/24 -- -d squeeze -m
> http://ftp.de.debian.org/debian
>
> Then, "E: Invalid release, no entry for
> main/binary-GenuineIntel/Packages" and more errors. Which might indicate
> that the inherited architecture from the Gentoo host is not supported by
> Debian. But then: "GeniuneIntel"...???
>
> Any pointers before I stay up all night trying to find the solution? I
> am really no Debian expert...

All you're missing is a -- --arch amd64 or -- --arch i386 at the end of your
command line. Non-Debian distributions typically have to specify the
architecture, because most distributions have their own idea of what to call
them...

-- 
Daniel Hokka Zakrisson