unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Jimmy Thrasibule <jimmy.thrasibule@gmail.com>
Cc: 39195@debbugs.gnu.org, jimmy@thrasibule.mx
Subject: bug#39195: guix pull switching between profiles/per-user and profiles/default
Date: Sun, 19 Jan 2020 23:08:33 +0100	[thread overview]
Message-ID: <87d0bfqeu6.fsf@gnu.org> (raw)
In-Reply-To: <CAMqSRmDaD2N+4Z0RjYHQsFzky2-wUfQ-hLmMZGAANYVvpD230g@mail.gmail.com> (Jimmy Thrasibule's message of "Sun, 19 Jan 2020 20:22:58 +0100")

Hi,

Jimmy Thrasibule <jimmy.thrasibule@gmail.com> skribis:

> For example after unpacking the store, the first ``guix pull`` will migrate
> the profile to ``profiles/default``:

What do you mean by “unpacking the store”?

> The workaround is to link back the profile to ``per-user/root`` and delete
> ``/var/guix/profiles/default/current-guix*``. After this action, any other
> ``guix pull`` will run as expected.

I believe /var/guix/profiles/default is used because neither $USER nor
$LOGNAME were defined, right?

This was fixed here:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=c20ba18304ee63f01895f092bb51bc2a9ce3303b

but it’s possible that you were running a version that lacks this fix.

Also, there was a bug on Ubuntu where “sudo guix pull” would misbehave:

  https://issues.guix.gnu.org/issue/36785

Perhaps that’s also what happened here?

Thanks,
Ludo’.

  reply	other threads:[~2020-01-19 22:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19 19:22 bug#39195: guix pull switching between profiles/per-user and profiles/default Jimmy Thrasibule
2020-01-19 22:08 ` Ludovic Courtès [this message]
2020-01-20  9:26   ` Jimmy Thrasibule via Bug reports for GNU Guix
2020-01-20 15:45     ` Ludovic Courtès
2020-01-20 17:06       ` zimoun
2020-01-21  9:04         ` Ludovic Courtès
2020-01-21 13:49           ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0bfqeu6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=39195@debbugs.gnu.org \
    --cc=jimmy.thrasibule@gmail.com \
    --cc=jimmy@thrasibule.mx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).