bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rollback problems


From: Andreas Enge
Subject: Re: Rollback problems
Date: Mon, 28 Jan 2013 23:10:34 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Sonntag, 27. Januar 2013 schrieb Ludovic Courtès:

> address@hidden (Ludovic Courtès) skribis:

> > Having agreed on linear history, it seems that (a) the current

> > behavior is broken because roll-backs don’t actually follow the

> > history, as illustrated previously, and (b) the generation from which

> > we are rolling back must be deleted.

 

It seems to work: I rolled back from 21 to 20, 19, 18, 17; then removed a package and am at 18 now. Then removed another package and arrived at 19, where the previous 18 and 19 were overwritten.

 

Personally, I would have deleted all (consecutive) generations starting with 19 after the first roll-back and additional package removal; now we still have pieces of old history lying around, the (old and) current 20 is not a successor of the current 19 any more.

 

But I can also live with the current situation.

 

Am Sonntag, 27. Januar 2013 schrieb Ludovic Courtès:

> Andreas Enge <address@hidden> skribis:

> > $ guix-package --roll-back

> > error: no previous profile; not rolling back

> >

> > No links are changed. I think in this case, rollback should create the

> > "empty profile" and have $PERUSER/guix-profile-1-link point to it.

>

> Implemented in d930726.

 

It works also:

building path(s) `/nix/store/2gkfim0yry8sii7vhxwcivkbnfpaiqiq-user-environment'

building user environment `/nix/store/2gkfim0yry8sii7vhxwcivkbnfpaiqiq-user-environment' with 0 packages...

switching from generation 1 to 0

 

Thanks!

 

Andreas

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]