From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102630 invoked by alias); 16 Mar 2018 19:36:56 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 102614 invoked by uid 89); 16 Mar 2018 19:36:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:ESMTPA, site, among X-HELO: vsmx012.vodafonemail.xion.oxcs.net Received: from vsmx012.vodafonemail.xion.oxcs.net (HELO vsmx012.vodafonemail.xion.oxcs.net) (153.92.174.90) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Mar 2018 19:36:54 +0000 Received: from vsmx004.vodafonemail.xion.oxcs.net (unknown [192.168.75.198]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTP id 9B0CB8CE91C for ; Fri, 16 Mar 2018 19:36:48 +0000 (UTC) Received: from Gertrud (unknown [91.47.53.106]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 72C9ACDFA4 for ; Fri, 16 Mar 2018 19:36:46 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: Problem with packagesource::sites in setup References: <524788d7-3a0d-dd1a-9c02-021ad1606361@cornell.edu> Date: Fri, 16 Mar 2018 19:36:00 -0000 In-Reply-To: <524788d7-3a0d-dd1a-9c02-021ad1606361@cornell.edu> (Ken Brown's message of "Thu, 15 Mar 2018 17:23:22 -0400") Message-ID: <871sgjx16a.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-SW-Source: 2018-03/txt/msg00029.txt.bz2 Ken Brown writes: > I think we're currently mishandling packagesource::sites when several > libsolv repos contain the same version of a package. If I'm not > mistaken, we create a new packageversion pv for each repo, and > pv.source()->sites contains a single site, corresponding to that repo. That should normally not happen, I'm not sure what libsolv does in this case in the absence of repo priorities (which would provide an ordering among otherwise identical versions). > So we never take advantage of the fact that we have more than one > mirror (or mirror directory) from which we can potentially obtain an > archive for the package. That sort of thing is supposed to be handled at another level in the distros using libsolv based installers (i.e. mirrorbrain). WHile I agree that this would be sensible behaviour for us, I don't know how much we'd be relying on accidental behaviour. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada