[Techtalk] APT-PROXY (config problems?!)
kim
kim42 at inode.at
Fri Sep 3 11:51:38 EST 2004
hi @ll
well I have a problem that is driving me up the bloody wall!
I am trying to configure apt-proxy on one server (only debian machines)
and do all apt-get updates and so one from that one maschine!
But no matter what i write in the config file nothing seems to work!
i tried to import the archive files with no sucess:
when i try to run a apt-get update i keep on getting:
something like:
E: Malformed line 27 in source list /etc/apt/sources.list (dist)
here all the info you need:
the configs from the apt-proxy:
/etc/apt-proxy/apt-proxy.conf
# Debian main
add_backend /debian/ \
$APT_PROXY_CACHE/debian/ \
http://http.at.debian.org/debian/ \
http://http.at.debian.org/debian/ \
http://ftp.de.debian.org/debian/ \
http://ftp.uk.debian.org/debian/ \
+ftp.us.debian.org::debian/
# Debian non-US
add_backend /non-US/ \
$APT_PROXY_CACHE/non-US/ \
http://non-us.debian.org/ \
http://ftp.de.debian.org/debian-non-US/ \
http://ftp.uk.debian.org/debian-non-US/ \
+ftp.de.debian.org::debian-non-US/
# Debian security
add_backend /security/ \
$APT_PROXY_CACHE/security/ \
http://security.debian.org/
# backports
add_backend /backports/ \
$APT_PROXY_CACHE/backports/ \
http://www.backports.org/debian/
##apt-proxy repository
# see: http://apt-proxy.sourceforge.net/apt-proxy/README
add_backend /apt-proxy/ \
$APT_PROXY_CACHE/apt-proxy/ \
http://apt-proxy.sourceforge.net/apt-proxy/
## aide
add_backend /madhack/ \
$APT_PROXY_CACHE/madhack/ \
http://www.madhack.com/debian/
# people.debian.org
#deb http://shawnaptproxy:8000/debian-people/~njordan kde3.0/
add_backend /debian-people/
$APT_PROXY_CACHE/people/
http://people.debian.org/
#Blackdown java
add_backend /blackdown/ \
$APT_PROXY_CACHE/blackdown/ \
http://gd.tuwien.ac.at/opsys/linux/java/debian
--------------------------------------------------------
here my /etc/apt/sources-list
i have sarge, woody and i think a sid so i need all, right??
that should be the same for all clients , right??
# Debian main
deb http://aptproxy.server:9999/debian stable main contrib non-free deb
http://aptproxy.server:9999/debian woody main contrib non-free deb
http://aptproxy.server:9999/debian sarge main contrib non-free deb
http://aptproxy.server:9999/debian sid main contrib non-free
# Debian non-US
deb http://aptproxy.server:9999/non-US stable/non-US main contrib
non-free deb http://aptproxy.server:9999/non-US woody/non-US main
contrib non-free deb http://aptproxy.server:9999/non-US sarge/non-US
main contrib non-free deb http://aptproxy.server:9999/non-US sid/non-US
main contrib non-free
# sources
#deb-src http://ftp.us.debian.org/debian/ woody main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ sarge main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ sid main non-free contrib
# Debian security
deb http://aptproxy.server:9999/security stable/updates main contrib
non-free
deb http://aptproxy.server:9999/security woody/updates main contrib
non-free deb http://aptproxy.server:9999/security sarge/updates main
contrib non-free
# backports
deb http://aptproxy.server:9999/backports stable
deb http://aptproxy.server:9999/backports woody
##apt-proxy repository
deb http://aptproxy.server:9999/apt-proxy unstable
# people.debian.org
deb http://aptproxy.server:9999/debian-people debian woody
## aide
deb http://aptproxy.server:9999/debian stable
deb http://aptproxy.server:9999/debian woody
deb http://aptproxy.server:9999/debian sarge
my question ist al well how must the sources.list file look like on the
apt-proxy server??
I hope someone can give me a hand here this is just driving me nuts, !!
In Regards
Kim
More information about the Techtalk
mailing list