On Fri, Mar 28, 2008 at 09:57:54AM -0300, Eduardo Trápani wrote: > Could remove that and do, for example: > > http_proxy=http://localhost:3142 apt-get update
Yes, of course. I was just trying to show that this is working for me :) > On the client I get: > > apt-get update > Err http://ftp.us.debian.org testing/main Packages > Connection failed > > and so on for each file. > > On the server, error.log: > > Fri Mar 28 09:53:45 2008|debug [10783]: Apt-Cacher started with Debug output > enabled, accepting connections on 0.0.0.0:9999 > Fri Mar 28 09:53:54 2008|debug [10783]: Connection from 172.16.1.65 > Fri Mar 28 09:53:54 2008|debug [10783]: registred child process: 10784 > Fri Mar 28 09:53:54 2008|debug [10784]: New Daemon connection > Fri Mar 28 09:53:54 2008|debug [10784]: testing denied_hosts > Fri Mar 28 09:53:54 2008|debug [10784]: Client 172.16.1.65 passed access > control rules > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: GET > http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > HTTP/1.1 > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: Host: ftp.us.debian.org > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: Cache-Control: max-age=0 > Fri Mar 28 09:53:54 2008|debug [10784]: Request specified Cache-Control: > max-age=0 > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: If-Modified-Since: Thu, 27 Mar > 2008 08:09:53 GMT > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: User-Agent: Debian APT-HTTP/1.3 > Fri Mar 28 09:53:54 2008|debug [10784]: Processing a new request line > Fri Mar 28 09:53:54 2008|debug [10784]: got: Fri Mar 28 09:53:54 2008|debug > [10784]: Checking host ftp.us.debian.org in absolute URI > Fri Mar 28 09:55:54 2008|debug [10783]: Connection from 172.16.1.65 > Fri Mar 28 09:55:54 2008|debug [10783]: registred child process: 10813 > Fri Mar 28 09:55:54 2008|debug [10813]: New Daemon connection > Fri Mar 28 09:55:54 2008|debug [10813]: testing denied_hosts > Fri Mar 28 09:55:54 2008|debug [10813]: Client 172.16.1.65 passed access > control rules > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: GET > http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > HTTP/1.1 This is a second request for the same file. Not sure why apt is doing that. > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: Host: ftp.us.debian.org > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: Cache-Control: max-age=0 > Fri Mar 28 09:55:54 2008|debug [10813]: Request specified Cache-Control: > max-age=0 > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: If-Modified-Since: Thu, 27 Mar > 2008 08:09:53 GMT > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: User-Agent: Debian APT-HTTP/1.3 > Fri Mar 28 09:55:54 2008|debug [10813]: Processing a new request line > Fri Mar 28 09:55:54 2008|debug [10813]: got: Fri Mar 28 09:55:54 2008|debug > [10813]: Checking host ftp.us.debian.org in absolute URI > Fri Mar 28 09:57:03 2008|debug [10784]: Host in Absolute URI is not this > server > Fri Mar 28 09:57:03 2008|debug [10784]: Resolved request is > /ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > Fri Mar 28 09:57:03 2008|debug [10784]: new index file: > ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages.gz > Fri Mar 28 09:57:03 2008|debug [10784]: looking for > /var/cache/apt-cacher/packages/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages.gz > Fri Mar 28 09:57:03 2008|debug [10784]: known as index file: Packages.gz > Fri Mar 28 09:57:03 2008|debug [10784]: Init new libcurl object > Fri Mar 28 09:57:03 2008|debug [10784]: download agent: setting up for HEAD > request > Fri Mar 28 09:57:03 2008|debug [10784]: download agent: getting > http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > Fri Mar 28 09:57:04 2008|debug [10784]: libcurl download of headers complete > Fri Mar 28 09:57:04 2008|debug [10784]: ETag headers different, > "10ca0002-647f33-44970d2b3b4c0" <-> "45dc0ee-648870-cb91a440". Refreshing > cached file > Fri Mar 28 09:57:04 2008|debug [10784]: EXPIRED > Fri Mar 28 09:57:04 2008|debug [10784]: Entering critical section : file > download decision > Fri Mar 28 09:57:04 2008|debug [10784]: no fetcher running, downloading > Fri Mar 28 09:57:04 2008|debug [10784]: file does not exist or download > required, forking fetcher > Fri Mar 28 09:57:04 2008|debug [10784]: registered child process: 10878 > Fri Mar 28 09:57:04 2008|debug [10784]: checks done, can return now > Fri Mar 28 09:57:04 2008|debug [10878]: fetcher: try to fetch > http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > Fri Mar 28 09:57:04 2008|debug [10878]: Exiting critical section > Fri Mar 28 09:57:04 2008|debug [10878]: download agent: setting up for GET > request > Fri Mar 28 09:57:04 2008|debug [10878]: download agent: getting > http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.gz > Fri Mar 28 09:57:04 2008|debug [10878]: libcurl download of headers complete > Fri Mar 28 09:57:04 2008|debug [10878]: Entering critical section : libcurl, > storing the header to > /var/cache/apt-cacher/headers/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages.gz > Fri Mar 28 09:57:04 2008|debug [10878]: Exiting critical section > Fri Mar 28 09:57:05 2008|debug [10784]: Entering critical section : reading > the header file > Fri Mar 28 09:57:05 2008|debug [10784]: Exiting critical section > Fri Mar 28 09:57:05 2008|debug [10784]: Header sent: HTTP/1.0 200 (OK) OK > Connection: Keep-Alive > Accept-Ranges: bytes > ETag: "45dc0ee-648870-cb91a440" > Content-Length: 6588528 > Content-Type: application/x-gzip > Last-Modified: Fri, 28 Mar 2008 08:07:37 GMT > > Fri Mar 28 09:57:05 2008|debug [10784]: ready to send contents of > /var/cache/apt-cacher/packages/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages.gz > Fri Mar 28 09:57:05 2008|debug [10784]: opening file first: > /var/cache/apt-cacher/packages/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages.gz > Fri Mar 28 09:57:05 2008|debug [10784]: read 16384 bytes Is this log complete? PID 10784 just stops here. Can you check if there is anything else logged by it? If it is hanging, there should be a timeout (after 5 minutes in the default config). This is a second report of problems in return_file(), and you are both using ftp.us.debian.org. Don't know if that is significant. Could you try another mirror temporarily? Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]