CreateAMirror


 * 1) Creating a packages.osrfoundation.org mirror

To create a mirror of packages.osrfoundation.org one of the options is to use [apt-mirror](http://apt-mirror.github.io/). There are many guides online how to setup an apt mirror. Such as this one from [howtoforge](http://www.howtoforge.com/local_debian_ubuntu_mirror).


 * 1) apt-mirror


 * 1) mirror.conf

You will need to check which are the ubuntu distributions supported by the osrfoundation repository. It is easy if you check the [dist directory in the server](http://packages.osrfoundation.org/gazebo/ubuntu/dists/).

Currently there are no deb-src packages in the osrfoundation repository, so please delete the lines related to them.

 ############# end config ############## deb http://packages.osrfoundation.org/gazebo/ubuntu precise main deb http://packages.osrfoundation.org/gazebo/ubuntu quantal main deb http://packages.osrfoundation.org/gazebo/ubuntu raring main deb http://packages.osrfoundation.org/gazebo/ubuntu saucy main

clean http://packages.osrfoundation.org/gazebo/ubuntu


 * 1) First run and setting up a cron job

For the first run and the instructions to run apt-mirror as a cron job (the tool does not run as a daemon) there is very good and short information in the man page.

man apt-mirror