29.08.2014, 21:31 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
wora
15 Titel: apt-proxy funktioniert nicht mit Kanotix sourcen  BeitragVerfasst am: 01.11.2006, 21:58 Uhr



Anmeldung: 13. Feb 2006
Beiträge: 9

Hallo,
versuche fuer meine Kanotix Boaxen einen apt-proxy einzurichten nach Wiki.
Funktioniert aber nicht richtig, nachdem ich den Kanotix Eintrag in der apt-proxy-v2.conf wie unten gemacht habe.

Hier der Ausschnitt aus der apt-proxy-v2.conf des servers:

;[Kanotix]
backends = http://kanotix.com/files/debian

und hier die sources.list des Clients:

# 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.

# Unstable
deb http://192.168.3.50:9999/debian unstable main contrib non-free
deb-src http://192.168.3.50:9999/debian unstable main contrib non-free

# Testing
deb http://192.168.3.50:9999/debian testing main contrib non-free
deb-src http://192.168.3.50:9999/debian testing main contrib non-free

# Experimental
# deb http://192.168.3.50:9999/debian experimental main contrib non-free
# deb-src http://192.168.3.50:9999/debian experimental main contrib non-free

# Kanotix
deb http://192.168.3.50:9999/files/debian sid main contrib non-free vdr
deb-src http://192.168.3.50:9999/files/debian sid main contrib non-free vdr

