From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) by sourceware.org (Postfix) with ESMTPS id 0E9C43858D28 for ; Thu, 4 May 2023 04:14:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0E9C43858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id u9xGpi2sf6NwhuQMepoTlm; Thu, 04 May 2023 04:14:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1683173684; bh=OwpmfcDUJLguV5F+OCZqfEhIpAE0TsmdGf98DlGiLIg=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To; b=WDxDnldy8fnoyTlXoPcYNGQdkbaX/alRaRWqYFKLXXKDc0SmHWwadOKGTVDhU5haK XCJmp7cDtKQTHpDKU9Vs3rU/8YWTSvav8F6KDE3OMblEmlOzNdw+aegHy90ORWAcrh rQ4RdiykSXQv3e6pXaJnZilec8fkntJICvhAWc9vY5x7gF53eFwkVNYRXu4nZ0qPmz 2JhDE0M5WMfZjom8o1MxMTmLpolUvsut6BEmYUO/HQqV/mRB10sf/F+pny9IKroumX 5lpJYb1bSZvPNih0EQ7ziEyMaWCkZgD1ULvNxzQCFmeAXmsLzWCkIUNkZe5EQszkkS igJaFyqkB1Q1Q== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id uQMdpPgViHFsOuQMepFCy3; Thu, 04 May 2023 04:14:44 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64533134 a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=IkcTkHD0fZMA:10 a=Dgqx9DKZ4k5ZRIVhmCcA:9 a=QEXdDO2ut3YA:10 Message-ID: <5bdc2217-303a-1b2c-3f42-b342611eefd6@Shaw.ca> Date: Wed, 3 May 2023 22:14:43 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Reply-To: cygwin-apps@cygwin.com Subject: Re: [PATCH setup 0/2] Detect filename collisions between packages Content-Language: en-CA To: cygwin-apps@cygwin.com References: <20230423144330.3107-1-jon.turney@dronecode.org.uk> <87y1mh5end.fsf@Rainer.invalid> <2fc159e2-2544-9e07-1f6b-8adadcdbe2f3@Shaw.ca> From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfAUGXo4L/YkONG7cHP3x7pURfQda/TBLGDvDaXEASQ5uyjRVGq0YGzRVbzr6atpVj2zhD12WRs6VHV8VnEOO+pU/RYzI6WB5tFcMpZf0UjQcw01CuXRY 9Y2uviUGAsf75N0EZvaXFDDjLlDly5LpIL5MBVVeuc4rCPrYczPZ6IWDR4tEXlRUkJmZGvz5Pv/Qgw== X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-04-30 12:25, Jon Turney wrote: > On 28/04/2023 06:51, Brian Inglis wrote: >> On 2023-04-27 10:11, Jon Turney wrote: > [...] >>> I think this functionality needs to exist in setup as well, though, as calm >>> can't possibly have knowledge of packages you might be installing from 3rd >>> party overlay package repositories. >> >> Please make any of these conflict messages warnings only, as few packages use >> alternatives, and there may well be benign duplication, > > Your mention of 'alternatives' makes no sense to me. > > The alternatives symlinks are not (and should not be) part of the package, but > created or updated by postinstall scripts. > > (It seems like it's impossible to make them work sensibly otherwise, as the link > would be that from the most recently installed package (which could be any of > the parallel installable alternatives), not the highest priority one.) > >> e.g. multiple language versions, as we normally get complaints about conflicts. > > I don't know what this refers to.  Can you give an example? As only a few packages use alternatives, and there may be multiple versions of packages for different language versions, e.g. python3... there may be some duplicate driver/selector file paths in some packages for different versions if they may be installed in parallel, and later versions do not obsolete earlier. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry