unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Local channel - every system reconfigure: Git error: repository path '/path/to/channel/' is not owned by current user
@ 2022-05-15 21:33 白い熊
  0 siblings, 0 replies; only message in thread
From: 白い熊 @ 2022-05-15 21:33 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-15 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-15 21:33 Local channel - every system reconfigure: Git error: repository path '/path/to/channel/' is not owned by current user 白い熊

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