Hi Thanks a lot!
Regards, // Ola On Fri, Aug 18, 2006 at 10:38:03PM +0200, Miroslav Kure wrote: > Package: vserver-debiantools > Version: 0.2.9 > Severity: wishlist > Tags: patch > > Hi, > > the script newvserver is creating /etc/apt/sources.list with non-US > part of the Debian archive. non-US archive was deprecated before > release of Sarge, so the script should not add it anymore. Installing > Etch as a guest produces few unnecessary messages from APT saying that > Packages.gz / Sources.gz for non-US are not available. > > I suggest to remove the following two lines from the script: > > deb http://non-us.debian.org/debian-non-US $DIST/non-US main contrib non-free > deb-src http://non-us.debian.org/debian-non-US $DIST/non-US main contrib > non-fr > > > Next, the /etc/apt/sources.list is by default adding main, contrib and > non-free sections. Since Sarge the Debian installer is not adding > contrib and non-free for new installations by default. > My suggestion is to also add only the main section in newvserver script. > > Patch for both issues is attached. > > -- > Miroslav Kure > --- newvserver.old 2006-07-18 00:54:00.000000000 +0200 > +++ newvserver 2006-08-18 22:42:38.000000000 +0200 > @@ -409,13 +409,10 @@ > > # Make it so that apt and friends work > cat << EOF > "$VROOTDIR/$VHOST/etc/apt/sources.list" > -deb $MIRROR/ $DIST main non-free contrib > -deb-src $MIRROR/ $DIST main non-free contrib > +deb $MIRROR/ $DIST main > +deb-src $MIRROR/ $DIST main > > -deb http://non-us.debian.org/debian-non-US $DIST/non-US main contrib non-free > -deb-src http://non-us.debian.org/debian-non-US $DIST/non-US main contrib > non-free > - > -deb http://security.debian.org $DIST/updates main contrib non-free > +deb http://security.debian.org $DIST/updates main > > EOF > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

