[bglug] configurazione apt-proxy
ing. Samuele E. Locatelli
bglug@lists.linux.it
Mon, 12 May 2003 10:37:13 +0200
This is a MIME-formatted message. If you see this text it means that your
mail software cannot handle MIME-formatted messages.
--=_0_10119_1052728633
Content-Type: text/plain; format=flowed; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Ciao a tutti...
ho qualche problema con l'apt proxy e alcuni siti da mirrorare... in
particolare l'indirizzo del sito di SynCe ha un formato che mi pare
leggermente diverso dagli altri... (il proxy degli altri siti funziona
comunque...).
L'indirizzo della sorgente apt di SynCe è del tipo
$indirizzo/debian/woody/main... ma l'apt-get update dà errore nel momento di
recuperare i dati... ecco l'errore:
Err http://localhost woody/main Packages
404 directory does not exist on any server
Ign http://localhost woody/main Release
Fetched 3115B in 36 s (85B/s)
Failed to fetch
http://localhost:9999/SynCE/dists/woody/main/binary-i386/Packages 404
directory does not exist on any server
in pratica prima di woody ci mette il dist, che però sul sito non c'è... e
non riesco a fargli accettare che woody è al posto di dist...
ringraziando anticipatamente chiunque abbia suggerimenti, allego i
listati...
;-)
Keyhammer
--------------------------------------------------------
I live by long distance... (G.Gould)
--=_0_10119_1052728633
Content-Disposition: attachment; filename=sources.list
Content-Type: text/plain; charset="iso-8859-1"; name=sources.list
Content-Transfer-Encoding: 7bit
#deb http://VMW-debian:9999/debian unstable main contrib non-free
#deb http://VMW-debian:9999/non-US unstable/non-US main contrib non-free
deb http://localhost:9999/debian stable main contrib non-free
deb http://localhost:9999/non-US stable/non-US main contrib non-free
deb http://localhost:9999/kde stable main
deb http://localhost:9999/mono stable main
deb-src http://localhost:9999/mono stable main
deb http://localhost:9999/SynCE woody main
#deb http://localhost:9999/roxyo apt
#deb-src http://localhost:9999/roxyo apt
#deb http://localhost:9999/main stable main contrib non-free
#deb http://localhost:9999/non-US stable/non-US main contrib non-free
#deb http://localhost:9999/security stable/updates main contrib non-free
#deb-src http://localhost:9999/main stable main contrib non-free
#deb-src http://localhost:9999/non-US stable/non-US main contrib non-free
#deb-src http://localhost:9999/security stable/updates main contrib non-free
--=_0_10119_1052728633
Content-Disposition: attachment; filename=apt-proxy.conf
Content-Type: text/plain; charset="iso-8859-1"; name=apt-proxy.conf
Content-Transfer-Encoding: 7bit
# Configuration for apt-proxy
# Change this path if you do not want to keep your cache under var
APT_PROXY_CACHE=/var/cache/apt-proxy
### Rsync Backends
# Three or more fields each:
# 1) URL prefix
# 2) Dir to put files in (remember the trailing /!)
# 3...) rsync backends to replace it with (remember the trailing /!)
# You can specify multiple backends like this:
#add_backend /main/ \
# $APT_PROXY_CACHE/debian/ \
# SERVERONE::debian/ \
# SERVERTWO::debian/ \
# SERVERTHREE::debian/
# HINT: Any request matching none of these is not served, making
# partial caching easy.
RSYNC_SERVER1=ftp.acc.umu.se
RSYNC_SERVER2=cdimage.at.debian.org
HTTP_SERVER1=http://ftp.it.debian.org
HTTP_SERVER2=http://debian.fastweb.it
HTTP_SERVER3=http://mi.mirror.garr.it/mirrors
HTTP_SERVER4=http://download.kde.org/stable/3.1.1
HTTP_SERVER5=http://red-carpet.ximian.com
HTTP_SERVER6=http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
HTTP_SERVER7=http://people.debian.org/~blade/woody/i386
HTTP_SERVER8=http://www.janw.easynet.be/rox/
HTTP_SERVER9=http://users.stone.pl/szczepan/
HTTP_SERVER10=http://www.debianplanet.org/mono/
HTTP_SERVER11=http://synce.sourceforge.net/
add_backend /non-US/ \
$APT_PROXY_CACHE/non-US/ \
$RSYNC_SERVER1::debian-non-US/ \
$HTTP_SERVER1/debian-non-US/ \
$HTTP_SERVER2/debian-non-US/ \
$HTTP_SERVER3/debian-non-US/ \
$HTTP_SERVER7/debian-non-US/
add_backend /debian/ \
$APT_PROXY_CACHE/debian/ \
$RSYNC_SERVER1::debian/ \
$HTTP_SERVER1/debian/ \
$HTTP_SERVER2/debian/ \
$HTTP_SERVER3/debian/ \
$HTTP_SERVER7/debian/
add_backend /kde/ \
$APT_PROXY_CACHE/kde/ \
$HTTP_SERVER4/Debian/
add_backend /gnome/ \
$APT_PROXY_CACHE/gnome/ \
$HTTP_SERVER5/debian/ \
$HTTP_SERVER6/debian/
add_backend /roxyo/ \
$APT_PROXY_CACHE/roxyo/ \
$HTTP_SERVER8/ \
$HTTP_SERVER9/
add_backend /mono/ \
$APT_PROXY_CACHE/mono/ \
$HTTP_SERVER10/
add_backend /SynCE/ \
$APT_PROXY_CACHE/SynCE/ \
$HTTP_SERVER11/debian/
############################## OTHER VARS ##################################
# Automatically delete old debs when we download a newer one
# after this many days of the older not being accessed.
# Comment out to avoid, set to 0 for `instantly' (not recommended;
# sometimes the new versions are broken
CLEANUP_DAYS=7
# Once every n days, look through tree to erase and debs which
# haven't been accessed in that long (eg. obsolete, rarely used, etc).
# Comment out to disable.
CLEAN_SWEEP=60
# Maximum number of versions of each package to keep in cache
# directory. Version purging is carried out immediately after a new
# version is downloaded.
# Comment out to disable.
MAX_VERSIONS=2
# Maximum frequency of Packages/etc. updates from back end (minutes)
# Keep high to speed things up.
BACKEND_FREQ=240
# Number of seconds for rsync to wait before timing out.
RSYNC_TIMEOUT=30
# Uncomment to keep stats of successful backend transfers in the log.
KEEP_STATS=1
# Uncomment this for debugging messages
#DEBUG=true
--=_0_10119_1052728633--