The release of the apt-mirror2 4 toolkit has been published. It is designed to organize the work of local mirrors of apt-repositories of distributions based on Debian ΠΈ UbuntuApt-mirror2 can be used as a transparent replacement for the apt-mirror utility, which hasn't been updated since 2017. Its main differences from apt-mirror2 are its use of Python with the asyncio library (the original apt-mirror code was written in Perl), as well as the use of integrity checking at all mirroring stages to prevent mirror corruption. The code is distributed under the GPLv3 license.
In the new version:
- Implemented support for apt-mirror compatible file lists (ALL, NEW, MD5, SHA256, SHA512).
- Added support for passing Prometheus metrics for monitoring.
- Added integrity checking of release files and re-attempts to download them in case of failures.
- Improved prediction of download size.
- Improved logging.
- Problems with creating FTP server mirrors have been resolved.
Source: opennet.ru
