Hi there,
We've recently come across aptly, and so far, it's been excellent!
For each ubuntu release (currently only precise, but we plan to add trusty as well), we publish:
- packages in component main
- packages in component experimental
Ideally, these would appear under:
deb
http://packages.flapjack.io/deb precise main
deb
http://packages.flapjack.io/deb precise experimental
Unfortunately, I haven't been able to get this working.
- I could split this into single repositories for each version (one for trusty, one for precise), but I couldn't find a way to override the component on a package-by-package basis during the aptly repo add foo.deb.
- I've tried adding multiple repositories, one for each release-component group, but I can't publish both of them without setting a prefix:
omnibus-flapjack ➤ aptly repo show flapjack-precise-main
Name: flapjack-precise-main
Comment:
Default Distribution: precise
Default Component: main
Number of packages: 1
omnibus-flapjack ➤ aptly repo show flapjack-precise-experimental
Name: flapjack-precise-experimental
Comment:
Default Distribution: precise
Default Component: experimental
Number of packages: 1
When publishing the second repository:
aptly -config=aptly.conf -component=experimental -architectures="i386,amd64" -gpg-key="803709B6" publish repo flapjack-precise-experimental
ERROR: prefix/distribution already used by another published repo: ./precise [amd64, i386] publishes {main: [flapjack-precise-main]}
How can I do this properly?
Thanks,
Sarah