unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 32183-done@debbugs.gnu.org
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Mon, 15 Oct 2018 13:59:05 +0200	[thread overview]
Message-ID: <28305e01-cf3e-0731-4aaf-34eb516fb958@fastmail.net> (raw)
In-Reply-To: <87o9bziapa.fsf@gnu.org>

Hi Ludo,

> Hmm you might need to run, say, ‘guix pull -l’, to make this script
> magically appear.  :-)
>
> Concretely, the new ‘guix pull’ migrates things from ~/.config/guix to
> /var/guix/profiles the first time you run it, but it may be that you
> haven’t yet run the *new* ‘guix pull’.

That looks like the right direction, since running "guix pull -l" starts 
by saying

    Migrating profile generations to '/var/guix/profiles/per-user/root'...

Unfortunately, its next statement is just as magic but less pleasant:

Backtrace:
            6 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
   1583:12  5 (run-guix-command _ . _)
In ice-9/boot-9.scm:
     829:9  4 (catch srfi-34 #<procedure 337dc80 at guix/ui.scm:615:…> …)
     829:9  3 (catch system-error #<procedure 337dd20 at guix/script…> …)
     829:9  2 (catch git-error #<procedure 337dbe0 at guix/scripts/p…> …)
     829:9  1 (catch system-error #<procedure 3391a60 at guix/script…> …)
In unknown file:
            0 (raise #<condition &profile-not-found-error [profile: "…>)

ERROR: In procedure raise:
Wrong type (expecting exact integer): #<condition 
&profile-not-found-error [profile: 
"/var/guix/profiles/per-user/root/current-guix"] 338b460>


This looks like an error in an error-raising procedure, something like  
a meta-error ;-)

Looking at

   ~# ls -l /var/guix/profiles/per-user/root/current-guix
    lrwxrwxrwx 1 root root 14 oct.  15 13:51 
/var/guix/profiles/per-user/root/current-guix -> current-4-link

yields  a link that is indeed missing. What I do have is 
current-guix-4-link, but not a plain current-4-link.

Konrad.

  reply	other threads:[~2018-10-15 12:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180717085541.g6nuycopf5kxoin7@thebird.nl>
     [not found] ` <20180717191554.GA23234@jasmine.lan>
2018-07-17 22:28   ` bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Ludovic Courtès
2018-07-23 22:28 ` Pjotr Prins
2018-07-26 13:50   ` Ludovic Courtès
2018-09-02 13:55     ` Ludovic Courtès
2018-09-02 14:28       ` Pjotr Prins
2018-09-02 20:04         ` Ludovic Courtès
2018-09-06 21:10           ` Pjotr Prins
2018-09-09  7:20             ` Pjotr Prins
2018-09-09 14:02               ` Pjotr Prins
2018-09-09 14:44             ` Ludovic Courtès
2018-09-11  9:34               ` Konrad Hinsen
2018-09-11 10:12                 ` Ludovic Courtès
2018-09-11 13:23                   ` Pjotr Prins
2018-09-11 13:58                     ` Pjotr Prins
2018-09-11 14:27                       ` Ludovic Courtès
2018-10-11 16:32                       ` Ludovic Courtès
2018-10-12  6:59                         ` Konrad Hinsen
2018-10-12 12:57                           ` Ludovic Courtès
2018-10-15 11:59                             ` Konrad Hinsen [this message]
2018-10-15 19:33                               ` Ludovic Courtès
2018-10-16 10:41                                 ` Konrad Hinsen
2018-10-17  8:44                                   ` Ludovic Courtès
2018-10-17  9:17                                     ` Konrad Hinsen
2018-10-17 23:06                                       ` Ludovic Courtès
2018-11-02 14:38                                       ` swedebugia
2018-11-03 14:13                                         ` Ludovic Courtès
2018-10-14 18:12                         ` Pjotr Prins
2018-09-11 14:26                     ` Ludovic Courtès
2018-09-05 15:27 ` bug#32183: Me too! Konrad Hinsen

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=28305e01-cf3e-0731-4aaf-34eb516fb958@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=32183-done@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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).