From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OP68L+p7y16KQwAA0tVLHw (envelope-from ) for ; Mon, 25 May 2020 08:03:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YImaK+p7y17uAgAA1q6Kng (envelope-from ) for ; Mon, 25 May 2020 08:03:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E504940D34 for ; Mon, 25 May 2020 08:03:54 +0000 (UTC) Received: from localhost ([::1]:56134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd85R-00019P-Ab for larch@yhetil.org; Mon, 25 May 2020 04:03:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd85J-00019E-20 for help-guix@gnu.org; Mon, 25 May 2020 04:03:45 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:51665) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd85H-0007ja-Os for help-guix@gnu.org; Mon, 25 May 2020 04:03:44 -0400 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 00514240002; Mon, 25 May 2020 08:03:39 +0000 (UTC) From: Pierre Neidhardt To: vapnik spaknik , help-guix@gnu.org Subject: Re: profile symlink structure In-Reply-To: <981904032.4122292.1590333823170@mail.yahoo.com> References: <981904032.4122292.1590333823170.ref@mail.yahoo.com> <981904032.4122292.1590333823170@mail.yahoo.com> Date: Mon, 25 May 2020 10:03:39 +0200 Message-ID: <87lflgphk4.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.230; envelope-from=mail@ambrevar.xyz; helo=relay10.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 04:03:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: XvSdyj4dR5m5 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable vapnik spaknik writes: > Could this be due to running "sudo guix pull" or "sudo -i guix pull"? Did you run `sudo guix pull`? If so, you should probably not! :) > Also, what determines which profile symlinks are placed in /var/guix/gcro= ots/auto? I read elsewhere that these symlinks will be automatically remove= d as soon as any of them are broken.=20 See my other email. `guix package --profile=3D...` is one of the commands that creates auto GC roots. > In my case that directory only contains symlinks to /var/guix/profiles/pe= r-user/*/current-guix* symlinks, one of which is missing (/var/guix/profile= s/per-user/root/current-guix-1-link), and there is another link to ~/.confi= g/guix/current-1-link which itself links directly to a profile in /gnu/store > > I suspect that the previously mentioned anomalies are the reason why "gui= x pull" fails for me with the following error when run as : > >> guix pull: error: symlink: File exists: "/var/guix/profiles/per-user//current-guix-1-link"=20 > > and which may have been caused by interrupting a "guix pull". The symlinking operations should be atomic, thus this can not happen. I suspect that your error is due to calling `sudo guix pull`. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7Le9sACgkQm9z0l6S7 zH/ImAf9FvcDTEbfIyOUkUMLCCUCkQ868G36cdI4ld3e43bEY2qsuCgQplMwtZ2c mtlzmFmM5lu9xnGndjQQ5brWA7jVy2USZikheZVgRQQynatdNwRdVgrZzGEywafu m7JjQvnPHOP4Dh7tX+MjBJj82eOyLsc1871T1eSrzQBzZ7w3XF/3J5XCfoMdUxbn YlW5+xI+9FLWMX66pqEVt52RnHIgsa0k5qOxw989Hw9ckw933SCEas1XG+usO2k7 cKz/k+/M8RyG18DcL43kkTTzoqYoKTlVHDZ624lzcPkyiyMoMtSEirFOs22YQqV1 4d2t16vAF2fMRMnzjlAfP3AM/icq3A== =yLU6 -----END PGP SIGNATURE----- --=-=-=--