From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#22693: `guix refresh -u` updates other packages with same version Date: Mon, 22 Feb 2016 22:33:12 +0100 Message-ID: <20160222213312.GA9481@solar> References: <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]:39625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXy7L-0008PN-VD for bug-guix@gnu.org; Mon, 22 Feb 2016 16:34:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXy7G-0003Gx-UW for bug-guix@gnu.org; Mon, 22 Feb 2016 16:34:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXy7G-0003Gs-Ks for bug-guix@gnu.org; Mon, 22 Feb 2016 16:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXy7G-0000cI-Ci for bug-guix@gnu.org; Mon, 22 Feb 2016 16:34:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20160216092724.GA10422@jasmine> 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: Leo Famulari Cc: 22693@debbugs.gnu.org On Tue, Feb 16, 2016 at 04:27:24AM -0500, Leo Famulari wrote: > 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 > @@ -796,7 +796,7 @@ Python 3 support.") > (define-public python-pycrypto > (package > (name "python-pycrypto") > - (version "2.6.1") > + (version "2.8.7") > (define-public python-pytest > (package > (name "python-pytest") > - (version "2.6.1") > + (version "2.8.7") I wondered about the "./pre-inst-env guix environment guix", but I tried it without, and I confirm the problem. Andreas