Skip to content

An apt mirror tool that does staging and checks that the files specified in the indices actually exist

License

Notifications You must be signed in to change notification settings

squidboylan/apt-package-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apt_package_mirror

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.

About

An apt mirror tool that does staging and checks that the files specified in the indices actually exist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages