On Fri, 14 Jan 2022 22:38:52 +0100 Ludovic Courtès <l...@gnu.org> wrote:
> It seems I cannot reproduce it. Specifically, ‘guix upgrade > --dry-run’ really does a dry run, displaying “XYZ MB would be > downloaded” (note “would”) and then exiting without downloading or > building any of the packages. In my case, I have already done the same upgrade before and haven’t done a new pull since; therefore all the packages to be upgraded to are already in Guix’s store. ‘guix upgrade --dry-run’ also tells me which packages ‘would be’ removed/upgraded/installed, and yet it edits my profile, changing the environment variables it sets to new destinations. > What output to you get exactly? $ guix package --rollback switched from generation 20 to 19 $ guix upgrade --dry-run guix upgrade: package 'gs-fonts' has been superseded by 'font-ghostscript' The following package would be removed: gs-fonts 8.11 The following packages would be upgraded: dav1d (dependencies or package changed) emacs (dependencies or package changed) font-dejavu (dependencies or package changed) font-gnu-freefont (dependencies or package changed) fontconfig 2.13.1 → 2.13.94 gimp (dependencies or package changed) glibc-utf8-locales 2.31 → 2.33 nss-certs 3.59 → 3.71 teeworlds (dependencies or package changed) ungoogled-chromium 96.0.4664.45-1 → 97.0.4692.71-1 youtube-dl 2021.06.06 → 2021.12.17 The following package would be installed: font-ghostscript 8.11 $ guix package --rollback switched from generation 20 to 19 I suppose I could keep repeating these two commands ad infinitum. :-) Doing ‘guix package -I’ after ‘guix upgrade --dry-run’ likewise shows the new package versions. > Thanks, > Ludo’. Thank you // Tirifto