From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#22693: `guix refresh -u` updates other packages with same version Date: Tue, 16 Feb 2016 04:27:24 -0500 Message-ID: <20160216092724.GA10422@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbvT-0005kk-G6 for bug-guix@gnu.org; Tue, 16 Feb 2016 04:28:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVbvO-00007l-H8 for bug-guix@gnu.org; Tue, 16 Feb 2016 04:28:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbvO-00007d-D7 for bug-guix@gnu.org; Tue, 16 Feb 2016 04:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVbvO-0005Wo-9J for bug-guix@gnu.org; Tue, 16 Feb 2016 04:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbul-0005cm-FG for bug-guix@gnu.org; Tue, 16 Feb 2016 04:27:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVbug-0008VJ-G0 for bug-guix@gnu.org; Tue, 16 Feb 2016 04:27:23 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVbug-0008V6-96 for bug-guix@gnu.org; Tue, 16 Feb 2016 04:27:18 -0500 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id C09626800F1 for ; Tue, 16 Feb 2016 04:27:17 -0500 (EST) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 22693@debbugs.gnu.org I've noticed that `guix refresh -u` will update extraneous packages if they happen to have the same version and be in the same module. For example, from commit d694230ab, you can reproduce the bug: $ ./pre-inst-env guix environment guix -- ./pre-inst-env guix refresh -u python-pytest $ git diff diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3dd3862..ae14404 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -796,7 +796,7 @@ Python 3 support.") (define-public python-pycrypto (package (name "python-pycrypto") - (version "2.6.1") + (version "2.8.7") (source (origin (method url-fetch) @@ -1565,7 +1565,7 @@ code introspection, and logging.") (define-public python-pytest (package (name "python-pytest") - (version "2.6.1") + (version "2.8.7") (source (origin (method url-fetch) @@ -1574,7 +1574,7 @@ code introspection, and logging.") version ".tar.gz")) (sha256 (base32 - "0g2w4p0n42wvz8rq4k6gnzpkakgz3g8sfanxk8jrsra9675snkcr")) + "1bwb06g64x2gky8x5hcrfpg6r351xwvafimnhm5qxq7wajz8ck7w")) (modules '((guix build utils))) (snippet ;; One of the tests involves the /usr directory, so it fails.