GNU bug report logs - #36374
‘guix pull’ should not suggest running ‘guix pull’

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Tue, 25 Jun 2019 14:09:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 36374 <at> debbugs.gnu.org:


Received: (at 36374) by debbugs.gnu.org; 27 Jun 2019 09:55:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 27 05:55:50 2019
Received: from localhost ([127.0.0.1]:37447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hgR8A-0005UA-F4
	for submit <at> debbugs.gnu.org; Thu, 27 Jun 2019 05:55:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hgR88-0005Ty-Ux
 for 36374 <at> debbugs.gnu.org; Thu, 27 Jun 2019 05:55:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46879)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hgR82-0005tA-8B; Thu, 27 Jun 2019 05:55:42 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45086 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hgR7z-0004Hg-BE; Thu, 27 Jun 2019 05:55:41 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>
Subject: Re: bug#36374: =?utf-8?B?4oCYZ3VpeCBwdWxs4oCZ?= should not suggest
 running =?utf-8?B?4oCYZ3VpeCBwdWxs4oCZ?=
References: <87a7e5n4fg.fsf@HIDDEN>
 <E398A193-BBCE-4EDE-9671-B4A0AAD2998E@HIDDEN>
Date: Thu, 27 Jun 2019 11:55:36 +0200
In-Reply-To: <E398A193-BBCE-4EDE-9671-B4A0AAD2998E@HIDDEN> (Julien
 Lepiller's message of "Wed, 26 Jun 2019 16:19:26 +0200")
Message-ID: <87lfxn2vzb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 36374
Cc: 36374 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello!

Julien Lepiller <julien@HIDDEN> skribis:

> Here is a patch to address this issue on Guix System. It creates new
> files in /etc/skel: an initial profile (.config/guix/initial) tgat
> only contains a symlink to /run/current-system/profile/bin/guix and
> the current profile as a symlink to the initial profile.
>
> At first boot, and for new users, guix well be found in the current
> profile, and stays there after guix pull, so we don't need to use hash
> guix anymore.

I think this addresses the =E2=80=9Chash guix=E2=80=9D issue (this will no =
longer be
needed with this patch), but it only indirectly solves the =E2=80=9Cguix pu=
ll=E2=80=9D
suggestion issue, right?

> From 89b5fa77af87e1a1537c10e929439a902806cc5c Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien@HIDDEN>
> Date: Wed, 26 Jun 2019 14:24:55 +0200
> Subject: [PATCH] gnu: system: Symlink guix inside an initial guix pull
>  profile.
>
> This patch adds an initial guix pull profile to the skeletons files used
> on Guix System.  This ensures that users don't have to type 'hash guix'
> after their first guix pull, and prevents 'guix pull' from suggesting to
> run 'guix pull' after it finished successfuly.

It prevents the suggestion, but only because the symlink appears to be
new.  If you change the mtime of the symlink, or if you run:

  GUIX_DISTRO_AGE_WARNING=3D1s guix pull

I think you still get the =E2=80=9Cguix pull=E2=80=9D recommendation.

> * gnu/system/shadow.scm (skeleton-directory): Symlink guix inside an
> initial guix pull profile.

Perhaps we should add it to =E2=80=98default-skeletons=E2=80=99 instead of
special-casing it here?  WDYT?

Thanks for working on it!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#36374; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Jun 2019 14:19:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 26 10:19:45 2019
Received: from localhost ([127.0.0.1]:36641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hg8m1-0004YI-0N
	for submit <at> debbugs.gnu.org; Wed, 26 Jun 2019 10:19:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:33128)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1hg8ly-0004Y9-D6
 for submit <at> debbugs.gnu.org; Wed, 26 Jun 2019 10:19:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53350)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <julien@HIDDEN>) id 1hg8lx-0003Qo-Bh
 for bug-guix@HIDDEN; Wed, 26 Jun 2019 10:19:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <julien@HIDDEN>) id 1hg8lw-0007gv-2k
 for bug-guix@HIDDEN; Wed, 26 Jun 2019 10:19:41 -0400
Received: from lepiller.eu ([2a00:5884:8208::1]:52658)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <julien@HIDDEN>)
 id 1hg8lv-0007a3-PA; Wed, 26 Jun 2019 10:19:40 -0400
Received: from [100.77.211.47] (ip37.ip-54-36-222.eu [54.36.222.37])
 by lepiller.eu (OpenSMTPD) with ESMTPSA id e2d72c67
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); 
 Wed, 26 Jun 2019 14:19:32 +0000 (UTC)
Date: Wed, 26 Jun 2019 16:19:26 +0200
User-Agent: K-9 Mail for Android
In-Reply-To: <87a7e5n4fg.fsf@HIDDEN>
References: <87a7e5n4fg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----JAKAIU8MLHDUBLJF0W7GBI1UMNVN60"
Content-Transfer-Encoding: 7bit
Subject: =?UTF-8?Q?Re=3A_bug=2336374=3A_=E2=80=98guix_pull=E2=80=99_shoul?=
 =?UTF-8?Q?d_not_suggest_running_=E2=80=98guix_pull=E2=80=99?=
To: bug-guix@HIDDEN,=?ISO-8859-1?Q?Ludovic_Court=E8s?= <ludo@HIDDEN>
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <E398A193-BBCE-4EDE-9671-B4A0AAD2998E@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:5884:8208::1
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Le 25 juin 2019 16:08:19 GMT+02:00, "Ludovic Court=C3=A8s" <ludo@gnu=2Eorg>=
 a =C3=A9crit :
>The article at
><https://distrowatch=2Ecom/weekly=2Ephp?issue=3D20190624#guixsd> has a
>screenshot showing =E2=80=98guix pull=E2=80=99 suggesting to run =E2=80=
=98guix pull && guix
>package -u=E2=80=99=2E  This is obviously wrong=2E
>
>Ludo=E2=80=99=2E

Here is a patch to address this issue on Guix System=2E It creates new fil=
es in /etc/skel: an initial profile (=2Econfig/guix/initial) tgat only cont=
ains a symlink to /run/current-system/profile/bin/guix and the current prof=
ile as a symlink to the initial profile=2E

At first boot, and for new users, guix well be found in the current profil=
e, and stays there after guix pull, so we don't need to use hash guix anymo=
re=2E
------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60
Content-Type: application/octet-stream;
 name="0001-gnu-system-Symlink-guix-inside-an-initial-guix-pull-.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="0001-gnu-system-Symlink-guix-inside-an-initial-guix-pull-.patch";
 size=1536

