-
-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to publish multiples distributions with same prefix #486
Comments
After reflection, the problem would come more from the original deposit of my mirrors because it does not respect the architectural conventions of the folder pool of an archive. Indeed, my original repository contains subfolders by distribution and packages of the same version have different checksums. What do you think about that ? |
The repository layout is not something invented with aptly, it's standard Debian repository format (https://wiki.debian.org/RepositoryFormat). Debian best practices say that there should be no two packages with same version (filename) and package contents. As If you still want to have different contents for same package version, just use |
Thank you for you reply. The problem is due to my originals deposits : they don't respect best practices. |
Is it possible add such an unsupported feature anyway? As it seems that breaking rules is more common example: https://apt.puppetlabs.com/pool/ |
It's certainly possible, but I don't see big difference with using separate prefix which is more clean and achieves roughly same effect. |
It appears that it is impossible to publish more than one distribution on with same prefix.
Detailed Description
For my needs, I have to mirror two distributions of the same archive and publish them.
I can publish the first distribution without problem (thanks to a snapshot of the mirror). However, when the second distribution is published, the following error appears (for example) :
After verification, my two distributions contain packages unchanged from one to the other (same versions but different checksums).
A workaround I could find is to include the distribution name in the prefix but this does not seem very practical.
Possible Implementation
After some investigations, it seems that this is due to the architecture of files retained for publication and especially that of the folder pool of the published archive.
There come to mind a possible solution: create a subfolder by distribution in the pool folder (by component too ?).
Your Environment
OS : Debian Jessie 8.7
Aptly : 0.9.7
The text was updated successfully, but these errors were encountered: