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: Mon, 22 Feb 2016 17:37:46 -0500 Message-ID: <20160222223746.GB16919@jasmine> References: <20160216092724.GA10422@jasmine> <20160222213312.GA9481@solar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXz7F-0002nS-6N for bug-guix@gnu.org; Mon, 22 Feb 2016 17:38:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXz7B-0003fu-TX for bug-guix@gnu.org; Mon, 22 Feb 2016 17:38:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXz7B-0003fq-Me for bug-guix@gnu.org; Mon, 22 Feb 2016 17:38:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXz7B-00028V-IF for bug-guix@gnu.org; Mon, 22 Feb 2016 17:38:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20160222213312.GA9481@solar> 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: Andreas Enge Cc: 22693@debbugs.gnu.org On Mon, Feb 22, 2016 at 10:33:12PM +0100, Andreas Enge wrote: > 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. I like to offer my bug reports with './pre-inst-env' and a commit, to increase the number of factors that are deterministic. > > Andreas >