![]() |
APT mirror N900
Hey,
I was wondering on how to create and maintain an apt-cache repository on the network for these apt-packages. I have one setup for apt-get already, so that all desktop computers on the network can just pull from the cache instead of wasting bandwidth. However, I'd like to find a way to do the same with the fremantle repository if possible. Thanks. |
Re: APT mirror N900
bump... if anyone's still aware on how to solve this, please help?
|
Re: APT mirror N900
I've used apt-mirror - http://apt-mirror.sourceforge.net/ - specifically the version included with Debian in my case.
Specifiy the repositories you want in /etc/apt/mirror.list config file Note that by default it downloads packages for the architecture it's running on (e.g. i386 or amd64 on a desktop machine) so as you'll want armel packages, start the line "deb-armel" rather than just "deb". For example, to mirror the fremantle sdk use: deb-armel http://repository.maemo.org/ fremantle sdk/free sdk/non-free tools/free tools/non-free [Addendum]: I'd also change "set nthreads 20" to "set nthreads 1" in the config file so it only downloads one file at a time - more considerate. |
Re: APT mirror N900
thanks, now, one more thing, how would you set your phone to use the apt-mirror or proxy?
|
Re: APT mirror N900
Quote:
Set up a web server (e.g. apache) on the machine with apt mirror installed, make the apt mirror directory structure (/var/spool/apt-mirror) available through it and then add a repository through App Manager on your N900 (App manager titlebar menu > Application Catalogues > New) to point to your mirror. |
Re: APT mirror N900
cool, i was wondering a simple file settings like on debian-based distributions, all you have to put into the apt conf is:
Acquire {Proxy :: http://xxx.xxx.xxx.xxx:3124; }; I suppose i should try and see if that works, but i'll need to put it in each time i come into the network and go out... |
Re: APT mirror N900
Config file for apt-mirror is in this post:
http://talk.maemo.org/showpost.php?p...3&postcount=75 |
Re: APT mirror N900
if you wish to conserve bandwidth, use apt-cache. N900 can be configured to use it as a (intelegent) proxy.
If you wish to mirror whole repositories, do what pali suggests |
All times are GMT. The time now is 10:52. |
vBulletin® Version 3.8.8