Univention Bugzilla – Bug 52135
apt-mirror replacement
Last modified: 2020-09-30 11:35:02 CEST
`univention-repository-update net` is based on `apt-mirror`: <https://github.com/apt-mirror/apt-mirror> - it is looking for a new maintainer since 2019 - no real development has happened since 2017 - it has a growing list of issues - we already carry many patches for it internally: $ ls -1 ~/REPOS/patches/apt-mirror/5.0-0-0-ucs/0.5.4-1/ 00_Bug-22199-No-default-mirror-list.patch 04_Check-normalized-clean-path.quilt 05_Bug-27761-Only-run-existing-postmirror.sh.quilt 06_Bug-28048-Don-t-strip-1st-dir-for-clean.sh.quilt 07_Bug-17838-Bug-39582-Protect-UCS-updater-scripts-from.quilt 08_Bug-13951-Bug-17838-No-host-directory.quilt 10_Bug-48424-Fix-parent-path-normalization.quilt 11_Disable-.bz2-and-.xz.quilt 12_Bug-27761-apt-mirror-Skip-post-mirror.quilt 13_Bug-48424-Calculate-destination-once.quilt 14_Fix-URL-normalization.quilt - it does not mirror and use the newer `InRelease` files - it does not mirror by-hash/: this might break APT in the future - it does not delete files removed on our upstream mirror: e.g. an old Packages.gz is preferred over a new Packages.xz - no progress report: Bug #48144 - no secure APT support: Bug #29434 - does not handle ENOSPC - its written in Perl and uses `wget` for downloading Alternatives: - ftpsync <https://salsa.debian.org/mirror-team/archvsync/> (main Debian tool, we're using it for debian.knut.univention.de internally) - <https://linux.die.net/man/1/debmirror> (requires rsync) - apt-mirror-python (WIP) - https://www.aptly.info/ (looking for a new maintainer, currently using it for GitLab until https://gitlab.com/gitlab-org/gitlab/-/issues/5835) - https://pulpproject.org/ (oversized)
(In reply to Philipp Hahn from comment #0) > - it is looking for a new maintainer since 2019 I contacted Brandon and asked Brandon to take over maintainership of apt-mirror > - it does not mirror and use the newer `InRelease` files I got that wrong: InRelease is already mirrored. > - apt-mirror-python (WIP) https://github.com/sir-xw/apt-mirror-python