[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-Cache teilen rs Netzwerk



Hallo zusammen,

> -----Ursprüngliche Nachricht-----
> Von: Goran Ristic [mailto:gee.r@gmx.net]
> Gesendet: Dienstag, 26. März 2002 17:16
>
> Doch habe ich mal versucht. Leider hat das gute Stück den Dienst bei mir
> verweigert. - Wenn Du eine funktionierende apt-proxy.conf hast, dann
> immer her damit (per PM). ;)

hatte apt-move mal ausprobiert hat mir aber nich so gefallen. Z.Zt. nutze
ich apt-proxy und bin damit super zufrieden :)

Also hier mal eine funktionierende Konfiguration:

------------apt-proxy.conf------------
APT_PROXY_CACHE=/vol/id1/Debian

add_backend /main/                                      \
        $APT_PROXY_CACHE/debian/                        \
        ftp.us.debian.org::debian/                      \
        ftp.de.debian.org::debian/                      \
        ftp2.de.debian.org::debian/                     \
        ftp.uk.debian.org::debian/

add_backend /non-US/                                    \
        $APT_PROXY_CACHE/non-US/                        \
        ftp.de.debian.org::debian-non-US/               \
        ftp2.de.debian.org::debian-non-US/              \
        ftp.uk.debian.org::debian/non-US/

add_backend /security/                                  \
        $APT_PROXY_CACHE/security/                      \
        security.debian.org::debian-security/           \
        non-us.debian.org::debian-security/

CLEANUP_DAYS=7
CLEAN_SWEEP=30
#MAX_VERSIONS=2
BACKEND_FREQ=240
RSYNC_TIMEOUT=30
#KEEP_STATS=1
#DEBUG=true
------------apt-proxy.conf------------

Und nun die passende "sources.list":

(wobei für "apt.proxy.server" natürlich der Server eingetragen werden muß,
auf dem apt-proxy läuft.)

------------sources.list------------
deb http://apt.proxy.server:9999/main potato main contrib non-free
deb http://apt.proxy.server:9999/non-US potato/non-US main contrib non-free
deb http://apt.proxy.server:9999/security potato/updates main contrib
non-free

deb http://apt.proxy.server:9999/main woody main contrib non-free
deb http://apt.proxy.server:9999/non-US woody/non-US main contrib non-free
#deb http://apt.proxy.server:9999/security woody/updates main contrib
non-free

deb http://apt.proxy.server:9999/main sid main contrib non-free
deb http://apt.proxy.server:9999/non-US sid/non-US main contrib non-free
#deb http://apt.proxy.server:9999/security sid/updates main contrib non-free
------------sources.list------------

hoffe das hilft euch weiter.

Gruß
Micha


-- 
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: