all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tirifto <tirifto@posteo.cz>
To: "Ludovic Courtès" <ludo@gnu.org>
Subject: bug#53267: Profile changes after ‘guix upgrade --dry-run’
Date: Fri, 14 Jan 2022 22:08:48 +0000	[thread overview]
Message-ID: <20220114230848.3456cd70@Jado> (raw)
In-Reply-To: <87lezi2e1f.fsf@gnu.org>

On Fri, 14 Jan 2022 22:38:52 +0100
Ludovic Courtès <ludo@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




  reply	other threads:[~2022-01-17 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 19:19 bug#53267: Profile changes after ‘guix upgrade --dry-run’ Tirifto
2022-01-14 21:38 ` Ludovic Courtès
2022-01-14 22:08   ` Tirifto [this message]
2022-01-17 15:35     ` Ludovic Courtès
2022-01-17 16:45       ` Tirifto
2022-01-17 17:10         ` Tirifto
2022-01-19 21:16         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220114230848.3456cd70@Jado \
    --to=tirifto@posteo.cz \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.