User:Jebba/Mirror

(Run apt-mirror)
(Run apt-mirror)
Line 33: Line 33:
==Run apt-mirror==
==Run apt-mirror==
Then simply run apt-mirror as root (or with sudo):
Then simply run apt-mirror as root (or with sudo):
 +
  apt-mirror
  apt-mirror
-
If you changed your config file name, run it like this example:
+
If you changed your config file name, run it like this example (assuming config file name: /etc/apt/mirror-maemo-arm.list):
-
  apt-mirror maemo-extras
+
 +
  apt-mirror maemo-arm
==TODO==
==TODO==

Revision as of 19:00, 3 January 2010

Contents

Mirroring Maemo Repositories

This is a mini-HOWTO explaining how to mirror the Maemo repositories.

Install apt-mirror

In Debian/Ubuntu/etc:

apt-get update
apt-get install apt-mirror

In Fedora/RPM-based systems:

yum install apt-mirror

Configure apt-mirror

Edit the mirror list.

In Debian:

/etc/apt/mirror.list

In Fedora:

/etc/apt-mirror.list

The file should look like this--update the mirror_path to where you would like them to point:

set defaultarch    armel
set nthreads     20
set _tilde 0
set mirror_path    /var/www/mirrors
deb http://repository.maemo.org/extras/ fremantle free
deb http://repository.maemo.org/extras-testing/ fremantle free
deb http://repository.maemo.org/extras-devel/ fremantle free

Run apt-mirror

Then simply run apt-mirror as root (or with sudo):

apt-mirror

If you changed your config file name, run it like this example (assuming config file name: /etc/apt/mirror-maemo-arm.list):

apt-mirror maemo-arm

TODO

This only shows how to mirror ARM extras*.

  • Add mirroring source
  • Add mirroring i386
  • Add mirroring downloads.maemo.nokia.com
  • Add automation (cron) notes
  • Howto set up your device to use mirror