--- Begin Message ---
Subject: |
Profile changes after ‘guix upgrade --dry-run’ |
Date: |
Fri, 14 Jan 2022 19:19:17 +0000 |
Hello! I recently had some issues with my setup, which had me rolling
my generations back and forth in attempt to fix them. My configuration
was at fault, but I did find an unrelated bug in Guix while at it:
When I run ‘guix package --rollback’, Guix switches to the previous
generation. But then, when I run ‘guix upgrade --dry-run’ to see what
would change again, my profile (~/.guix-profile/etc/profile) is actually
upgraded to the new generation. I should expect ‘--dry-run’ to leave my
profile untouched.
$ guix describe
Generation 17 Jan 13 2022 18:00:35 (current)
guix 175915b
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 175915bb4417e198f6b500901dcef710a0011be9
I am using Guix as an additional package manager on top of
Trisquel GNU/Linux 9 ‘Etiona’.
Best of wishes
// Tirifto
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53267: Profile changes after ‘guix upgrade --dry-run’ |
Date: |
Wed, 19 Jan 2022 22:16:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Tirifto <tirifto@posteo.cz> skribis:
> I have done another upgrade since, but I just made sure the problem
> persists even there, or at least this is what happened…
>
> $ guix package --rollback
> switched from generation 21 to 20
>
> $ guix upgrade --dry-run
> The following packages would be upgraded:
> gimp (dependencies or package changed)
> ungoogled-chromium (dependencies or package changed)
> youtube-dl (dependencies or package changed)
>
> $ guix package --rollback
> switched from generation 21 to 20
>
> …so I’m attaching the diff between generations 20 and 21 instead, with
> no other changes to your command. Please find it in the file
> ‘guix-profile-diff.txt’, unless it got renamed along the way.
That was an interesting corner case, fixed in
ccda88a07039c62d5d0bfde7fccef02ef3937ccf.
Thanks!
Ludo’.
--- End Message ---