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

APT-Proxy funktioniert bei mir nicht;-((



Hallo,

ich hatte mich jetzt nach der Anfrage hier entschlossen, auf meinem Server  
apt-proxy (Woody, apt-proxy 1.3.0 original aus Woody) zu installieren. Nur  
leider funktioniert der ueberhaupt nicht richtig;-(

Ich haette hier auch gerne die apt-proxy.log (debug=true) eingestellt, nur  
beschreibt er die ab einem bestimmten Punkt nicht mehr: ich habe einen  
request wg. fehlerhaftem Eintrag in der apt-proxy.conf abgebrochen, den  
Eintrag verbessert.
In der logdatei stand danach etwas von "found lock" oder so aehnlich, ich  
vermute, er hat nicht mitgekriegt, dass der download abgebrochen wurde.  
Daraufhin habe ich das betroffene Verzeichnis (in diesem Fall kde genannt)  
einfach geloescht und die apt-proxy.log wg. Unuebersichtlichkeit geleert  
(nein, nicht geloescht). Danach ging gar nix mehr. apt-proxy (bzw. apt-get  
update) meldet immer nur noch auf der Konsole "connection error", alles  
flutscht sehr schnell durch und das Ding ist nicht mehr dazu zu bewegen,  
einen externen Connect zu starten. Den kriege ich erst wieder hin, wenn  
ich apt-proxy purge und komplett neu installiere! Das kann's doch  
irgendwie nicht sein, oder!?
Ausserdem ist das ganze unsagbar langsam, sehr oft wird "Timeout"  
gemeldet. Ich bin jetzt mal so frei und haenge meine sources.list und  
meine apt-proxy.conf untendran, vielleicht findet ja jemand einen Fehler.
BTW: direkt in sources.list funktionieren selbstverstaendlich alle links!
Mein Server heisst tatsaechlich server, und mit der IP stattdessen habe  
ich dieselben Probleme. Die Probleme sind auch dieselben, egal ob ich apt- 
get vom server starte oder den apt-get vom client-Rechner.

==== Die sources.list (die CD-Eintraege habe ich mal geloescht) ====

#### Debian Security updates
deb http://server:9999/security/ stable/updates main contrib non-free

#### Backup fuer Security updates
## deb ftp://ftp.de.debian.org/debian-security stable/updates main contrib non-free

#### Debian aktuell halten
deb http://server:9999/main/ stable main contrib non-free
deb http://server:9999/non-US/ stable/non-US main contrib non-free

#### KDE
deb ftp://server:9999/kde/ stable main

#### Backport Kernel 2.4.24-i386 von Norbert Tretkowski
deb http://server:9999/backports-org/ stable kernel-image-2.4.24-i386
deb-src http://server:9999/backports-org/ stable kernel-image-2.4.24-i386

#### Backport Browser Mozilla von Norbert Tretkowski
deb http://server:9999/backports-org/ stable mozilla
deb http://server:9999/backports-org/ stable mozilla-locale-de-at

#### Backport Entpacker Unrar von Norbert Tretkowski
deb http://server:9999/backports-org/ stable unrar

#### Backport f. diverse plugins von Christian Marillat (z.B. acroread)
deb ftp://server:9999/marillat/ stable main

#### Backport Realplayer 8.0.9
deb http://server:9999/realplayer/ stable main

#### Backport-Pakete von Adrian Bunk
# deb http://server:9999/bunk woody/bunk-1 main contrib non-free

==== sources.list ENDE ====

==== apt-proxy.conf ====
# 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.

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

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

# KDE
add_backend /kde/						\
	$APT_PROXY_CACHE/kde/					\
	ftp://ftp.kde.org/pub/kde/stable/latest/Debian/	

# backports.org von Norbert Tretkowski
add_backend /backports-org/					\
	$APT_PROXY_CACHE/backports-org/				\
	http://www.backports.org/debian/

# Moll (K3b)
add_backend /moll/						\
	$APT_PROXY_CACHE/moll/					\
	http://www.planet-moll.de/debian/	

# Marillat (acroread)
add_backend /marillat/						\
	$APT_PROXY_CACHE/marillat/				\
	ftp://ftp.nerim.net/debian-marillat/	

# Realplayer
add_backend /realplayer/					\
	$APT_PROXY_CACHE/realplayer/				\
	http://www.jarre-the-net.de/computing/debian/	

# JAVA Runtime environment 1.1
add_backend /java/						\
	$APT_PROXY_CACHE/java/					\
	ftp://ftp.gwdg.de/pub/languages/java/linux/debian/	

# Video LAN Client VLC von videolan.org
add_backend /vlc/						\
	$APT_PROXY_CACHE/vlc/					\
	http://download.videolan.org/pub/videolan/debian/	

# Bunk
add_backend /bunk/						\
	$APT_PROXY_CACHE/bunk/					\
	http://www.fs.tum.de/~bunk/debian/	


# Here are some more examples:
#
#Emdebian project
# add_backend /emdebian/ 				\
#	$APT_PROXY_CACHE/emdebian/ 			\
#	http://emdebian.sourceforge.net/emdebian/
#
#Blackdown jave
# add_backend /blackdown/ 				\
#	$APT_PROXY_CACHE/blackdown/ 			\
#	http://ftp.gwdg.de/pub/languages/java/linux/debian/
#
#apt-proxy repository
# see: http://apt-proxy.sourceforge.net/apt-proxy/README
# add_backend /apt-proxy/				\
#	$APT_PROXY_CACHE/apt-proxy/			\
#	http://apt-proxy.sourceforge.net/apt-proxy/


############################## 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=14

#	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

#	Number of seconds for wget to wait to connect before timing out.
WGET_TIMEOUT=30

#       Uncomment to change the path to wget, or add extra options.  For
#       example, if you are behind a firewall that does not allow active
#       FTP, use WGET="wget --passive-ftp"
#WGET=wget

#       Uncomment to change the path to rsync or add extra options.
#RSYNC=rsync

#	Uncomment to keep stats of successful backend transfers in the log.
#KEEP_STATS=1

#	Uncomment this for debugging messages
DEBUG=true

==== apt-proxy.conf ENDE ====

Was mich am meisten irritiert ist, dass ab dem Loeschen eines /var/cache/ 
apt-proxy/Unterverzeichnis weder Pakete "gefetched" noch die debug- 
logdatei geschrieben werden!?


ciao, Dirk

Mailantworten bitte an dsalva AT nutrimatic.ping.de
Antworten an andere im Header stehende Adressen koennen verlorengehen!
--
|      Akkuschrauber-Kaufberatung and AEG-GSM-stuff       |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|    The "Ruhrgebiet", best place to live in Germany!     |



Reply to: