[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix installation age warning sometimes wrong
From: |
Ludovic Courtès |
Subject: |
Re: guix installation age warning sometimes wrong |
Date: |
Tue, 25 Jul 2017 10:16:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hi,
Vincent Legoll <address@hidden> skribis:
> On Mon, Jul 24, 2017 at 7:06 PM, Troy Sankey <address@hidden> wrote:
>> guix package: warning: Your Guix installation is 125 days old.
>> guix package: warning: Consider running 'guix pull' followed by
>> 'guix package -u' to get up-to-date packages and security updates.
>>
>> ...presumably because it's reading the mtime/ctime on the symlink. Is
>> there a more precise way to asses the age of the guix installation
>> symlink?
>
> This has been discussed previously, for example in this thread:
> https://lists.gnu.org/archive/html/guix-devel/2017-05/msg00123.html
Yeah currently this is based on the mtime.
Eventually I think we’ll rather check the Git commit that this
corresponds to, compared to the latest one available (though that’s
tricky since it involves making a network connection.)
So that’s what we have for now. As long as you don’t fiddle manually
with the ‘latest’ symlink, everything should be fine; otherwise be
prepared for things like this.
Ludo’.