From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#31142: guix package --upgrade reverses the order of packages Date: Thu, 12 Apr 2018 22:57:57 -0700 Message-ID: <87r2njwsuy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6rjl-0005zj-8R for bug-guix@gnu.org; Fri, 13 Apr 2018 01:59:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6rji-0003fF-7O for bug-guix@gnu.org; Fri, 13 Apr 2018 01:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6rji-0003f7-4G for bug-guix@gnu.org; Fri, 13 Apr 2018 01:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f6rjh-0000OH-Re for bug-guix@gnu.org; Fri, 13 Apr 2018 01:59:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6rip-0005jA-GV for bug-guix@gnu.org; Fri, 13 Apr 2018 01:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6rim-0003DA-Dj for bug-guix@gnu.org; Fri, 13 Apr 2018 01:58:07 -0400 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:35021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f6rim-0003Cv-7j for bug-guix@gnu.org; Fri, 13 Apr 2018 01:58:04 -0400 Received: by mail-pf0-x244.google.com with SMTP id u86so5588987pfd.2 for ; Thu, 12 Apr 2018 22:58:04 -0700 (PDT) Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net. [24.18.253.84]) by smtp.gmail.com with ESMTPSA id m66sm13378873pfb.82.2018.04.12.22.58.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Apr 2018 22:58:01 -0700 (PDT) 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" To: 31142@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, It seems that running "guix package --upgrade ." reverses the order of packages installed in a profile. Apparently as a result, repeatedly running the command on a profile will create multiple generations, even though the packages are not actually being upgraded. Here's a way to reproduce it: =2D-8<---------------cut here---------------start------------->8--- $ guix package -p test-profile -i guile git:send-email [0] marusich@garuda.local:/tmp $ guix package -p test-profile -i guile git:send-email guix package: warning: Your Guix installation is 7 days old. guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following packages will be installed: guile 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3 git:send-email 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.= 17.0-send-email 2 packages in profile The following environment variable definitions may be needed: export PATH=3D"test-profile/bin${PATH:+:}$PATH" export GIT_EXEC_PATH=3D"test-profile/libexec/git-core" [0] marusich@garuda.local:/tmp $ guix package -p test-profile -u . guix package: warning: Your Guix installation is 7 days old. guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following packages will be upgraded: git:send-email 2.17.0 =E2=86=92 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76= n21jnvmqvk-git-2.17.0-send-email guile 2.2.3 =E2=86=92 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-= guile-2.2.3 2 packages in profile The following environment variable definitions may be needed: export PATH=3D"test-profile/bin${PATH:+:}$PATH" export GIT_EXEC_PATH=3D"test-profile/libexec/git-core" [0] marusich@garuda.local:/tmp $ guix package -p test-profile -u . guix package: warning: Your Guix installation is 7 days old. guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following packages will be upgraded: guile 2.2.3 =E2=86=92 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-= guile-2.2.3 git:send-email 2.17.0 =E2=86=92 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76= n21jnvmqvk-git-2.17.0-send-email 2 packages in profile The following environment variable definitions may be needed: export PATH=3D"test-profile/bin${PATH:+:}$PATH" export GIT_EXEC_PATH=3D"test-profile/libexec/git-core" [0] marusich@garuda.local:/tmp $ guix package -p test-profile -u . guix package: warning: Your Guix installation is 7 days old. guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. The following packages will be upgraded: git:send-email 2.17.0 =E2=86=92 2.17.0 /gnu/store/xv8za72akjqidji3y5fz76= n21jnvmqvk-git-2.17.0-send-email guile 2.2.3 =E2=86=92 2.2.3 /gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-= guile-2.2.3 2 packages in profile The following environment variable definitions may be needed: export PATH=3D"test-profile/bin${PATH:+:}$PATH" export GIT_EXEC_PATH=3D"test-profile/libexec/git-core" [0] marusich@garuda.local:/tmp $=20 =2D-8<---------------cut here---------------end--------------->8--- =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrQRuUACgkQ3UCaFdgi Rp0ykg//ZUMd60tJaYdKF9Zt43S56FsUN9956iV73GWAVzLCKeVotMUrvhS4U1RM YVbtMiWvWPNEqW00Uls8Cn5wmD7skDlykty1QcUUj7fEL+1DjU4PeQsYoLeohStE q98XrMal1Mn+Un48HrNdDgdhPqFkOvhhAbFTZpZQLAd1cC2OAG+DEEvCsEyrrlVz i/E/9LHSg8jZnsy8dB3wGwbRBe44Sp9Daq3XcBmoGVtYo79Uwk4ZHkNQylbGq/EZ sVdOahc9D+hNF6dNBsi3m47kwsBSr81tBe4NUTyUNdJP5OAt4cbJVqVVBrp4WwbF j0KPCk4ev21LCBq5VUxvRBmvRhxZT2Ekw3gTWFu38sQFWRl+CFwHKy5GnGPqe+iG 9fMJm4OlYaDwkdilvBLu2e6cxaBf9IHJ3caFcK+6X/pww32/JHzSK4m4azXAo6PB ih21fTtvc4XKfohdHC/dDPYTbVnzIgtDqnFak55yLVdXKhj+kDgPSOLnxZL8+m8N 2I8RDMrp4uBkL1p7+XyVrRWLvQpJJ7vXG8qtXxMXhWHas3t30ndYUoyRTkh4x8zw egoEaOMZSt6EebNEQk1ikF+ZqvEzze1X3acXOdWfgKiHiFWs6aAsc7/AOH+EhzFK 4WWZSqCk7qE8TkyuKLqjgQbc26HAAYTaHaWhgUXLKnti4REPIyk= =fntP -----END PGP SIGNATURE----- --=-=-=--