unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* system reconfigure, Git error: the SSL certificate is invalid
@ 2020-07-25 17:29 Andreas Reuleaux
  2020-07-27 13:00 ` Andreas Reuleaux
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Reuleaux @ 2020-07-25 17:29 UTC (permalink / raw)
  To: help-guix Users

Hi,

In a slight variation of section 3.7 of the Guix Manual ("After System
Installation"), I regularly do 

  guix pull

as a regular user (rx in my case), and then (using rx's guix command),
as root:

# /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm

(i.e. instead of using sudo, as suggested in the manual)

This combo used to work fine for me for quite a while. Now, since a few days,
having done my 

  guix pull

step (as user rx), which still works fine for me (updates my guix system), I get an error when
trying the above reconfigure step:

    root@pc ~# /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm
    Backtrace:
    In ice-9/boot-9.scm:
      1731:15 19 (with-exception-handler #<procedure 7f5dc055ef30 at ic…> …)
    In guix/scripts/system.scm:
       1286:8 18 (_)
    In guix/status.scm:
        776:4 17 (call-with-status-report _ _)
    In guix/scripts/system.scm:
       1125:4 16 (_)
    In ice-9/boot-9.scm:
      1736:10 15 (with-exception-handler _ _ #:unwind? _ # _)
    In guix/store.scm:
       631:22 14 (thunk)
       1299:8 13 (call-with-build-handler #<procedure 7f5db7c4db70 at g…> …)
      2025:24 12 (run-with-store #<store-connection 256.99 7f5db7bd4c80> …)
    In guix/scripts/system.scm:
      1145:15 11 (_ _)
        783:4 10 (perform-action reconfigure #<<operating-system> kerne…> …)
    In guix/scripts/system/reconfigure.scm:
        323:2  9 (check-forward-update _)
    In srfi/srfi-1.scm:
       691:23  8 (filter-map #<procedure 7f5dc4094140 at guix/scripts…> . #)
    In guix/scripts/system/reconfigure.scm:
       330:37  7 (_ #<<channel> name: guix url: "https://git.savannah.gn…>)
    In guix/git.scm:
       329:29  6 (update-cached-checkout "https://git.savannah.gnu.org/…" …)
    In ice-9/boot-9.scm:
      1736:10  5 (with-exception-handler _ _ #:unwind? _ # _)
    In git/clone.scm:
         46:8  4 (_ _ _ _)
    In git/bindings.scm:
         77:2  3 (raise-git-error _)
    In ice-9/boot-9.scm:
      1669:16  2 (raise-exception _ #:continuable? _)
      1669:16  1 (raise-exception _ #:continuable? _)
      1669:16  0 (raise-exception _ #:continuable? _)

    ice-9/boot-9.scm:1669:16: In procedure raise-exception:
    Git error: the SSL certificate is invalid

    root@pc ~#


I have no clue - and I am fairly new to guix, and yet have many thing to learn - so bear with me, please -
I would prefer to make my next guix steps, however, having a working / up-to-date system. 

Thanks in advance.
  -A



  



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: system reconfigure, Git error: the SSL certificate is invalid
  2020-07-25 17:29 system reconfigure, Git error: the SSL certificate is invalid Andreas Reuleaux
@ 2020-07-27 13:00 ` Andreas Reuleaux
  2020-08-28 14:18   ` Joshua Branson
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Reuleaux @ 2020-07-27 13:00 UTC (permalink / raw)
  To: help-guix Users

To answer my own question (and for the record, or for anyone interested):

Doing "guix pull" as root, i.e. several cycles of

  # guix pull
  # guix system reconfigure /etc/config.scm
  # reboot

really, all of them as root, did update my system enough, to make my
usual cycle work again, i.e.

(as a regular user rx)
  $ guix pull 

and then (as root):
  # /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm

works again for me, now. 

Thus, section 3.7 of the Manual, which suggests to  
"guix pull" only ever as a regular user, seems a bit too over-optimistic to me.

I still don't know exactly, what was causing this issue, but fine
with me, if I update my system as root once in a while.

Thanks,
  -A



Andreas Reuleaux <rx@a-rx.info> writes:

> Hi,
>
> In a slight variation of section 3.7 of the Guix Manual ("After System
> Installation"), I regularly do 
>
>   guix pull
>
> as a regular user (rx in my case), and then (using rx's guix command),
> as root:
>
> # /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm
>
> (i.e. instead of using sudo, as suggested in the manual)
>
> This combo used to work fine for me for quite a while. Now, since a few days,
> having done my 
>
>   guix pull
>
> step (as user rx), which still works fine for me (updates my guix system), I get an error when
> trying the above reconfigure step:
>
>     root@pc ~# /home/rx/.config/guix/current/bin/guix system reconfigure /etc/config.scm
>     Backtrace:
>     In ice-9/boot-9.scm:
>       1731:15 19 (with-exception-handler #<procedure 7f5dc055ef30 at ic…> …)
>     In guix/scripts/system.scm:
>        1286:8 18 (_)
>     In guix/status.scm:
>         776:4 17 (call-with-status-report _ _)
>     In guix/scripts/system.scm:
>        1125:4 16 (_)
>     In ice-9/boot-9.scm:
>       1736:10 15 (with-exception-handler _ _ #:unwind? _ # _)
>     In guix/store.scm:
>        631:22 14 (thunk)
>        1299:8 13 (call-with-build-handler #<procedure 7f5db7c4db70 at g…> …)
>       2025:24 12 (run-with-store #<store-connection 256.99 7f5db7bd4c80> …)
>     In guix/scripts/system.scm:
>       1145:15 11 (_ _)
>         783:4 10 (perform-action reconfigure #<<operating-system> kerne…> …)
>     In guix/scripts/system/reconfigure.scm:
>         323:2  9 (check-forward-update _)
>     In srfi/srfi-1.scm:
>        691:23  8 (filter-map #<procedure 7f5dc4094140 at guix/scripts…> . #)
>     In guix/scripts/system/reconfigure.scm:
>        330:37  7 (_ #<<channel> name: guix url: "https://git.savannah.gn…>)
>     In guix/git.scm:
>        329:29  6 (update-cached-checkout "https://git.savannah.gnu.org/…" …)
>     In ice-9/boot-9.scm:
>       1736:10  5 (with-exception-handler _ _ #:unwind? _ # _)
>     In git/clone.scm:
>          46:8  4 (_ _ _ _)
>     In git/bindings.scm:
>          77:2  3 (raise-git-error _)
>     In ice-9/boot-9.scm:
>       1669:16  2 (raise-exception _ #:continuable? _)
>       1669:16  1 (raise-exception _ #:continuable? _)
>       1669:16  0 (raise-exception _ #:continuable? _)
>
>     ice-9/boot-9.scm:1669:16: In procedure raise-exception:
>     Git error: the SSL certificate is invalid
>
>     root@pc ~#
>
>
> I have no clue - and I am fairly new to guix, and yet have many thing to learn - so bear with me, please -
> I would prefer to make my next guix steps, however, having a working / up-to-date system. 
>
> Thanks in advance.
>   -A
>
>
>
>   



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: system reconfigure, Git error: the SSL certificate is invalid
  2020-07-27 13:00 ` Andreas Reuleaux
@ 2020-08-28 14:18   ` Joshua Branson
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Branson @ 2020-08-28 14:18 UTC (permalink / raw)
  To: help-guix Users


I'm not sure why, but I think that guix system requires you to once run
guix pull as the root user. 

-- 
Joshua Branson
Sent from Emacs and Gnus


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-28 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-25 17:29 system reconfigure, Git error: the SSL certificate is invalid Andreas Reuleaux
2020-07-27 13:00 ` Andreas Reuleaux
2020-08-28 14:18   ` Joshua Branson

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