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

Re: apt-proxy



I'll try that. Thanks for the help.

On 11/20/06, Joshua J. Kugler <joshua@eeinternet.com> wrote:
I really don't know...I'm sorry.  Have you tried e-mailing the apt-proxy list?

j

On Monday 20 November 2006 04:57, Rodrigo Castro wrote:
> 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.
>
> On 11/14/06, Joshua J. Kugler <joshua@eeinternet.com> wrote:
> > On Tuesday 14 November 2006 02:11, Rodrigo Castro wrote:
> > > After apt-proxy --config-file=/etc/apt-proxy/apt- proxy-v2.conf the
> >
> > output
> >
> > > would stop. But when I apt-get update the client fails to connect and I
> > > get:
> >
> > I really don't know.  The message below all look like regular messages, I
> > really don't see any error messages.  What kind of "connect" error do you
> > get
> > from the client?  Connection refused?  Connection timed out?  Is your
> > firewall open between your client and your server?
> >
> > j
> >
> > > 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
> > > 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
> > >
> > > On 11/13/06, Joshua J. Kugler <joshua@eeinternet.com> wrote:
> > > > On Monday 13 November 2006 04:00, Rodrigo Castro wrote:
> > > > > I changed the port, now when I enter
> > > > > apt-proxy --config-file=/etc/apt-proxy/apt-proxy-v2.conf
> > > > > I get this output and it stops there:
> > > >
> > > > That looks right...does it still not respond on the configured port?
> > > >
> > > > j
> > > >
> > > > > /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/13 10:41 BRST [-] Log opened.
> > > > > 2006/11/13 10:41 BRST [-] apt_proxy.apt_proxy.Factory starting on
> >
> > 9998
> >
> > > > > 2006/11/13 10:41 BRST [-] Starting factory
> >
> > <apt_proxy.apt_proxy.Factory
> >
> > > > > instance at 0xa774850c>
> > > > > 2006/11/13 10:41 BRST [-] [debug] Will do periodic cleaup in 86400
> >
> > sec
> >
> > > > > 2006/11/13 10:41 BRST [-] [debug] Creating Backend: debian
> > > > > 2006/11/13 10:41 BRST [-] [debug] Created new BackendServer:
> > > > > http://ftp.br.debian.org/debian
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [db] Dumping update times
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > > > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > > > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > > > /var/cache/apt-proxy/.apt-proxy/db/update.db
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [db] Dumping access times
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > > > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > > > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > > > /var/cache/apt-proxy/.apt-proxy/db/access.db
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [db] Dumping packages
> > > > > 2006/11/13 10:41 BRST [-] [db] =========================
> > > > > 2006/11/13 10:41 BRST [-] [debug] Verifying database:
> > > > > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > > > > 2006/11/13 10:41 BRST [-] [debug] Opening database
> > > > > /var/cache/apt-proxy/.apt-proxy/db/packages.db
> > > > >
> > > > > On 11/11/06, Rodrigo Castro <rdccosmo@gmail.com > wrote:
> > > > > > Didn't see that, my mistake. Thank you all.
> > > > > >
> > > > > > On 11/10/06, Joshua J. Kugler < joshua@eeinternet.com> wrote:
> > > > > > > On Friday 10 November 2006 11:29, Rodrigo Castro wrote:
> > > > > > > > 2006/11/10 18:24 BRST [-]
> > > > > > > > twisted.internet.error.CannotListenError
> > > > > > > >
> > > > > > > > Couldn't listen on 192.168.1.11:9999 : (98, 'Address already
> >
> > in
> >
> > > > > > > > use').
> > > > > > >
> > > > > > > There is your problem right there: there is already a program
> > > >
> > > > listening
> > > >
> > > > > > > on
> > > > > > > port 9999, so it couldn't bind to that port.
> > > > > > >
> > > > > > > j
> > > > > > >
> > > > > > > --
> > > > > > > Joshua Kugler
> > > > > > > Lead System Admin -- Senior Programmer
> > > > > > > http://www.eeinternet.com
> > > > > > > PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> > > > > > > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax:
> > > > > > > 907-456-3111
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > > > > > > with a subject of "unsubscribe". Trouble? Contact
> > > > > > > listmaster@lists.debian.org
> > > > > >
> > > > > > --
> > > > > > ________________________________
> > > > > > Rodrigo de Castro Cosme
> > > > > > Ciência da Computação - UFES
> > > > > > Suporte mailing list - suporte@inf.ufes.br
> > > > > > MSN - rdccosmo@gmail.com
> > > >
> > > > --
> > > > Joshua Kugler
> > > > Lead System Admin -- Senior Programmer
> > > > http://www.eeinternet.com
> > > > PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> > > > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax:
> >
> > 907-456-3111
> >
> > --
> > Joshua Kugler
> > Lead System Admin -- Senior Programmer
> > http://www.eeinternet.com
> > PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111




--
________________________________
Rodrigo de Castro Cosme
Ciência da Computação - UFES
Suporte mailing list - suporte@inf.ufes.br
MSN - rdccosmo@gmail.com
Reply to: