Subject: Re: [vserver] one-liner /etc/apt/sources.list in guest?
From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
Date: Mon, 26 Jan 2009 12:49:59 -0500

On Tue, 2009-01-27 at 00:51 +0800, Jeffrey 'jf' Lim wrote:
> hi guys, this may sound weird, but is there like a recommended
> "sources.list" for an ubuntu hardy guest? (would it be the same as a
> normal hardy system?)
> 
> I've followed the instructions as per wiki
> (http://linux-vserver.org/Installing_Ubuntu_Hoary_as_guest) to set up
> a hardy guest, and ended up with a one-liner /etc/apt/sources.list -
> which has apparently given me some problems with regards to installing
> stuff in the guest (like 'E: Couldn't find package blabla'). Is
> editting sources.list the way to go after you build a guest? I would
> imagine that if this were all I would get in the file that there would
> surely be some note somewhere about editting the file after setting up
> the guest. Don't see it anywhere though - tried googling, but havent
> found anything.
> 
> I know that there's a list of distributions in
> /usr/local/etc/vservers/.distributions/, but of course, neither debian
> nor ubuntu is in there. My install is from pristine source - kernel +
> vs2.2.0.7
<snip>

We set our hardy guests to:
deb http://us.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse

deb http://us.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ hardy partner

deb http://packages.medibuntu.org/ hardy free non-free

-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

http://www.spiritualoutreach.com
Making Christianity intelligible to secular society