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

Re: [Debian]:apt-proxy Verzweiflung



Moin Stefan, 

weiß nicht, ob's noch aktuell ist,

ich habe bei mir apt-proxy so mehr oder weniger zum Laufen gekriegt.
Währenddessen hatte ich auch ähnliche Fehlermeldungen wie Du. 

Ich weiß auch nicht, was die genau bedeuten.

Mit viel probieren habe ich es jedenfalls hingekriegt meinen proxy von
ftp.at.debian.org zu betanken, mit ftp.de.debian.org hab ich das nicht
hingekriegt. Auch beim ftp.debian.org nicht. 

> Fehlermeldung bei 'apt-get update':
> 
> | Err http://localhost unstable/main Packages
> |   404 Not Found
> | 0% [Working]

Das kriegst Du auch manchmal noch, wenn's eigentlich schon laufen
sollte: apt-proxy muß sich ja erstmal die Pakete selber besorgen, bevor
es sie zur Verfügung stellen kann, und dann bricht dein apt-get
teilweise den Versuch ab, ein Paket zu holen. Wenn man eine Zeit
gewartet hat funktionierts dann meistens, dann ist das Paket da.

> User aptp angelegt.
> 
> # /etc/inetd.conf
> 9999   stream  tcp  nowait aptp  /usr/sbin/tcpd  /usr/sbin/apt-proxy

Sieht bei mir auch so aus.

> # /etc/hosts.allow
> apt-proxy: 127.0.0.1

bei mir 

apt-proxy: 127.0.0.1 192.168.1.  
> 
> # /etc/sources.list
> deb http://localhost:9999/ unstable main contrib non-free non-US/main non-US/contrib non-US/non-free

bei mir:

deb http://p100:9999/debian potato main contrib non-free 
deb http://p100:9999/debian-non-US potato/non-US main contrib non-free



> # /var/log/apt-proxy
> Mon Aug 28 23:57:13 CEST 2000 Got request http://localhost:9999/dists/unstable/non-US/contrib/binary-i386/Release
> lockfile: Try praying, giving up on "/home/ftp/pub/debianhttp://localhost:9999/dists/unstable/non-US/contrib/binary-i386/Release.lock";
> lockfile: Try praying, giving up on "/home/ftp/pub/debianhttp://localhost:9999/dists/unstable/non-US/contrib/binary-i386/Release.lock";
> Mon Aug 28 23:57:13 CEST 2000 Got request http://localhost:9999/dists/unstable/non-US/non-free/binary-i386/Packages.gz
> lockfile: Try praying, giving up on "/home/ftp/pub/debianhttp://localhost:9999/dists/unstable/non-US/non-free/binary-i386/Packages.lock";
> lockfile: Try praying, giving up on "/home/ftp/pub/debianhttp://localhost:9999/dists/unstable/non-US/non-free/binary-i386/Packages.gz.lock";
> 
> Ich hoffe die Informationen reichen aus.

ne, tun sie nicht.

hier noch mein /etc/apt-proxy/apt-proxy.conf

# PLEASE DO NOT EDIT THIS FILE !
# Use dpkg-reconfigure --priority=low apt-proxy instead
APT_PROXY_BASE="/debian/"
APT_PROXY_RSYNC_BACKENDS="ftp.at.debian.org::debian-ftp"
#COPY_UNSAFE_LINKS="--copy-unsafe-links"
LOCK_TIMEOUT="60"
APT_PROXY_LOGFILE=/var/log/apt-proxy

Und ich hab auch noch das Verzeichnis /debian/, das aptp gehört und er
darf da auch reinschreiben.

Also viel Glück 

Mukunda
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------
Anzahl der eingetragenen Mitglieder:     759


Reply to: