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

apt-proxy - ich bin zu bloed



Hallo Leute,

irgendwie schaffe ich es nicht, apt-proxy bei mir ans Laufen zu
bekommen. Nach Studium des FM und der Liste bin ich zu folgenden
configs gekommen :

/etc/apt/sources.list :

deb http://localhost:9999/main woody main contrib non-free
deb http://localhost:9999/non-US woody/non-US main contrib non-free
deb http://localhost:9999/security woody/updates main contrib non-free

/etc/apt-proxy/apt-proxy.conf :

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

add_backend /non-US/                               \
   $APT_PROXY_CACHE/non-US/                        \
   http://ftp.de.debian.org::debian-non-US/               \
   http://ftp2.de.debian.org::debian-non-US/              \
   http://ftp.uk.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

in /etc/inetd.conf :

9999           stream  tcp     nowait.400      aptproxy
/usr/sbin/apt-proxy -l /var/log/apt-proxy.log

(normalerweise mit tcpd, aber zu Testzwecken mal ohne)

Beim apt-get update kommt folgende Fehlermeldung :


Err http://localhost woody/main Packages
  Connection failed
Err http://localhost woody/main Release
  Connection failed
[..]
Err http://localhost woody/updates/non-free Release
  Connection failed
Failed to fetch http://localhost:9999/main/dists/woody/main/binary-i386/Packages  Connection failed
Failed to fetch http://localhost:9999/main/dists/woody/main/binary-i386/Release  Connection failed
[..]
Failed to fetch http://localhost:9999/security/dists/woody/updates/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_main_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_main_dists_woody_contrib_binary-i386_Packages) - stat (2 No such file or directory)
[..]
W: Couldn't stat source package list http://localhost woody/updates/non-free Packages (/var/lib/apt/lists/localhost:9999_security_dists_woody_updates_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.


Kann mir bitte jemand sagen, wo mein Denkfehler liegt?

TIA
        Jerry



Reply to: