On Wed, Jan 03, 2024 at 11:13:49AM +0000, Askar Safin wrote: > Okay, then please apply the following patch. :) > (Or something with similar meaning.) > Feel free to close the bug when > the patch is released. This report is not about you and your misinterpretations. > -Subject to dependency constraints, <command>apt-get</command> selects the > +<command>apt-get</command> selects the You realize that you make it worse with that change, right, given I gave a few examples in which apt-get DOES NOT do what your + says and explicitly follows "dependency constraints" as said in - and by default, its just that it doesn't do that always because that would be – in your words – incorrect; at least according to the other constraints it has for a solution. > +If picking the version with the highest priority leads to violation > +of dependency constraints, then <emphasis>sometimes</emphasis> > +apt chooses low-priority correct version instead of high-priority ^^^^^^^ > +incorrect one. But sometimes apt simply fails with an error message ^^^^^^^^^ In my previously given example foo-a and foo-b, please explain in detail which version of bar is the correct vs. incorrect one. If you can't do that you might want to reevaluate if a binary believe system is adequate to represent the dependency world. Many people tried before you, its called SAT solving and works great if you give it problems not involving a choice as e.g. removing your entire system is also a valid solution according to dependency constraints, its just not a good solution for users, but users are not a constraint for general propose SAT solvers. Is that good/bad or correct/incorrect? Yes, no, maybe, depending on your use case: Use the right tool for the current job at hand. > +high-priority incorrect version in such situation, then use other package > +managers instead of apt. I already told you that you don't even need to use another package manager, you just have to use one of many possible non-default options depending on how far you wanna violate other constraints. Not gonna repeat myself (and Johannes) for the third time… Please ask in user support channels if you have further questions about what the right tool is for a given use case and how to use it correctly. Best regards David Kalnischkies
Attachment:
signature.asc
Description: PGP signature