This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[setup topic/libsolv] Packages contained in multiple repositories


When a package (with specified version) is contained in multiple repositories, we register in packagemeta the last one we see. But if libsolv decides that the package needs to be installed, its solution may arbitrarily specify one from a different repo. This caused me some confusion when debugging an unrelated issue, and I created the attached patch to "fix" it.

In retrospect, I'm not sure this patch is right, but I'm sending it anyway for the sake of discussion. My hesitation comes from the fact that libsolv might have a good reason for preferring the one it chose, e.g., if we've assigned priorities to the repos. On the other hand, if we've gone to the trouble of assigning priorities, shouldn't packagemeta reflect our choice?

I'm of two minds here.

Ken

Attachment: 0001-Prefer-the-packageversion-registered-in-packagemeta.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]