Ahoi,

On 05/06/2024 11:23, Simon Richter wrote:
On 6/5/24 16:46, Harald Dunkel wrote:

For managing a private, limited clone of bookworm backports I am
looking for an easy way to download *all* binary packages for a given
source package, version and architecture from a single repository.

If your local repo is managed with reprepro, you can add an Update: rule with a filter expression, that way you have a single tool that downloads, verifies and installs into your local pool.

I would recommend the same, but i use the `filter` option with `aptly mirror create` <https://www.aptly.info/doc/aptly/mirror/create/>, and then directly use aptly to again publish the (reduced) repository into a directory that is served via static http-server.

On 05/06/2024 10:05, Julian Andres Klode wrote:
> This doesn't work if you have binaries with different versions but
> otherwise,
>
> '?any-version(?source-package(^apt$)?source-version(^2.9.3$)?architecture(amd64))'=2.9.3

Regarding this pattern i want to add, that there are a small but in my view not insignificant number of packages in the debian main repository where the source-package-version is not exactly equal to the binary-package-version.

best regards,

Max

Reply via email to