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

Probleme mit apt-proxy



Hi,

ich habe in letzter Zeit Probleme mit apt-proxy, er holt einfach keine
sourcen mehr und downloaden will er auch nichts mehr.

Vielleicht habe ich auch einen Fehler in meiner apt-proxy.conf drin,
ich hänge sie mal als Attach dran.
Auch meine sources.list habe ich mal drangehängt, vielleicht sieht von
euch einer einen Fehler.

-- 
Gruss
Matthias
# 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...) http/ftp/rsync backends to replace it with (remember the trailing /!)

# You can specify multiple backends like this example:
#add_backend /debian/					\
#	$APT_PROXY_CACHE/debian/			\
#	http://SERVERONE/debian/			\
#	http://SERVERTWO/debian/			\

# HINT: Any request matching none of these is not served, making
# partial caching easy.
#
# You can also specify a different backend for control files
# by prefixing with a '+'.  This is particularly useful for
# using rsync for Packages and http/ftp for .deb/.tar.gzs
#
# This is a shell script and the backslashes at the end of
# the line denote that the line continues on the next line,
# so do not try to comment out one line without moving it!
#
# The 'deb' lines are examples that you can place in clients' 
# sources.list that correspond to the apt-proxy backends.

# Debian main
#deb http://APTPROXY:9999/debian stable main contrib non-free
#deb http://APTPROXY:9999/debian woody main contrib non-free
#deb http://APTPROXY:9999/debian sarge main contrib non-free
#deb http://APTPROXY:9999/debian sid main contrib non-free
#deb http://APTPROXY:9999/debian project/experimental/main/binary-$(ARCH)/

add_backend /debian/					\
	$APT_PROXY_CACHE/debian/			\
	http://ftp.de.debian.org/debian/		\
	http://ftp2.de.debian.org/debian/               \
	http://ftp.us.debian.org/debian/		\
	http://ftp.uk.debian.org/debian/                \
	+ftp.us.debian.org::debian/
	
# Debian non-US
#deb http://APTPROXY:9999/non-US stable/non-US main contrib non-free
#deb http://APTPROXY:9999/non-US woody/non-US main contrib non-free
#deb http://APTPROXY:9999/non-US sarge/non-US main contrib non-free
#deb http://APTPROXY:9999/non-US sid/non-US main contrib non-free

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://non-us.debian.org/			\
	http://ftp.uk.debian.org/debian-non-US/		\
	+ftp.de.debian.org::debian-non-US/

# Debian security
#deb http://APTPROXY:9999/security stable/updates main contrib non-free
#deb http://APTPROXY:9999/security woody/updates main contrib non-free
#deb http://APTPROXY:9999/security sarge/updates main contrib non-free

add_backend /security/					\
	$APT_PROXY_CACHE/security/			\
	http://security.debian.org/			

# DVDRip
add_backend /marillat/					\
	$APT_PROXY_CACHE/marillat/			\
	http://marillat.free.fr/			
	
# openoffice.org packages
#deb http://APTPROXY:9999/openoffice unstable main contrib
add_backend /openoffice/                                \
        $APT_PROXY_CACHE/openoffice/                    \
	http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/

add_backend /java-vm/                                   \
        $APT_PROXY_CACHE/java-vm/                       \
	+ftp.gwdg.de::pub/languages/java/linux/debian/

add_backend /css-xine/                                      \
        $APT_PROXY_CACHE/css-xine/                          \
	http://www.samfundet.no/debian/

#add_backend /wine/                                      \
#        $APT_PROXY_CACHE/wine/                          \
#	http://gluck.debian.org/~andreas/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/
#

# KDE3
# deb http://APTPROXY:9999/kde3 /
#add_backend /kde3/ $APT_PROXY_CACHE/kde/ http://kde3.geniussystems.net/debian/

# people.debian.org
#deb http://shawnaptproxy:8000/debian-people/~njordan kde3.0/
#add_backend /debian-people/ $APT_PROXY_CACHE/people/ http://people.debian.org/

# Chain several apt-proxies together by forwarding all requests to another
# apt-proxy.
#for I in debian non-US security openoffice ; do
#  add_backend /$I/                                        \
#        $APT_PROXY_CACHE/$I/                    	\
#        http://OTHERHOST:9999/$I/
#done


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

#	Once every n days, look through tree to erase any 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=440

#	Number of seconds for rsync to wait before timing out.
RSYNC_TIMEOUT=20

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

#       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 --passive-ftp --proxy=off"

#       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

#       HTTP/FTP proxy:  apt-proxy uses wget to retreive files.  Wget uses
#       the http_proxy and ftp_proxy environment variables, which can be set
#       like this:
#export http_proxy = http://proxy:8080/
#export ftp_proxy = http://proxy:8080/
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Gnome2 Testdesktop
deb http://idefix.idefix.loc:9999/debian ../project/experimental main

# Security Patches
deb http://idefix.idefix.loc:9999/security woody/updates main contrib non-free

# Unstable
#deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb http://idefix.idefix.loc:9999/debian/ unstable main non-free contrib
deb-src http://idefix.idefix.loc:9999/debian/ unstable main non-free contrib
deb http://idefix.idefix.loc:9999/non-US unstable/non-US main contrib non-free
deb-src http://idefix.idefix.loc:9999/non-US unstable/non-US main contrib non-free

# dvdrip and a lot of other packages
deb http://idefix.idefix.loc:9999/marillat/ unstable main

# Openoffice
deb http://idefix.idefix.loc:9999/openoffice/ unstable main contrib
deb-src http://idefix.idefix.loc:9999/openoffice/ unstable main contrib

# blackdown java-vm
#deb ftp://ftp.gwdg.de/pub/languages/java/linux/debian/ unstable main non-free
deb http://idefix.idefix.loc:9999/java-vm/ unstable main non-free

# Wine
#deb http://idefix.idefix.loc:9999/wine/ wine main

# CSS-Plugin fuer xine-dvd
deb http://idefix.idefix.loc:9999/css-xine/ woody css

Reply to: