#944139 debmirror archive.debian.org fails due to missing binary-all

#944139#5
Date:
2019-11-04 21:58:48 UTC
From:
To:
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.

#944139#10
Date:
2020-04-07 08:38:07 UTC
From:
To:
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

#944139#15
Date:
2020-11-20 10:45:41 UTC
From:
To:
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.

#944139#20
Date:
2021-04-16 06:06:05 UTC
From:
To:
Added option --ignore-arch-all, tested and confirmed working with rsync
of debian-archive (etch, lenny, squeeze, wheezy mirrored).

#944139#25
Date:
2021-05-27 15:24:52 UTC
From:
To:
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

#944139#30
Date:
2022-10-11 02:19:28 UTC
From:
To:
same problem
#944139#35
Date:
2023-01-08 19:27:35 UTC
From:
To:
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.

#944139#40
Date:
2024-05-17 16:56:14 UTC
From:
To:
#944139#45
Date:
2024-05-17 18:32:12 UTC
From:
To:
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

#944139#50
Date:
2024-06-03 15:23:37 UTC
From:
To:
I can confirm that Christopher's patch, https://salsa.debian.org/debian/debmirror/-/merge_requests/15, fixes the original problem.

John