From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81245 invoked by alias); 18 Oct 2017 16:41:25 -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 81219 invoked by uid 89); 18 Oct 2017 16:41:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=yield, MIDI, midi, WAVE X-HELO: mx009.vodafonemail.xion.oxcs.net Received: from Unknown (HELO mx009.vodafonemail.xion.oxcs.net) (153.92.174.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Oct 2017 16:41:22 +0000 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 45EF9D9ECDE for ; Wed, 18 Oct 2017 16:41:14 +0000 (UTC) Received: from Gertrud (p5b2f3e60.dip0.t-ipconnect.de [91.47.62.96]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 1D482199C59 for ; Wed, 18 Oct 2017 16:41:12 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: [setup topic/libsolv] Packages contained in multiple repositories References: <9db21b28-18fa-603d-dec2-e49f72f9832e@cornell.edu> Date: Wed, 18 Oct 2017 16:41:00 -0000 In-Reply-To: <9db21b28-18fa-603d-dec2-e49f72f9832e@cornell.edu> (Ken Brown's message of "Wed, 18 Oct 2017 10:15:02 -0400") Message-ID: <87k1zs4dej.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: 2017-10/txt/msg00073.txt.bz2 Ken Brown writes: > 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? Extrapolating from my experience with zypper, libsolv should stick with the repo the installed package comes from even if some other repo has a newer version. The whole purpose of the "dup" command in zypper is to lift that restriction (compared to the normal "up") and consider the highest version from any repo as the preferred package (unless more specific dependencies would yield a lower version or repo priorities override the default algorithm). This is often used for example to update just a single application to something different from the main distribution: chose an extra repo, install just one of many applications from that repo and then keep updating the system normally. The updates will come from your install repo and just that single application will be updated from the extra repo instead. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs