help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Local channel - every system reconfigure: Git error: repository path '/p


From: 白い熊
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
User-agent: Roundcube Webmail/1.4.7

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 via email to

[Prev in Thread] Current Thread [Next in Thread]