Hier noch der Aussschnitt aus der /var/log/apt-proxy.log des servers:
2006/11/01 22:46 CET [Channel,24,192.168.3.60] [CacheEntry] start download:debian/dists/sid/non-free/binary-i386/Packages.gz
2006/11/01 22:48 CET [-] Received SIGTERM, shutting down.
2006/11/01 22:48 CET [-] (Port 9999 Closed)
2006/11/01 22:48 CET [-] Stopping factory <apt_proxy.apt_proxy.Factory instance at 0xb74e8ecc>
2006/11/01 22:48 CET [-] Main loop terminated.
2006/11/01 22:48 CET [-] Server Shut Down.
2006/11/01 22:48 CET [-] Log opened.
2006/11/01 22:48 CET [-] twistd 2.4.0 (/usr/bin/python 2.4.4) starting up
2006/11/01 22:48 CET [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
2006/11/01 22:48 CET [-] Loading /usr/sbin/apt-proxy...
2006/11/01 22:48 CET [-] /usr/lib/python2.4/site-packages/twisted/manhole/telnet.py:8: exceptions.DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is deprecated. See twisted.conch.telnet for the current, supported API.
2006/11/01 22:48 CET [-] Loaded.
2006/11/01 22:48 CET [-] apt_proxy.apt_proxy.Factory starting on 9999
2006/11/01 22:48 CET [-] Starting factory <apt_proxy.apt_proxy.Factory instance at 0xb753decc>
2006/11/01 22:48 CET [-] set uid/gid 118/65534
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:dists/unstable/Release.gpg
2006/11/01 22:48 CET [Channel,0,192.168.3.60] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb7552acc>
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:dists/testing/Release.gpg
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:debian/dists/sid/Release.gpg
2006/11/01 22:48 CET [Channel,0,192.168.3.60] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb75580ec>
2006/11/01 22:48 CET [-] "[error] [None] Connection Failed: /debian/dists/sid/Release.gpg (DNS lookup failed: address 'files' not found: (-5, 'No address associated with hostname').)"
2006/11/01 22:48 CET [-] [CacheEntry] download_failure /var/cache/apt-proxy/files/debian/dists/sid/Release.gpg: (503) [Failure instance: Traceback (failure with no frames): twisted.internet.error.DNSLookupError: DNS lookup failed: address 'files' not found: (-5, 'No address associated with hostname').
]
2006/11/01 22:48 CET [-] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb75580ec>
2006/11/01 22:48 CET [FetcherHttpClient,client] [fetcher] (dists/unstable/Release.gpg) up_to_date
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/debian/dists/unstable/Release.gpg
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/debian/dists/unstable/Release.gpg
2006/11/01 22:48 CET [FetcherHttpClient,client] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb756416c>
2006/11/01 22:48 CET [FetcherHttpClient,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb7552acc>
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] file_sent:/var/cache/apt-proxy/debian/dists/unstable/Release.gpg
2006/11/01 22:48 CET [FetcherHttpClient,client] [fetcher] (dists/testing/Release.gpg) up_to_date
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/debian/dists/testing/Release.gpg
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/debian/dists/testing/Release.gpg
2006/11/01 22:48 CET [FetcherHttpClient,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb756416c>
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] file_sent:/var/cache/apt-proxy/debian/dists/testing/Release.gpg
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:dists/unstable/Release
2006/11/01 22:48 CET [Channel,0,192.168.3.60] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb7562b6c>
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:dists/testing/Release
2006/11/01 22:48 CET [Channel,0,192.168.3.60] [CacheEntry] start download:debian/dists/sid/Release
2006/11/01 22:48 CET [Channel,0,192.168.3.60] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/selectreactor.py", line 139, in _doReadOrWrite
why = getattr(selectable, method)()
File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 348, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 232, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1004, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line 374, in allContentReceived
http.HTTPChannel.allContentReceived(self)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived
self.process()
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line 282, in process
self.cacheEntry.add_request(self)
File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 98, in add_request
self.get()
File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 157, in get
self.start_download()
File "/usr/lib/python2.4/site-packages/apt_proxy/cache.py", line 285, in start_download
self.backend.start_download(self)
File "/usr/lib/python2.4/site-packages/apt_proxy/apt_proxy.py", line 139, in start_download
self.queue.addFile(entry)
File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 1093, in addFile
q.addFile(cacheEntry)
File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 1006, in addFile
self.startNextDownload()
File "/usr/lib/python2.4/site-packages/apt_proxy/fetchers.py", line 1032, in startNextDownload
if self.fetcher.backendServer.backend != self.activeFile.backend:
exceptions.AttributeError: 'NoneType' object has no attribute 'backend'

2006/11/01 22:48 CET [Channel,1,192.168.3.60] [CacheEntry] start download:dists/testing/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] [fetcher] (dists/unstable/Release) up_to_date
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/debian/dists/unstable/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/debian/dists/unstable/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb61e1aec>
2006/11/01 22:48 CET [FetcherHttpClient,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb7562b6c>
2006/11/01 22:48 CET [FetcherHttpClient,client] [fetcher] (dists/testing/Release) up_to_date
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/debian/dists/testing/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/debian/dists/testing/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] Starting factory <apt_proxy.fetchers.HttpFetcher instance at 0xb6204c4c>
2006/11/01 22:48 CET [FetcherHttpClient,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb61e1aec>
2006/11/01 22:48 CET [FetcherHttpClient,client] [fetcher] (dists/testing/Release) up_to_date
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/debian/dists/testing/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/debian/dists/testing/Release
2006/11/01 22:48 CET [FetcherHttpClient,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0xb6204c4c>
2006/11/01 22:48 CET [Channel,1,192.168.3.60] [CacheEntry] start download:debian/dists/sid/Release

Irgendwie gibt es da auch ein python problem ( siehe log), bin aber kein python experte?

Hat irgendjemand eine Idee was ich faslch gemacht habe?

Vielen Dank im voraus.

Gruss
Wora


Zuletzt bearbeitet von wora am 02.11.2006, 12:30 Uhr, insgesamt ein Mal bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
rufuchs
Titel: apt-proxy funktioniert nicht mit Kanotix sourcen  BeitragVerfasst am: 01.11.2006, 23:48 Uhr



Anmeldung: 13. Aug 2005
Beiträge: 17

Hallo Wora

so apt-proxy-v2.conf des servers:

[kanotix]
backends = http://kanotix.com/files/debian

und so sources.list auf dem Client:

# Kanotix
deb http://192.168.3.50:9999/kanotix sid main contrib non-free
deb-src http://192.168.3.50:9999/kanotix sid main contrib non-free

MfG

Rüdiger
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
wora
15 Titel: apt-proxy funktioniert jetzt  BeitragVerfasst am: 02.11.2006, 12:15 Uhr



Anmeldung: 13. Feb 2006
Beiträge: 9

Hallo Ruediger,
funzt jetzt javascript:emoticon('Lachen'), das Aufsetzen der apt-proxy-v2.conf habe ich am Anfang wohl nicht richtig verstanden.

Nochmals vielen Dank fuer die schnelle Hilfe.

Gruss
Wora
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.