Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python script for running an apt package mirror

Project Description

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.

This tool uses rsync, please install it using your package manager.

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

python apt_package_mirror/__main__.py config.yaml

or install it using pip and run it using the following

pip install apt_package_mirror
apt_package_mirror config.yaml

Note

This tool only supports python2.7 right now, it might work with python3 but I have not tested that.

Release History

Release History

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
apt_package_mirror-1.0.2.tar.gz (6.2 kB) Copy SHA256 Checksum SHA256 Source Oct 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting