'guix system list-generations' identifies wrong generation as current

  • Open
  • quality assurance status badge
Details
2 participants
  • Felix Lechner
  • Julien Lepiller
Owner
unassigned
Submitted by
Felix Lechner
Severity
normal
F
F
Felix Lechner wrote on 22 Nov 2022 18:06
(address . bug-guix@gnu.org)
CAFHYt564dw_KsZH3L0oeHrkPiQbqyweTNDZeOhEOO7q69W=mXA@mail.gmail.com
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
J
J
Julien Lepiller wrote on 22 Nov 2022 18:22
Re: bug#59485: 'guix system list-generatio ns' identifies wrong generation as current
015EB6EB-7053-487D-8572-E5D32DA90240@lepiller.eu
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 :
Toggle quote (16 lines)
>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: file
F
F
Felix Lechner wrote on 22 Nov 2022 19:15
Re: bug#59485: 'guix system list-generations' identifies wrong generation as current
(name . Julien Lepiller)(address . julien@lepiller.eu)(address . 59485@debbugs.gnu.org)
CAFHYt54PeX83hpnFjv6pfBegtBBBRffqpCWfnE9ABVvQp0M8-Q@mail.gmail.com
Hi,

On Tue, Nov 22, 2022 at 9:22 AM Julien Lepiller <julien@lepiller.eu> wrote:
Toggle quote (3 lines)
>
> 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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 59485@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 59485
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch