Open hiddenman opened 10 months ago
Just tried this combination:
aptly mirror -architectures="amd64" -with-installer -with-udebs create myos/stable http://host-b/myos/stable bookworm main
and it was successful: main components were fetched for both architectures amd64 and all, but installer was fetched only for amd64 architecture.
This is a working solution but not documented. Could you please explain why this happens.
The ERROR: prefix/distribution already used by another published repo
is likely because of multiple tries, and some publish point with the same name already existed.
aptly does some magic when detecting and combining components, which usually works fine. Do I assume right the working solution is not to specify the -component=,,
?
Can't find any useful information information how to mirror and publish a repository with debian-installer and its images
Detailed Description
aptly mirror create myos/stable http://host-b/myos/stable bookworm main
then everything is correct but this mirror does not contain installer-imagesaptly mirror create -with-installer -with-udebs myos/stable http://host-b/myos/stable bookworm main
then aptly tries to fetch "installer-all" folder structure (because i have "architectures": ["amd64", "all"] in my config) and fails to create a mirroraptly mirror -keyring create -with-installer -with-udebs -architectures amd64 -filter='Name (~ installer)' myos/debian-installer/stable http://host-b/myos/stable bookworm main
This works.i get a reasonable error "ERROR: prefix/distribution already used by another published repo"
So how can i mirror and publish the whole repository including debian-installer and installer-amd64 images? Or how to avoid searching for "installer-all" folder? There is no such installer, but there is such architecture in all distributions.