Bad data in tlnet mirror

Fransson Mattias mattias.fransson at saabgroup.com
Mon Dec 2 10:00:28 CET 2019


I've been able to pinpoint the issue! rsync did not identify some files as new even though they differed from the older version.

Using afm2pl.tar.xz to verify the checksum manually I could see that the file on my web server was the same version as the one on the dvd-image. Probably from when I did my first sync of the mirror.
rsync -av only checks timestamps and filesize, apparently that was not enough to identify that the source had data the target did not. Adding the --checksum option to rsync fixed that.

$ curl -s https://ftp.acc.umu.se/mirror/CTAN/systems/texlive/tlnet/archive/afm2pl.tar.xz | sha512sum
17a191fa347683f93f7d74e4b0be13b4690c84f0c17c084b10805aa1b5b057de6316836122114d1ebc76b1f8b4d134f6f5b08a21a8e28417f8259c3e52c12226  -

$ sha512sum /my/rsync/mirror/texlive/CTAN/systems/texlive/tlnet/archive/afm2pl.tar.xz
17a191fa347683f93f7d74e4b0be13b4690c84f0c17c084b10805aa1b5b057de6316836122114d1ebc76b1f8b4d134f6f5b08a21a8e28417f8259c3e52c12226  /my/rsync/mirror/texlive/CTAN/systems/texlive/tlnet/archive/afm2pl.tar.xz

$ curl -s http://my.mirror.ltd/texlive/tlnet/archive/afm2pl.tar.xz | sha512sum
daff35d38fc35b83fc270c3d304e2383ce43b277e3e70645f957157d6e57cfaf4ce6a9191504404a9a0a681ff2167f361612cedf920f79e243c8afb9a9f3ecb7  -

$ sha512sum dvd/archive/afm2pl.tar.xz
daff35d38fc35b83fc270c3d304e2383ce43b277e3e70645f957157d6e57cfaf4ce6a9191504404a9a0a681ff2167f361612cedf920f79e243c8afb9a9f3ecb7  dvd/archive/afm2pl.tar.xz

$ rsync --checksum -av --delete /my/rsync/mirror/texlive/CTAN/systems/texlive/tlnet/ my.mirror.ltd:/web/server/data/path/tlnet/
sending incremental file list
archive/afm2pl.tar.xz
[... 54 more files ]

Thank you for all the help and patience!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20191202/064137ac/attachment.html>


More information about the tex-live mailing list