unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* undoing a --roll-back
@ 2014-04-06 17:43 Yagnesh Raghava Yakkala
  2014-04-06 19:33 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2014-04-06 17:43 UTC (permalink / raw)
  To: guix-devel


Hello all,

I am trying to understand rollback feature. I have five generations in the
package history. As I operated roll-back command, my "current" generation sets
to 3 from 4 (shell log pasted below). Now how can I return to 4. More general, can I
go to a desired generation by giving number?  say "guix package --goto-generation #"

Thanks.

╭─────
│sealion:~
│$ guix package --roll-back
│switching from generation 4 to 3
│nothing to be done
│✗ sealion:~
│$ guix package --fallback
│nothing to be done
│sealion:~
│$ guix package --list-generations
│Generation 1	Apr 06 2014 20:43:55
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│
│Generation 2	Apr 06 2014 21:12:09
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│
│Generation 3	Apr 06 2014 21:13:38	(current)
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
│
│Generation 4	Apr 06 2014 22:26:05
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
│  emacs	24.3	out	/gnu/store/5aqsf21m86qf03jj8rc6bvq9v0xnlws5-emacs-24.3
│
│Generation 5	Apr 07 2014 02:26:17
│  autoconf	2.69	out	/gnu/store/j1jlnidgsl91vka52faxd8gg7785ps2h-autoconf-2.69
│  hello	2.9	out	/gnu/store/5k0dr40p8404sgjx9w7vbb9vdcp6kzsl-hello-2.9
│  automake	1.14.1	out	/gnu/store/nnljzxzsjf5wrr28j2zy3k6y71a8y28p-automake-1.14.1
╰─────

-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

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

* Re: undoing a --roll-back
  2014-04-06 17:43 undoing a --roll-back Yagnesh Raghava Yakkala
@ 2014-04-06 19:33 ` Ludovic Courtès
  2014-04-07  9:13   ` Yagnesh Raghava Yakkala
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-04-06 19:33 UTC (permalink / raw)
  To: Yagnesh Raghava Yakkala; +Cc: guix-devel, bug-guix

(Adding bug-guix so we keep track of it.)

Yagnesh Raghava Yakkala <hi@yagnesh.org> skribis:

> I am trying to understand rollback feature. I have five generations in the
> package history. As I operated roll-back command, my "current" generation sets
> to 3 from 4 (shell log pasted below). Now how can I return to 4. More general, can I
> go to a desired generation by giving number?  say "guix package --goto-generation #"

Good question.  We can’t do that at the moment, but it would be simple
to add.

In the meantime you can do it by hand by changing the target of the
/var/guix/profiles/per-user/$USER/guix-profile symlink (or similar.)

Thanks,
Ludo’.

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

* Re: undoing a --roll-back
  2014-04-06 19:33 ` Ludovic Courtès
@ 2014-04-07  9:13   ` Yagnesh Raghava Yakkala
  0 siblings, 0 replies; 3+ messages in thread
From: Yagnesh Raghava Yakkala @ 2014-04-07  9:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, bug-guix


Hello Ludovic,

On Apr 07 2014, ludo@gnu.org (Ludovic Courtès) wrote:

> (Adding bug-guix so we keep track of it.)

Thanks 

> In the meantime you can do it by hand by changing the target of the
> /var/guix/profiles/per-user/$USER/guix-profile symlink (or similar.)

Thanks, that was easy.

-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

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

end of thread, other threads:[~2014-04-07  9:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-06 17:43 undoing a --roll-back Yagnesh Raghava Yakkala
2014-04-06 19:33 ` Ludovic Courtès
2014-04-07  9:13   ` Yagnesh Raghava Yakkala

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).