emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#31142: closed (guix package --upgrade reverses the


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#31142: closed (guix package --upgrade reverses the order of packages)
Date: Tue, 15 Jan 2019 11:08:01 +0000

Your message dated Tue, 15 Jan 2019 12:07:29 +0100
with message-id <address@hidden>
and subject line Re: bug#31142: guix package --upgrade reverses the order of 
packages
has caused the debbugs.gnu.org bug report #31142,
regarding guix package --upgrade reverses the order of packages
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
31142: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31142
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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


--- End Message ---
--- Begin Message --- Subject: Re: bug#31142: guix package --upgrade reverses the order of packages Date: Tue, 15 Jan 2019 12:07:29 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Hi,

address@hidden (Ludovic Courtès) skribis:

> Hello,
>
> Chris Marusich <address@hidden> skribis:
>
>> 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.
>
> Commit eca16a3d1d9e6b2c064e0105c1015258bf2755f2 was supposed to fix it…
> but it lacked a test case…  I plaid guilty.  :-)

This is fixed in 35225dc57996ebc7a5a55462e0e52d85239195d9, which pretty
much reverts eca16a3d1d9e6b2c064e0105c1015258bf2755f2…

But this time there’s a test case that gives me some confidence.  :-)

Thanks,
Ludo’.


--- End Message ---

reply via email to

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