bug#36785: Impossible to pull on foreign distro

2019-09-28 Thread Maxim Cournoyer
Hello Ludovic! Ludovic Courtès writes: > Hi Maxim! > > Maxim Cournoyer skribis: > >> From a289eb3fd6239287d4a802fbba69abf21604591f Mon Sep 17 00:00:00 2001 >> From: Maxim Cournoyer >> Date: Sat, 28 Sep 2019 00:11:28 +0900 >> Subject: [PATCH] doc: Add a 'Upgrading Guix' section to the

bug#36785: Impossible to pull on foreign distro

2019-09-28 Thread Ludovic Courtès
Hi Maxim! Maxim Cournoyer skribis: > From a289eb3fd6239287d4a802fbba69abf21604591f Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Sat, 28 Sep 2019 00:11:28 +0900 > Subject: [PATCH] doc: Add a 'Upgrading Guix' section to the 'Installation' > chapter. > MIME-Version: 1.0 >

bug#36785: Impossible to pull on foreign distro

2019-09-24 Thread Ludovic Courtès
Hi, Maxim Cournoyer skribis: > Ludovic Courtès writes: > >> Hi Maxim, >> >> Maxim Cournoyer skribis: >> >>> --- a/doc/guix.texi >>> +++ b/doc/guix.texi >>> @@ -2387,8 +2387,8 @@ Success, you've now booted into Guix System! From >>> then on, you can update the >>> system whenever you want

bug#36785: Impossible to pull on foreign distro

2019-09-23 Thread Maxim Cournoyer
Hello, Ludovic Courtès writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> --- a/doc/guix.texi >> +++ b/doc/guix.texi >> @@ -2387,8 +2387,8 @@ Success, you've now booted into Guix System! From >> then on, you can update the >> system whenever you want by running, say: >> >> @example >>

bug#36785: Impossible to pull on foreign distro

2019-09-23 Thread Ludovic Courtès
Hi Gábor, Gábor Boskovits skribis: > I believe sudo -H would work in all distros for doing a root guix pull. Can > someone confirm? I think so, yes. Ludo’.

bug#36785: Impossible to pull on foreign distro

2019-09-23 Thread Gábor Boskovits
Ludovic Courtès ezt írta (időpont: 2019. szept. 23., Hét 10:29): > Hi Maxim, > > Maxim Cournoyer skribis: > > > --- a/doc/guix.texi > > +++ b/doc/guix.texi > > @@ -2387,8 +2387,8 @@ Success, you've now booted into Guix System! From > then on, you can update the > > system whenever you want by

bug#36785: Impossible to pull on foreign distro

2019-09-21 Thread Maxim Cournoyer
Hello, Ludovic Courtès writes: > Maxim Cournoyer skribis: > >> Indeed, the default recommended invocation to update the root's guix >> could be changed to be 'sudo -i guix pull', which should work on all >> systems including Ubuntu. > > Oh right. Could you make this change in the manual? > >

bug#36785: Impossible to pull on foreign distro

2019-09-21 Thread Maxim Cournoyer
Hello, Ludovic Courtès writes: > Maxim Cournoyer skribis: > >> Indeed, the default recommended invocation to update the root's guix >> could be changed to be 'sudo -i guix pull', which should work on all >> systems including Ubuntu. > > Oh right. Could you make this change in the manual? > >

bug#36785: Impossible to pull on foreign distro

2019-09-20 Thread Maxim Cournoyer
Hello, Gábor Boskovits writes: > Hello Ludo, > > Ludovic Courtès ezt írta (időpont: 2019. szept. 18., Sze, > 0:04): > >> Hi, >> >> Ludovic Courtès skribis: >> >> > Indeed. I added ‘pk’ calls to print ‘%profile-directory’ and >> > (canonicalize-profile %user-profile-directory), and here’s

bug#36785: Impossible to pull on foreign distro

2019-09-19 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > Ludovic Courtès writes: [...] >> We could apply the patch I posted earlier, which simply disables profile >> migration when SUDO_USER is set. That won’t address the fact that root >> writes to the user’s ~/.cache, but there’s not much we can do here. > > This

bug#36785: Impossible to pull on foreign distro

2019-09-18 Thread Ricardo Wurmus
Ludovic Courtès writes: > Digging further, I fetched the source from > , and boom! I found the > culprit: it’s called ‘debian/patches/keep_home_by_default.patch’. > > --8<---cut here---start->8--- > Description: Set

bug#36785: Impossible to pull on foreign distro

2019-09-18 Thread Ludovic Courtès
Hi, Gábor Boskovits skribis: > We could simply document a proper sudo invocation for updating root's guix, > that > always works. Wdyt? The thing is “sudo guix pull” works on all (?) distros but Ubuntu, which provides a patched sudo. So we’d have to explicitly mention Ubuntu. That’s probably

bug#36785: Impossible to pull on foreign distro

2019-09-17 Thread Gábor Boskovits
Hello Ludo, Ludovic Courtès ezt írta (időpont: 2019. szept. 18., Sze, 0:04): > Hi, > > Ludovic Courtès skribis: > > > Indeed. I added ‘pk’ calls to print ‘%profile-directory’ and > > (canonicalize-profile %user-profile-directory), and here’s what I see > > with ‘sudo’: > > > > $ sudo -E

bug#36785: Impossible to pull on foreign distro

2019-09-17 Thread Ludovic Courtès
Hi, Ludovic Courtès skribis: > Indeed. I added ‘pk’ calls to print ‘%profile-directory’ and > (canonicalize-profile %user-profile-directory), and here’s what I see > with ‘sudo’: > > $ sudo -E ./pre-inst-env guix pull > > ;;; (pd "/var/guix/profiles/per-user/root") > > ;;; (upd

bug#36785: Impossible to pull on foreign distro

2019-07-26 Thread Ludovic Courtès
Hi Julien, Julien Lepiller skribis: > Le 26 juillet 2019 01:03:08 GMT+02:00, "Ludovic Courtès" a > écrit : [...] >>;; In 0.15.0+ we'd create ~/.config/guix/current-[0-9]*-link symlinks. >>Move >> ;; them to %PROFILE-DIRECTORY. >> (unless (string=? %profile-directory >>

bug#36785: Impossible to pull on foreign distro

2019-07-26 Thread Julien Lepiller
Le 26 juillet 2019 01:03:08 GMT+02:00, "Ludovic Courtès" a écrit : >Hi Julien, > >Julien Lepiller skribis: > >> I gave a small tutorial to someone today, where we installed guix on >top of a foreign distro. We used the script and everything went >smoothly, and after finding out that we were

bug#36785: Impossible to pull on foreign distro

2019-07-25 Thread Ludovic Courtès
Hi Julien, Julien Lepiller skribis: > I gave a small tutorial to someone today, where we installed guix on top of a > foreign distro. We used the script and everything went smoothly, and after > finding out that we were going to build php (we were trying to define a VM > that would serve one

bug#36785: Impossible to pull on foreign distro

2019-07-24 Thread Julien Lepiller
Hi guix, I gave a small tutorial to someone today, where we installed guix on top of a foreign distro. We used the script and everything went smoothly, and after finding out that we were going to build php (we were trying to define a VM that would serve one of their services), we tried to run