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

Re: apt-proxy will nicht



Dirk Haage wrote:
Am Die, 2002-04-02 um 22.13 schrieb Gerhard Engler:


Wenn ich jetzt allerdings apt-get update eingebe erhalte ich:

Err http://gustav.duck woody/main Packages
  Connection failed
Err http://gustav.duck woody/main Release
  Connection failed
Err http://gustav.duck woody/contrib Packages
  Connection failed
Err http://gustav.duck woody/contrib Release
  Connection failed
Err http://gustav.duck woody/non-free Packages
  Connection failed
Err http://gustav.duck woody/non-free Release
  Connection failed
Err http://gustav.duck woody/non-US/main Packages
  Connection failed
Err http://gustav.duck woody/non-US/main Release
  Connection failed

...
Failed to fetch hppt://gustav.duck:9999/main/dists/woody/main/binary-i386/Packages Connection failed

...

apt-proxy läuft aber.


Schick doch mal bitte die relevanten Teile aus /etc/apt/sources.list
/etc/apt-proxy/apt-proxy.conf und /etc/inetd.conf

/dirk

Sehr gerne:

/etc/apt/sources.list

...
deb http://gustav.duck:9999/main woody main contrib non-free
deb http://gustav.duck:9999/non-US woody non-US/main
...


/etc/apt-proxy/apt-proxy.conf
...
add_backend /main/					\
	$APT_PROXY_CACHE/debian/			\
	ftp.us.debian.org::debian/			\
	ftp.de.debian.org::debian/			\
	ftp2.de.debian.org::debian/			\
	ftp.uk.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/		\
	ftp.uk.debian.org::debian/non-US/

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

CLEANUP_DAYS=7
CLEAN_SWEEP=30
#MAX_VERSIONS=2
BACKEND_FREQ=240
RSYNC_TIMEOUT=30
#KEEP_STATS=1
DEBUG=true


/etc/inetd.conf
...
linuxconf stream tcp wait root /bin/linuxconf linuxconf --http 9999 stream tcp nowait.400 aptproxy /usr/sbin/tcpd /usr/sbin/apt-proxy -l /var/log/apt-proxy.log
...


In der /var/log/apt-proxy.log steht ständig:

/usr/sbin/apt-proxy: /etc/apt-proxy/apt-proxy.conf: Permission denied


Ein ls /var/cache/ -la ergibt:

insgesamt 64
drwxr-xr-x   16 root     root         4096 29. Mär 23:15 .
drwxr-xr-x   17 root     root         4096  3. Mär 19:49 ..
...
drwxr-xr-x    5 aptproxy root         4096 29. Mär 09:35 apt-proxy
...


Ein ls /var/cache/apt-proxy -la ergibt:

insgesamt 20
drwxr-xr-x    5 aptproxy root         4096 29. Mär 09:35 .
drwxr-xr-x   16 root     root         4096 29. Mär 23:15 ..
drwxr-xr-x    2 aptproxy root         4096 29. Mär 09:35 debian
drwxr-xr-x    2 aptproxy root         4096 29. Mär 09:35 non-US
drwxr-xr-x    2 aptproxy root         4096 29. Mär 09:35 security

Vielen Dank!



Gerhard


--
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)



Reply to: