From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25852: Users not updating their installations of Guix Date: Fri, 12 May 2017 10:29:12 +0200 Message-ID: <874lwqtr53.fsf@gnu.org> References: <20170223211156.GA24382@jasmine> <877f429kju.fsf@gnu.org> <87wpc1k0e5.fsf@netris.org> <87efy9gyr5.fsf@gnu.org> <87k27wporb.fsf@netris.org> <877f1oua8u.fsf@gnu.org> <86vap8yf36.fsf@gmail.com> <878tm4sc0l.fsf@gnu.org> <87lgq2sj5z.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d95xf-0001VO-HO for bug-guix@gnu.org; Fri, 12 May 2017 04:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d95xb-0002vB-1r for bug-guix@gnu.org; Fri, 12 May 2017 04:30:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d95xa-0002v2-V8 for bug-guix@gnu.org; Fri, 12 May 2017 04:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d95xa-0000Sc-Nn for bug-guix@gnu.org; Fri, 12 May 2017 04:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lgq2sj5z.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 12 May 2017 08:06:48 +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: Ricardo Wurmus Cc: 25852-done@debbugs.gnu.org, myglc2 Ricardo Wurmus skribis: > Ludovic Court=C3=A8s writes: > >> myglc2 skribis: >> >>> How about extending this ... >>> >>>> + (warning (G_ "Your Guix installation is getting old. Consider >>>> +running 'guix pull' followed by '~a' to get up-to-date >>>> +packages and security updates.\n") >>> >>> ... to inform the user how old the installation is? >> >> Good idea. I did that and pushed as >> 7fd952e05203d975fcb6cdabd2f742ade1b31b66. > > Does this do the right thing when .config/guix/latest points at a git > checkout? No it doesn=E2=80=99t, but I would argue that it unsupported. ;-) > The mtime of the =E2=80=9C.config/guix/latest=E2=80=9D link on one of my = machines is > from 2016, so Guix says it is too old, but it points to a git > checkout, which is recent. I would suggest: export GUIX_DISTRO_AGE_WARNING=3D1000m as a workaround. WDYT? Thanks, Ludo=E2=80=99.