unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: 31142@debbugs.gnu.org
Subject: bug#31142: guix package --upgrade reverses the order of packages
Date: Thu, 12 Apr 2018 22:57:57 -0700	[thread overview]
Message-ID: <87r2njwsuy.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3302 bytes --]

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:

--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="test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH="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 → 2.17.0	/gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
   guile	2.2.3 → 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3

2 packages in profile
The following environment variable definitions may be needed:
   export PATH="test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH="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 → 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
   git:send-email	2.17.0 → 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="test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH="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 → 2.17.0	/gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.17.0-send-email
   guile	2.2.3 → 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3

2 packages in profile
The following environment variable definitions may be needed:
   export PATH="test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH="test-profile/libexec/git-core"
[0] marusich@garuda.local:/tmp
$ 
--8<---------------cut here---------------end--------------->8---

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2018-04-13  5:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-13  5:57 Chris Marusich [this message]
2018-04-18 21:15 ` bug#31142: guix package --upgrade reverses the order of packages Ludovic Courtès
2019-01-15 11:07   ` Ludovic Courtès
2019-03-27 11:33 ` Pierre Neidhardt
2019-03-28 12:49   ` Ludovic Courtès
2019-03-28 12:56     ` Pierre Neidhardt
2019-03-28 13:30       ` Ludovic Courtès
2019-03-28 13:53         ` Pierre Neidhardt
2019-03-28 14:10           ` Ludovic Courtès
2019-03-28 13:01     ` Maxim Cournoyer
2019-03-28 13:13       ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2njwsuy.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=31142@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).