On Mon, Jun 12, 2006 at 08:47:09PM +0200, Mattia Dongili wrote: Dear, > Really? does debootstrap create a sources.list? (I'm not sure, I should > check but I think it doesn't). I think I see what you mean, > modules/debian:41 has '>>' but that is probably a typo :) I surely > didn't mean to append. I doesn't, try to install, for instance a chroot environment [1], using debootstrap and you will find that /etc/apt/sources.list is empty.
[1] http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot > > > Perhaps overwriting could be made configurable by adding a new option to > > rootstrap.conf. > > > > Might it be useful, to configure /etc/apt/apt.conf from rootstrap.conf, > > too? > > Ah, something we surely need is adding the proxies given in > rootstrap.conf (if any) to apt.conf, something on the line of > if [ -n "$http_proxy ] ; then > echo "Acquire::http::Proxy {\"$http_proxy\"};" > /etc/apt/apt.conf; > fi > if [ -n "$ftp_proxy ] ; then > echo "Acquire::ftp::Proxy {\"$ftp_proxy\"};" >> /etc/apt/apt.conf; > fi > > I'm not convinced it would be really useful to grant more options or a > full preferences file. > Maybe it could be done in a stand-alone module which allows fine tuning > of all apt options. The latter is a good idea: once you have setup the most important thing, you can proceed with a fine-tuning. Cheers SteX -- Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]> http://etinarcadiaego.dyndns.org -- http://www.stex.name Skype ID "stefanomelchior"
signature.asc
Description: Digital signature