Dear Maintainer, The resolution of bug #904927 (Please sync/mirror Packages-all and Contents-all by default) appears to have broken debmirror's ability to mirror archive.debian.org. Wheezy-backports, for instance, lists main/binary-all/Packages in its Release file, but it does not actually exist in the archive. Debmirror reports a 404 and fails. There's no option to ignore this error. When I revert that change, debmirror works as before. Perhaps this is a problem with archive.debian.org, but I'm not sure how to report that, and, well, it used to work.
Dear maintainer, I would like to add information about this bug, archive.debian.org, is not the only failing mirror. Mirroring of third-party sites like nodejs, mariadb, postgresql, failed, also because of missing binary-all . Maybe the severity is too low Thanks for your work on this issue Regards Ronan
This bug prevents us to mirror several internal and external debian repositories. We've repos created with reprepro that only contains binary-amd64. There's no binary-all packages files and they're also not listed in the (In)Release files. With the introduction of forcing the retrieval of binary-all Packages in #904927 and commit e994bb6 (https://salsa.debian.org/debian/debmirror/-/commit/e994bb67ebbf08b194310261e23d8106a4271a96) the debmirror call always fails. This change should be better controlled via a commandline option (something like --include-all) instead of adding 'all' by default and then fail during the execution. For us we had to revert the changes introduced in the commit named above and set the package to "hold". Hopefully someone will take a look into it.
Added option --ignore-arch-all, tested and confirmed working with rsync of debian-archive (etch, lenny, squeeze, wheezy mirrored).
Dear maintainer, I don't know if there is a link with this bug and its patch but on jessie-backports dist on archive repository, debmirror doesn't download < -all.deb > packages on pool even if there are referenced in binary-amd64/Package file. It's half of the distribution. I doen't have this issue with main repository on current distributions. Regards, Mat
same problem
The introducing commit suggested in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944139#15 doesn't look right to me. I had success reverting the active part of https://salsa.debian.org/debian/debmirror/-/commit/82bf56b2246bdf22470fd2751b359c82932c3833#81f3803dd9887f397ffdeebc8973c6de39a38df9 instead of that one. I didn't try the more constructive suggestion from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944139#20, sorry, because it was easier for me if the arguments remain compatible with older versions. I could be persuaded to try it. There's clearly something amiss with archive.debian.org. https://archive.kernel.org/debian-archive/debian/dists/wheezy/Release mentions eg: 1a5452264b2c147411a53afd4a13b311 12683375 main/binary-all/Packages ... but there is no binary-all directory in https://archive.kernel.org/debian-archive/debian/dists/wheezy/main/. Perhaps getting that fixed would be too hard? Making debmirror cope doesn't seem to be too difficult.
https://salsa.debian.org/debian/debmirror/-/merge_requests/7 also tries to solve this issue.
I created https://salsa.debian.org/debian/debmirror/-/merge_requests/15 that introduces a new command line argument --ignore-missing-arch-all and is less intrusive than https://salsa.debian.org/debian/debmirror/-/merge_requests/7 That patch fixes the problem for me. Best Christopher
I can confirm that Christopher's patch, https://salsa.debian.org/debian/debmirror/-/merge_requests/15, fixes the original problem. John