From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#36785: Impossible to pull on foreign distro Date: Sun, 29 Sep 2019 10:36:01 +0900 Message-ID: <87r23zc29q.fsf@gmail.com> References: <6733C9AB-E5C1-4B63-8F0E-04CD1BB32338@lepiller.eu> <874l39ra37.fsf@gnu.org> <3DC355B8-FE36-4C4E-BBC9-EEC5F580AF0D@lepiller.eu> <87tvb9qktd.fsf@gnu.org> <87woe6fune.fsf@gnu.org> <87pnjv73sg.fsf@gmail.com> <87woe3otut.fsf@gnu.org> <87pnjt6dbf.fsf@gmail.com> <87d0frl8js.fsf@gnu.org> <871rw7f6j3.fsf@gmail.com> <87d0fpkgz7.fsf@gnu.org> <8736ghdaq1.fsf@gmail.com> <87k19sqpjr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55342) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEO91-00056o-7b for bug-guix@gnu.org; Sat, 28 Sep 2019 21:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEO8z-0004Ey-Vh for bug-guix@gnu.org; Sat, 28 Sep 2019 21:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEO8z-0004Er-Sm for bug-guix@gnu.org; Sat, 28 Sep 2019 21:37:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEO8z-00047a-LP for bug-guix@gnu.org; Sat, 28 Sep 2019 21:37:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k19sqpjr.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 28 Sep 2019 19:49:28 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36785@debbugs.gnu.org Hello Ludovic! Ludovic Court=C3=A8s 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 'Installatio= n' >> chapter. >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=3DUTF-8 >> Content-Transfer-Encoding: 8bit >> >> This follows a discussion regarding issue #36785 (see: >> https://bugs.gnu.org/36785). >> >> * doc/guix.texi (Upgrading Guix): New section. >> >> Co-authored-by: Ludovic Court=C3=A8s > > [...] > >> +@node Upgrading Guix >> +@section Upgrading Guix >> + >> +@cindex Upgrading Guix, on a foreign distro > > Nitpicking: index entries are usually lower-case. Oh! I hadn't realized this was the convention used in Guix, thanks for pointing it out. >> +To upgrade Guix, run: >> + >> +@example >> +guix pull >> +@end example > > Perhaps add: > > @xref{Invoking guix pull}, for more information. > >> +When you need to upgrade the build daemon, for instance, which runs as >> +root, run: >> + >> +@example >> +sudo -i guix pull >> +@end example > > What about restating upfront that we=E2=80=99re talking about foreign dis= tros > specifically: > > On a foreign distro, you can upgrade the build daemon by running: > > @example > sudo -i guix pull > @end example > > @noindent > followed by (assuming your distro uses the systemd service management > tool): > > @example > systemctl restart guix-daemon.service > @end example > > On Guix System, upgrading the daemon is achieved by reconfiguring the > system (@pxref{Invoking guix system, @code{guix system reconfigure}}). > > ? Great additions. > Feel free to push something along these lines. Pushed as 5510bb01e9. Thank you! Maxim