Python script for running an apt package mirror
Project description
ubuntu-mirror-tool
=================
A apt mirror tool that does staging to prevent breaking your mirror!
Requirements
~~~~~~~~~~~~
An ubuntu mirror takes up about 1T worth of data currently. This tool also
puts about 10G of data in /tmp so that it can stage the indices.
Checks the tool makes
~~~~~~~~~~~~~~~~~~~~~
This tool checks the md5sum of each Package file and checks the Package indices
to make sure each package exists before moving the Package indices into place
How to use the tool
~~~~~~~~~~~~~~~~~~~
Check the example config file and change it to your needs, note the mirror you
mirror from must support rsync. Run the script using the following
.. code::
python ubuntu-mirrorpy/ubuntu-mirror.py config.yaml
.. Note::
This tool only supports python2.7 right now, it might work with python3 but
I have not tested that.
=================
A apt mirror tool that does staging to prevent breaking your mirror!
Requirements
~~~~~~~~~~~~
An ubuntu mirror takes up about 1T worth of data currently. This tool also
puts about 10G of data in /tmp so that it can stage the indices.
Checks the tool makes
~~~~~~~~~~~~~~~~~~~~~
This tool checks the md5sum of each Package file and checks the Package indices
to make sure each package exists before moving the Package indices into place
How to use the tool
~~~~~~~~~~~~~~~~~~~
Check the example config file and change it to your needs, note the mirror you
mirror from must support rsync. Run the script using the following
.. code::
python ubuntu-mirrorpy/ubuntu-mirror.py config.yaml
.. Note::
This tool only supports python2.7 right now, it might work with python3 but
I have not tested that.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.