From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: util-linux and perl rename Date: Mon, 26 Nov 2018 09:53:04 +0100 Message-ID: References: <557fa862-5ec2-656a-9f4d-15f1a46f42dd@freenet.de> <87in0k2ziv.fsf@gmail.com> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRCfg-0006Xi-AU for guix-devel@gnu.org; Mon, 26 Nov 2018 03:55:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRCfd-000742-4k for guix-devel@gnu.org; Mon, 26 Nov 2018 03:55:12 -0500 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:40016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRCfc-0006zH-UK for guix-devel@gnu.org; Mon, 26 Nov 2018 03:55:09 -0500 Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout1.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gRCfa-00075u-1k for guix-devel@gnu.org; Mon, 26 Nov 2018 09:55:06 +0100 Received: from [::1] (port=46062 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gRCfa-0003Gg-1C for guix-devel@gnu.org; Mon, 26 Nov 2018 09:55:06 +0100 Received: from sub3.freenet.de ([195.4.92.122]:48588) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gRCdd-0007Yb-1m for guix-devel@gnu.org; Mon, 26 Nov 2018 09:53:05 +0100 Received: from p200300e4f3eeb300ec1ae70fd4179501.dip0.t-ipconnect.de ([2003:e4:f3ee:b300:ec1a:e70f:d417:9501]:58380) by sub3.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1gRCdc-000680-VR for guix-devel@gnu.org; Mon, 26 Nov 2018 09:53:05 +0100 In-Reply-To: <87in0k2ziv.fsf@gmail.com> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel On 26/11/2018 06.12, Alex Vong wrote: > To eliminate this conflict, I can think of 2 solutions: > > 1. Use 2 separate profiles where one has util-linux installed and the > other has rename installed. > > 2. Install util-linux into the default profile, but invoke rename by > "guix environment --ad-hoc rename -- rename ..." instead of > "rename ..." > > These 2 solutions work in general as well, such as for conflicting > library versions, conflicting language runtimes... > > I prefer the 2nd solution since maintaining 2 separate profiles just for > using rename seems too "heavy weight" to me. Thanks for 2 solutions. Luckily, I don't need access to the util-linux rename. I have to note, that if I was working on scripts with the intention to share them with users of other distributions, the 2nd wouldn't be an option. Too bad we don't have command URIs :} I would have been tempted to put a symlink in /usr/local/bin, but there's no "latest-of-package-foo" to link to, right? Is there a way to get a list of all name clashes on the system? -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/