[apt-proxy-users] Fwd: apt-proxy

Chris Halls halls at debian.org
Mon Dec 4 18:44:29 CET 2006


Hi

It looks like all is OK in your configuration. I wonder if there was a problem 
connecting to the backend server (ftp.br.debian.org). What happens if you try 
using another server?

Chris

On Tuesday 21 November 2006 16:40, Rodrigo Castro wrote:
> Hello, if anyone could help me, I have this problem:
>
> The client would give this output:
> (I'm sending the apt- proxy-v2.conf and the clients sources.list if anyone
> could take a look to help me)
> apt-get update
> Err http://192.168.1.6 etch Release.gpg
>   Bad header line
> Ign http://192.168.1.6 etch Release
> Ign http://192.168.1.6 etch/main Packages
> Err http://192.168.1.6 etch/main Packages
>   Connection failed
> Failed to fetch http://192.168.1.6:10001/debian/dists/etch/Release.gpg  
> Bad header line
> Failed to fetch
> http://192.168.1.6:10001/debian/dists/etch/main/binary-i386/Packages.gz
>   Connection failed
> Reading package lists... Done
> W: Couldn't stat source package list http://192.168.1.6 etch/main Packages
> (/var/lib/apt/lists/192.168.1.6:10001_debian_dists_etch_main_binary-i386_Pa
>ckages) - stat (2 No such file or directory)
> W: You may want to run apt-get update to correct these problems
> E: Some index files failed to download, they have been ignored, or old ones
> used instead.
>
>
>
>
> And the server:
>
>
>
>
> apt-proxy --config-file=/etc/apt-proxy/apt- proxy-v2.conf
>
> > /usr/lib/python2.4/site-packages/twisted/manhole/telnet.py:8:
> > DeprecationWarning: As of Twisted 2.1, twisted.protocols.telnet is
> > deprecated.  See twisted.conch.telnet for the current, supported API.
> >   from twisted.protocols import telnet
> > 2006/11/14 09:05 BRST [-] Log opened.
> > 2006/11/14 09:05 BRST [-] apt_proxy.apt_proxy.Factory starting on 9997
> > 2006/11/14 09:05 BRST [-] Starting factory <apt_proxy.apt_proxy.Factory
> > instance at 0xa774524c>
> > 2006/11/14 09:05 BRST [-] [debug] Will do periodic cleaup in 86400 sec
> > 2006/11/14 09:05 BRST [-] [debug] Creating Backend: debian
> > 2006/11/14 09:05 BRST [-] [debug] Created new BackendServer:
> > http://ftp.br.debian.org/debian
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [db] Dumping update times
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > 2006/11/14 09:05 BRST [-] [debug] Opening database
> > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [db] Dumping access times
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > 2006/11/14 09:05 BRST [-] [debug] Opening database
> > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [db] Dumping packages
> > 2006/11/14 09:05 BRST [-] [db] =========================
> > 2006/11/14 09:05 BRST [-] [debug] Verifying database:
> > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > 2006/11/14 09:05 BRST [-] [debug] Opening database
> > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [Request] New Request,
> > queued=0
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [debug] Header: Host:
> > 192.168.1.6:9997
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [debug] Header:
>
> Connection:
> > keep-alive
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [debug] Header:
>
> User-Agent:
> > Debian APT-HTTP/1.3
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [debug] Headers: Host:
> > 192.168.1.6:9997, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [Request] Request: GET
> > /debian/dists/etch/Release.gpg backend=debian
> > uri=/debian/dists/etch/Release.gpg
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [debug] backend: debian
> > [<apt_proxy.apt_proxy.BackendServer instance at 0xa74c6c8c>]
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [debug] New Cache entry:
> > dists/etch/Release.gpg
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11 ] [CacheEntry] start
> > download:dists/etch/Release.gpg
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11 ] [DownloadQueuePerClient]
> > Adding new queue for client id 9
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11] [DownloadQueue] start next
> > download (debian/dists/etch/Release.gpg)
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [DownloadQueue] creating
>
> new
>
> > fetcher
> > 2006/11/14 09:06 BRST [Channel,0,192.168.1.11 ] [fetcher] fetcher start:
> > Release.gpg
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [Fetcher] Downloading:
> > /var/cache/apt-proxy/debian/dists/etch/Release.gpg
> > 2006/11/14 09:06 BRST [Channel,0, 192.168.1.11] [fetcher] Connecting to
> > backend server (debian)
> > http://ftp.br.debian.org:80<http://ftp.br.debian.org/> 2006/11/14 09:06
> > BRST [Channel,0, 192.168.1.11] Starting factory
> > <apt_proxy.fetchers.HttpFetcher instance at 0xa74d31ec>
> > 2006/11/14 09:06 BRST [Uninitialized] [Fetcher] Connected to
> > http://ftp.br.debian.org/debian
> > 2006/11/14 09:06 BRST [Uninitialized] [Fetcher]
> > downloading:dists/etch/Release.gpg mtime:None
> > 2006/11/14 09:06 BRST [Uninitialized] [http_client]
> > GET:/debian/dists/etch/Release.gpg
> > 2006/11/14 09:06 BRST [Uninitialized] [http_client] host sendHeader:
> > ftp.br.debian.org
> > 2006/11/14 09:06 BRST [FetcherHttpClient,client] [http-client]
> > clientConnectionLost reason=[Failure instance: Traceback (failure with no
> > frames): twisted.internet.error.ConnectionDone : Connection was closed
> > cleanly.
> >         ]
> > 2006/11/14 09:06 BRST [FetcherHttpClient,client] [Fetcher] Connection
> > closed for dists/etch/Release.gpg, state=1
> > 2006/11/14 09:06 BRST [FetcherHttpClient,client] Stopping factory
> > <apt_proxy.fetchers.HttpFetcher instance at 0xa74d31ec>
> > 2006/11/14 09:08 BRST [Channel,0,192.168.1.11 ] [Channel] Client
>
> connection
>
> > closed
> > 2006/11/14 09:08 BRST [Channel,0, 192.168.1.11] [Request] connectionLost
> > 2006/11/14 09:08 BRST [Channel,0, 192.168.1.11] [cacheEntry] Last request
> > removed
> > 2006/11/14 09:08 BRST [Channel,0, 192.168.1.11] [Backend] entry_done:
> > dists/etch/Release.gpg
> > Top 10:
> >        277 WeakKeyDictionary
> >         81 Exception
> >         35 Ephemeral
> >         31 DBError
> >         29 Logger
> >         24 StandardError
> >         24 Protocol
> >         23 ProtocolToConsumerAdapter
> >         17 Warning
> >         17 ValueError
> > 2006/11/14 09:08 BRST [Channel,1, 192.168.1.11] [Request] New Request,
> > queued=0
> > 2006/11/14 09:08 BRST [Channel,1, 192.168.1.11] [debug] Header: Host:
> > 192.168.1.6:9997
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] Header:
> > Connection: keep-alive
> > 2006/11/14 09:08 BRST [Channel,1, 192.168.1.11] [debug] Header:
>
> User-Agent:
> > Debian APT-HTTP/1.3
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11 ] [debug] Headers: Host:
> > 192.168.1.6:9997, Connection: keep-alive, User-Agent: Debian APT-HTTP/1.3
> > 2006/11/14 09:08 BRST [Channel,1, 192.168.1.11] [Request] Request: GET
> > /debian/dists/etch/Release.gpg backend=debian
> > uri=/debian/dists/etch/Release.gpg
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] backend: debian
> > [<apt_proxy.apt_proxy.BackendServer instance at 0xa74c6c8c>]
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11] [debug] New Cache entry:
> > dists/etch/Release.gpg
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11 ] [CacheEntry] start
> > download:dists/etch/Release.gpg
> > 2006/11/14 09:08 BRST [Channel,1,192.168.1.11 ] [DownloadQueue] queue
> > file debian/dists/etch/Release.gpg
>
> I'm sending also the configuration files. Sorry for the long mail.



More information about the Apt-proxy-users mailing list