Open tongpu opened 8 years ago
I believe this should be addressed with #539
Thinking about it a bit more, it's not... aptly internally de-duplicates packages based on name, version, arch and file hash. So it seems that packages are completely identical, but information in Packages
is still different
The only solution I see is to add scope
or something like that to mirrors, so that if scope
is set, packages from this mirror are not deduplicated with other packages from different scopes. That would make packages from different scopes always non-identical.
We're currently mirroring Ubuntu 14.04 Trusty and Ubuntu 16.04 Xenial at the same time using aptly and ran into an issue where the Task field of the package
fonts-guru-extra
contains wrong information and we're unable to install a Ubuntu 14.04 Trusty desktop because of a package conflicts when runningtasksel ubuntu-desktop
.The installer tries to install the packages
ttf-punjabi-fonts=0.5.14ubuntu1
andfonts-guru-extra=2.0-3
at the same time because they both have the Taskubuntu-desktop
configured which results in an impossible situation because the packagefonts-guru-extra=2.0-3
Breaksttf-punjabi-fonts (<< 2:1.0)
.We believe the error arises because aptly wrongly associates the Task field of the
fonts-guru-extra=2.0-3
package in the Xenial main mirror with the package in the same version in the Trusty universe mirror. We also believe that the order of execution of e.g. mirror update is relevant, because the issue flapping.