unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: 白い熊 <help-guix_gnu.org@sumou.com>
To: help-guix@gnu.org
Subject: Local channel - every system reconfigure: Git error: repository path '/path/to/channel/' is not owned by current user
Date: Sun, 15 May 2022 23:33:04 +0200	[thread overview]
Message-ID: <a057d327d9c5ae26e8516467f61905b1@sumou.com> (raw)

Hello:

I've been experimenting with my local package definitions, using a local 
channel. It works fine.

However literally after every successful system reconfigure the next 
'guix system reconfigure...' bombs identically with:

$ sudo guix system reconfigure /home/shiroikuma/system.scm
Backtrace:
           19 (primitive-load "/home/shiroikuma/.config/guix/current/…")
In guix/ui.scm:
    2230:7 18 (run-guix . _)
   2193:10 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
   1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
     829:3 15 (_)
     809:4 14 (call-with-status-report _ _)
In guix/scripts/system.scm:
    1253:4 13 (_)
In ice-9/boot-9.scm:
   1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
    658:37 11 (thunk)
    1320:8 10 (call-with-build-handler #<procedure 7f83110aaae0 at g…> …)
   2129:25  9 (run-with-store #<store-connection 256.99 7f83150002d0> …)
In guix/scripts/system.scm:
   1277:15  8 (_ _)
     819:5  7 (perform-action reconfigure #<<image> name: #f format:…> …)
In guix/scripts/system/reconfigure.scm:
     345:3  6 (check-forward-update _ #:current-channels _)
In srfi/srfi-1.scm:
    691:23  5 (filter-map #<procedure 7f831015e3a0 at guix/scripts…> . #)
In guix/scripts/system/reconfigure.scm:
    352:37  4 (_ #<<channel> name: shiroikuma url: "file:///media/0/z…>)
In guix/git.scm:
    465:29  3 (update-cached-checkout "file:///media/0/zenrc/skgpth.…" …)
    396:13  2 (_ git-error #<<git-error> code: -1 message: "repositor…>)
In ice-9/boot-9.scm:
   1685:16  1 (raise-exception _ #:continuable? _)
   1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Git error: repository path '/media/0/zenrc/skgpth.ggs/0/guix/packages/' 
is not owned by current user

To fix this, I have to always:

- quote the local channel in channels.scm
- guix pull
- guix system reconfigure
- now unqoute the local channel specification again
- guix pull
- guix system reconfigure

After this - on the next reconfigure again the above error.

What could be causing this?

-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / 
Mit freundlichen Grüßen

白い熊
ShiroiKuma


                 reply	other threads:[~2022-05-15 21:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=a057d327d9c5ae26e8516467f61905b1@sumou.com \
    --to=help-guix_gnu.org@sumou.com \
    --cc=help-guix@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.
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).