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

Re: apt-proxy - ich bin immer noch zu bloed



Hallo Rainer!

ich habe mittlerweile Deine Anregungen und die von Frank Schmitz
umgesetzt. Leider funktioniert es immer noch nicht.

Rainer Ellinger <rainer@ellinger.de> writes:

> Gerald.Preissler@gmx.de schrieb:
> > deb http://localhost:9999/main woody main contrib non-free
> >    $APT_PROXY_CACHE/debian/                        \
> 
> Hier ist der Pfad /debian

Erst mal eine minimale /etc/apt/sources.list :

--8<--
deb http://localhost:9999/debian woody main contrib non-free
--8=--

> >    http://ftp.de.debian.org::debian/                      \
> 
> Die "::" Syntax gehört zum rsync-Protokoll. Bei http kommst 
> stattdesssen ein "/" an diese Stelle.
> 

Die /etc/apt-proxy/apt-proxy.conf sieht mittlerweile so aus :

--8<--
add_backend /main/                                 \
   $APT_PROXY_CACHE/debian/                        \
   http://ftp.de.debian.org/debian/                      \

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

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

CLEANUP_DAYS=21
CLEAN_SWEEP=180
MAX_VERSIONS=3
#BACKEND_FREQ=240
RSYNC_TIMEOUT=30
DEBUG=true
--8=--

> Mehrere http-Server führen, soweit ich weiss, immer noch nicht zu einem 
> automatischen Fallback, sollte der erste davon nicht erreichbar sein. 
> Das gibt es nur mit rsync-Protokoll.

Was ist mit den beiden Servern beim security-backend? Sind die
identisch oder sollte ich für den zweiten ein zusätzliches Backend
anlegen?

Leider sieht das Ergebnis immer noch so aus :

--8<--
mycroft:/etc/apt-proxy# apt-get update
Err http://localhost woody/main Packages
  Connection failed
Err http://localhost woody/main Release
  Connection failed
Err http://localhost woody/contrib Packages
  Connection failed
Err http://localhost woody/contrib Release
  Connection failed
Err http://localhost woody/non-free Packages
  Connection failed
Err http://localhost woody/non-free Release
  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/main/binary-i386/Packages  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/main/binary-i386/Release  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/contrib/binary-i386/Packages  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/contrib/binary-i386/Release  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/non-free/binary-i386/Packages  Connection failed
Failed to fetch http://localhost:9999/debian/dists/woody/non-free/binary-i386/Release  Connection failed
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://localhost woody/main Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost woody/contrib Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://localhost woody/non-free Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
--8=--

Zur Config :

Apt-proxy läuft hier auf einem Rechner im lokalen Netz. Eine ziemlich
neue Woody-Installation. Namensauflösung und Routing scheinen ok, ich
komme jedenfalls mit lynx ohne Probleme auf die Seite
http://ftp.de.debian.org und kann da die Verzeichnisse sehen.

Ich hab' ja die Verbindung zwischen apt und apt-proxy in
Verdacht. Kann mir jemand eine Empfehlung geben, wie ich die austesten
kann?

Etwas ratlos

        Jerry



Reply to: