From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: util-linux and perl rename Date: Mon, 26 Nov 2018 03:58:41 -0500 Message-ID: <878t1gi59f.fsf@netris.org> References: <557fa862-5ec2-656a-9f4d-15f1a46f42dd@freenet.de> <87in0k2ziv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRCjr-0008N2-Bc for guix-devel@gnu.org; Mon, 26 Nov 2018 03:59:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRCjo-0002t0-7M for guix-devel@gnu.org; Mon, 26 Nov 2018 03:59:31 -0500 Received: from world.peace.net ([64.112.178.59]:38016) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRCjo-0002sa-2y for guix-devel@gnu.org; Mon, 26 Nov 2018 03:59:28 -0500 In-Reply-To: <87in0k2ziv.fsf@gmail.com> (Alex Vong's message of "Mon, 26 Nov 2018 13:12:08 +0800") 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: Alex Vong Cc: Guix-devel Alex Vong writes: > Thorsten Wilms writes: > >> I already had a "rename" binary via util-linux. Then I installed the >> package "rename", resulting in another "rename" binary, as I prefer >> the Perl version. This was a success in that I got what I wanted. >> >> However, should this name clash be considered a bug? >> Is there a policy for such circumstances? >> What happens that the newly installed "rename" gets precedence? >> > I think it is chosen based on some random criterions It's not random, but rather a very simple criterion. The packages listed first in the package manifest take priority over ones that come later. If you don't use manifests, "guix package -i " puts at the top of the new manifest, even if it was already present in the previous manifest. Mark