![]() |
Can't install SDK: apt-get timeouts inside scratchbox
Hi All!
I can't install Maemo 5 SDK because apt-get inside scratchbox timeouts! I know there are other threads about similar problems, but they might be different than mine: Problem with installing SDK in Ubuntu 9.10 repos down? Not able to connect to Repository I also tried the List of Repository Fixes, but the problems reported there where also different. Here's are the steps that I did before hitting the problem: First I tried to use the new GUI installer to install the SDK in a fresh Ubuntu 9.10 installation. It failed, so I tried the manual installation (which I used on another machine and worked flawlessly). All as well until I tried to install the Nokia proprietary binary packages inside scratchbox. Here's what I get: Code:
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install nokia-binaries nokia-apps Using tcpdump, I noticed that the request seemed just right, but the answer was: Code:
HTTP/1.0 408 Request Time-out I used the parameter "--print-uris" with apt-get to get the URL that was timing out, and tested it outside scratchbox (with Firefox), and the download worked just fine! Then I tested the URL inside scratchbox with wget, and it also worked fine! (Even with --user-agent='Debian APT-HTTP/1.3') So this is not a server problem and perhaps not a scratchbox problem since it happens only with apt-get (inside scratchbox). Does anyone have any idea of what can be causing this, and how to solve it? Thanks in advance! |
Re: Can't install SDK: apt-get timeouts inside scratchbox
I noticed that, in my case, apt-get was requesting many files "at once" from the server. This was failing, while a single request to the server (using wget or Firefox) seemed to work.
With that in mind, I solved the timeouts changing: Code:
fakeroot apt-get install nokia-binaries nokia-apps I hope this might help someone with the same problem. []s! |
Re: Can't install SDK: apt-get timeouts inside scratchbox
I think this problem might be caused by the router I'm using now, or maybe the ISP, because the same thing happened on the N900.
I used the App. manager on the N900 to install the Maemo PC Connectivity packages, but it was failing. The progression bar never changed and the installation was aborted after a while, and I could see the timeout messages on the App. manager log. So, I used apt-get on an X Terminal with the same options (-o Acquire::http::Pipeline-Depth=4), and voilą! It worked! :) |
All times are GMT. The time now is 16:46. |
vBulletin® Version 3.8.8