unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31142: guix package --upgrade reverses the order of packages
@ 2018-04-13  5:57 Chris Marusich
  2018-04-18 21:15 ` Ludovic Courtès
  2019-03-27 11:33 ` Pierre Neidhardt
  0 siblings, 2 replies; 11+ messages in thread
From: Chris Marusich @ 2018-04-13  5:57 UTC (permalink / raw)
  To: 31142

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-03-28 14:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-13  5:57 bug#31142: guix package --upgrade reverses the order of packages Chris Marusich
2018-04-18 21:15 ` 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

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).