unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59485: 'guix system list-generations' identifies wrong generation as current
@ 2022-11-22 17:06 Felix Lechner via Bug reports for GNU Guix
  2022-11-22 17:22 ` Julien Lepiller
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Lechner via Bug reports for GNU Guix @ 2022-11-22 17:06 UTC (permalink / raw)
  To: 59485

Hi,

On my equipment the command 'guix system list-generations' identifies
the most recent system generation as "(current)" even though I booted
a different, past generation via Grub.

The information is most certainly wrong because my latest generation
does not boot successfully.

I don't know if it matters, but I used 'guix deploy' on my local system.

Kind regards,
Felix Lechner




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59485: 'guix system list-generations' identifies wrong generation as current
  2022-11-22 17:06 bug#59485: 'guix system list-generations' identifies wrong generation as current Felix Lechner via Bug reports for GNU Guix
@ 2022-11-22 17:22 ` Julien Lepiller
  2022-11-22 18:15   ` Felix Lechner via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Lepiller @ 2022-11-22 17:22 UTC (permalink / raw)
  To: Felix Lechner, 59485

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

Current system generation identifies the one that would boot by default. Basically, booted ≠ current. Maybe guix system could show that information.

Le 22 novembre 2022 18:06:19 GMT+01:00, Felix Lechner via Bug reports for GNU Guix <bug-guix@gnu.org> a écrit :
>Hi,
>
>On my equipment the command 'guix system list-generations' identifies
>the most recent system generation as "(current)" even though I booted
>a different, past generation via Grub.
>
>The information is most certainly wrong because my latest generation
>does not boot successfully.
>
>I don't know if it matters, but I used 'guix deploy' on my local system.
>
>Kind regards,
>Felix Lechner
>
>
>

[-- Attachment #2: Type: text/html, Size: 964 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#59485: 'guix system list-generations' identifies wrong generation as current
  2022-11-22 17:22 ` Julien Lepiller
@ 2022-11-22 18:15   ` Felix Lechner via Bug reports for GNU Guix
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Lechner via Bug reports for GNU Guix @ 2022-11-22 18:15 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 59485

Hi,

On Tue, Nov 22, 2022 at 9:22 AM Julien Lepiller <julien@lepiller.eu> wrote:
>
> Current system generation identifies the one that would boot by default. Basically, booted ≠ current.

Okay, thanks for the explanation!

I was confused since 'guix system delete-generations' also refused to
drop the defective generation. A kind user on IRC suggested the use of
'roll-back'. I see how that is consistent, but still think the
labeling is imprecise. Maybe we could instead offer the designations
"(default)" and maybe also "(booted)"?

Kind regards
Felix Lechner




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-22 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 17:06 bug#59485: 'guix system list-generations' identifies wrong generation as current Felix Lechner via Bug reports for GNU Guix
2022-11-22 17:22 ` Julien Lepiller
2022-11-22 18:15   ` Felix Lechner via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).