bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31142: guix package --upgrade reverses the order of packages


From: Chris Marusich
Subject: bug#31142: guix package --upgrade reverses the order of packages
Date: Thu, 12 Apr 2018 22:57:57 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

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] address@hidden:/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] address@hidden:/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] address@hidden:/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] address@hidden:/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] address@hidden:/tmp
$ 
--8<---------------cut here---------------end--------------->8---

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]