From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36785: Impossible to pull on foreign distro Date: Sat, 28 Sep 2019 19:49:28 +0200 Message-ID: <87k19sqpjr.fsf@gnu.org> 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> 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]:39241) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEGr5-0003Bb-8e for bug-guix@gnu.org; Sat, 28 Sep 2019 13:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEGr4-0003HJ-28 for bug-guix@gnu.org; Sat, 28 Sep 2019 13:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEGr3-0003HC-Uz for bug-guix@gnu.org; Sat, 28 Sep 2019 13:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEGr3-0005OG-QR for bug-guix@gnu.org; Sat, 28 Sep 2019 13:50:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8736ghdaq1.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 28 Sep 2019 00:23:34 +0900") 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: Maxim Cournoyer Cc: 36785@debbugs.gnu.org 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 > 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. > +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 distr= os 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}}). ? Feel free to push something along these lines. Thank you, Ludo=E2=80=99.