#1113724 Unable to make reprepro create binary-all/ hierarchy

Package:
reprepro
Source:
reprepro
Description:
Debian package repository producer
Submitter:
Simon Josefsson
Date:
2025-10-08 07:15:01 UTC
Severity:
normal
#1113724#5
Date:
2025-09-01 15:17:50 UTC
From:
To:
Hi!  Thanks for reprepro.  I am trying to set it up to mimick the Debian
dists/ layout which includes a binary-all/ sub-directory:

https://deb.debian.org/debian/dists/trixie/main/

...
binary-all/
binary-amd64/
...

However I'm unable to get reprepro to create the binary-all/ hierarchy.

Is this intended to work?  I'm not sure if this is a bug or a feature
request.

See below for attempt to get this created.  Shouldn't the *_all.deb
package ALSO end up in the binary-all/Packages file?

If I add 'all' to 'Architectures:' I get this error:

Error: Distribution myos contains an architecture called 'all'.

I've tried the "flood" command but I could only get it to flood into
non-all architectures, not into a "all" arch.

Thanks,
/Simon

jas@kaka:~$ mkdir r
jas@kaka:~$ cd r
jas@kaka:~/r$ mkdir conf
jas@kaka:~/r$ cat>conf/distributions
Codename: myos
Architectures: source amd64
Components: all
Origin: MyOS
Label: MyOS
jas@kaka:~/r$ reprepro export
jas@kaka:~/r$ wget -nv http://ftp.de.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2025.1_all.deb
2025-09-01 17:06:53 URL:http://ftp.de.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2025.1_all.deb [179244/179244] -> "debian-archive-keyring_2025.1_all.deb" [1]
jas@kaka:~/r$ reprepro includedeb myos debian-archive-keyring_2025.1_all.deb
Exporting indices...
jas@kaka:~/r$ ls -al dists/myos/all/
totalt 16
drwxrwxr-x 4 jas jas 4096  1 sep 17.05 .
drwxrwxr-x 3 jas jas 4096  1 sep 17.07 ..
drwxrwxr-x 2 jas jas 4096  1 sep 17.07 binary-amd64
drwxrwxr-x 2 jas jas 4096  1 sep 17.05 source
jas@kaka:~/r$

#1113724#10
Date:
2025-10-08 07:04:42 UTC
From:
To:
every architecture ("flood"). Debian's dak seems to have switched to put
arch:all packages in only binary-all, not other architectures.

As an unsophisticated work around, you could set up a fake architecture:

Architectures: source amd64 fakeall

and symlink binary-all -> binary-fakeall.

Otherwise...the maintenance of reprepro doesn't seem very active these
years, and very few new features were added. I hope someone else has the
time and skills to submit a patch.