[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25100: 'guix system reconfigure' fails when new generation already e
From: |
Chris Marusich |
Subject: |
bug#25100: 'guix system reconfigure' fails when new generation already exists |
Date: |
Sat, 03 Dec 2016 02:24:50 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi,
I've noticed that, in GuixSD, if one rolls back the system with 'guix
system roll-back' or switches to a previous generation with 'guix system
switch-generation', and then one tries to run 'guix system reconfigure',
the operation fails because the symlink for the new generation already
exists. I expected the operation to succeed and overwrite the existing
generation, since that mirrors the behavior of 'guix package'.
Specifically, if the current generation is N and generation N+1 exists,
then running 'guix system reconfigure' should overwrite generation N+1
with the new system. Currently, it fails to create the symlink. I've
attached a patch which modifies the behavior to be what I expected.
--
Chris
0001-system-If-the-new-system-generation-already-exists-o.patch
Description: Text Data
signature.asc
Description: PGP signature
- bug#25100: 'guix system reconfigure' fails when new generation already exists,
Chris Marusich <=