RnJvbSA4OWI1ZmE3N2FmODdlMWExNTM3YzEwZTkyOTQzOWE5MDI4MDZjYzVjIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKdWxpZW4gTGVwaWxsZXIgPGp1bGllbkBsZXBpbGxlci5ldT4K
RGF0ZTogV2VkLCAyNiBKdW4gMjAxOSAxNDoyNDo1NSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGdu
dTogc3lzdGVtOiBTeW1saW5rIGd1aXggaW5zaWRlIGFuIGluaXRpYWwgZ3VpeCBwdWxsCiBwcm9m
aWxlLgoKVGhpcyBwYXRjaCBhZGRzIGFuIGluaXRpYWwgZ3VpeCBwdWxsIHByb2ZpbGUgdG8gdGhl
IHNrZWxldG9ucyBmaWxlcyB1c2VkCm9uIEd1aXggU3lzdGVtLiAgVGhpcyBlbnN1cmVzIHRoYXQg
dXNlcnMgZG9uJ3QgaGF2ZSB0byB0eXBlICdoYXNoIGd1aXgnCmFmdGVyIHRoZWlyIGZpcnN0IGd1
aXggcHVsbCwgYW5kIHByZXZlbnRzICdndWl4IHB1bGwnIGZyb20gc3VnZ2VzdGluZyB0bwpydW4g
J2d1aXggcHVsbCcgYWZ0ZXIgaXQgZmluaXNoZWQgc3VjY2Vzc2Z1bHkuCgoqIGdudS9zeXN0ZW0v
c2hhZG93LnNjbSAoc2tlbGV0b24tZGlyZWN0b3J5KTogU3ltbGluayBndWl4IGluc2lkZSBhbgpp
bml0aWFsIGd1aXggcHVsbCBwcm9maWxlLgotLS0KIGdudS9zeXN0ZW0vc2hhZG93LnNjbSB8IDYg
KysrKysrCiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZ251
L3N5c3RlbS9zaGFkb3cuc2NtIGIvZ251L3N5c3RlbS9zaGFkb3cuc2NtCmluZGV4IDEzYjhiMTQw
OTUuLjgzN2JlNDRiMmMgMTAwNjQ0Ci0tLSBhL2dudS9zeXN0ZW0vc2hhZG93LnNjbQorKysgYi9n
bnUvc3lzdGVtL3NoYWRvdy5zY20KQEAgLTIyMyw2ICsyMjMsMTIgQEAgZm9yIGEgY29sb3JmdWwg
R3VpbGUgZXhwZXJpZW5jZS5cXG5cXG5cIikpKSlcbiIpKQogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAoKHRhcmdldCBzb3VyY2UpCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAoY29weS1yZWN1cnNpdmVseSBzb3VyY2UgdGFyZ2V0KSkpCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAnIyRza2VsZXRvbnMpCisKKyAgICAgICAgICAgICAgICAg
ICAgICAgOzsgU3ltbGluayB0aGUgY3VycmVudCBwcm9maWxlIHRvIGEgZGVmYXVsdCBzeXN0ZW0g
cHJvZmlsZS4KKyAgICAgICAgICAgICAgICAgICAgICAgKG1rZGlyLXAgKHN0cmluZy1hcHBlbmQg
IyRvdXRwdXQgIi8uY29uZmlnL2d1aXgvaW5pdGlhbC9iaW4iKSkKKyAgICAgICAgICAgICAgICAg
ICAgICAgKHN5bWxpbmsgIi9ydW4vY3VycmVudC1zeXN0ZW0vcHJvZmlsZS9iaW4vZ3VpeCIKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIi5jb25maWcvZ3VpeC9pbml0aWFsL2Jpbi9n
dWl4IikKKyAgICAgICAgICAgICAgICAgICAgICAgKHN5bWxpbmsgImluaXRpYWwiICIuY29uZmln
L2d1aXgvY3VycmVudCIpCiAgICAgICAgICAgICAgICAgICAgICAgICN0KSkpKQogCiAoZGVmaW5l
IChhc3NlcnQtdmFsaWQtdXNlcnMvZ3JvdXBzIHVzZXJzIGdyb3VwcykKLS0gCjIuMjEuMAoK

------JAKAIU8MLHDUBLJF0W7GBI1UMNVN60--




Information forwarded to bug-guix@HIDDEN:
bug#36374; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Jun 2019 14:08:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 25 10:08:31 2019
Received: from localhost ([127.0.0.1]:33114 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hfm7b-0008TD-At
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 10:08:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:53350)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hfm7Z-0008T5-JM
 for submit <at> debbugs.gnu.org; Tue, 25 Jun 2019 10:08:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40176)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <ludo@HIDDEN>) id 1hfm7T-0001ox-MA
 for bug-Guix@HIDDEN; Tue, 25 Jun 2019 10:08:28 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58089)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hfm7T-0004Eh-Ir
 for bug-Guix@HIDDEN; Tue, 25 Jun 2019 10:08:23 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53108 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1hfm7R-0002j0-O2
 for bug-Guix@HIDDEN; Tue, 25 Jun 2019 10:08:22 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-Guix@HIDDEN
Subject: =?utf-8?B?4oCYZ3VpeCBwdWxs4oCZ?= should not suggest running
 =?utf-8?B?4oCYZ3VpeCBwdWxs4oCZ?=
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 7 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 25 Jun 2019 16:08:19 +0200
Message-ID: <87a7e5n4fg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

The article at
<https://distrowatch.com/weekly.php?issue=3D20190624#guixsd> has a
screenshot showing =E2=80=98guix pull=E2=80=99 suggesting to run =E2=80=98g=
uix pull && guix
package -u=E2=80=99.  This is obviously wrong.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#36374; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 27 Jun 2019 15:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.