/etc/apt/sources.list
deb http://ebox-platform.com/debian/stable/ ebox/
deb http://ebox-platform.com/debian/stable/ extra/
deb http://ebox-platform.com/debian/sarge/stable/ main/
deb http://ebox-platform.com/debian/sarge/stable/ security/
# Cups
deb http://snapshot.debian.net/archive/ pool cupsys
deb http://ftp.de.debian.org/debian sarge main
deb http://mirror.buildd.net/backports.org/ sarge-backports main contrib non-free
deb http://ftp.freenet.de/debian/ sarge main contrib non-free
deb-src http://ftp.freenet.de/debian/ sarge main contrib non-free
deb http://ftp2.de.debian.org/debian-volatile sarge/volatile main
#deb http://dotdeb.pimpmylinux.org/ stable all
#deb-src http://dotdeb.pimpmylinux.org/ stable all
deb http://people.debian.org/~dexter php5 sid
/etc/apt/apt.conf
// This file is used in the chroot environment from install_packages
// (called by rcS_fai)
// Options for apt-get for FAI
APT
{
// Options for apt-get
Get
{
Assume-Yes "true";
Fix-Missing "true";
Show-Upgraded "true";
Purge "true"; // really purge! Also removes config files
List-Cleanup "true";
ReInstall "false";
};
};
DPkg
{
Options {
"--abort-after=4711"; // a magic number in cologne ;-)
"--force-confdef";
}
};
//npe
APT::Default-Release "stable";
APT::Cache-Limit 16777216;
Dpkg::Options {"--force-confold";}
for apt-get/aptitude in case of proxy this would be enough:
/etc/bash.bashrc
to the end:
export HTTP_PROXY=http://user:passwort@proxyserver.domain:port/
export FTP_PROXY=http://user:passwort@proxyserver.domain:port/
see also:
http://debiananwenderhandbuch.de/apt.conf.html (german/ exmpls in eng.l)
for different ways of proxy setup in apt.conf if neccessary