From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gKeABw/9y175BgAA0tVLHw (envelope-from ) for ; Mon, 25 May 2020 17:14:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2HFnAw/9y14qLQAAB5/wlQ (envelope-from ) for ; Mon, 25 May 2020 17:14:55 +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 9D830940390 for ; Mon, 25 May 2020 17:14:54 +0000 (UTC) Received: from localhost ([::1]:34296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdGgf-0004EL-JS for larch@yhetil.org; Mon, 25 May 2020 13:14:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdGgY-0004DH-4z for help-guix@gnu.org; Mon, 25 May 2020 13:14:46 -0400 Received: from sonic309-21.consmr.mail.gq1.yahoo.com ([98.137.65.147]:34071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdGgX-0006hy-3O for help-guix@gnu.org; Mon, 25 May 2020 13:14:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1590426881; bh=4ABRm0x9zw0vfNh5N1OftZqqido8rMiKJcB6YoLP9Ho=; h=Date:From:To:In-Reply-To:References:Subject:From:Subject; b=SVvOhXePPGjL8e1Cax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RScin9NBH8_iEec2SyGVtXAmDuGn5KH..YPNLM761yhsKu3uckYBxRmGDzo0FIiJ 0QeL2f8vGOdbgS8pE34wwWT_l.bVwgdLoKUviJxgtIuDwedx_O3vJvm9rRcICVjF5ISOazXnW2wP 113O8yutEP3etBsrhS2wWIEnPsUwwg9rRIet3Z3mqDJux.5a.1PrCoaJh1_dra6422WMC7V8eAac pc.2E7GV9ui0IJvtR_erBlaWXQcMJrvKXU6Bwwof7SVBMVe_zG5GqiIovq0s1RoBJ6FnM0sQ4TDH JIhlryMglkgn909cAdPPqeYWY7X5XAzD.lI7WvL1Xw29hrOxI2ijAsD4YtG9dfNfEpzxghHNjLGh l4uOK6TsOUSyZADZ2bn20vMOJA14698AV0oOy9mLfd1NBtb7zXJugG6E2c3r_THoeMtH8stnjNsY IkbuwvcfZiPNcbmmGoatOg4JR9PSoZ_mqnI0dJ0uWO1SqF6KvtrtBAI89VfaLVXOwBrT4W95RPME 8SpwcyKM6m9Qwc3zyv0OnWZGT_mx9cO7GSsU1gSk_FoN.Kf5xqhi2MloVu18zyoMXYP_2gJthoUJ 9GDK2GN1QVkKcpIlOZABK Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Mon, 25 May 2020 17:14:41 +0000 Date: Mon, 25 May 2020 17:14:40 +0000 (UTC) To: help-guix@gnu.org, Pierre Neidhardt Message-ID: <1738531847.4528400.1590426880237@mail.yahoo.com> In-Reply-To: <87lflgphk4.fsf@ambrevar.xyz> References: <981904032.4122292.1590333823170.ref@mail.yahoo.com> <981904032.4122292.1590333823170@mail.yahoo.com> <87lflgphk4.fsf@ambrevar.xyz> Subject: Re: profile symlink structure MIME-Version: 1.0 X-Mailer: WebService/1.1.15960 YMailNodin Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/81.0.4044.138 Chrome/81.0.4044.138 Safari/537.36 Received-SPF: pass client-ip=98.137.65.147; envelope-from=vapniks@yahoo.com; helo=sonic309-21.consmr.mail.gq1.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 13:14:41 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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" Reply-to: vapnik spaknik From: vapnik spaknik via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=yahoo.com header.s=s2048 header.b=SVvOhXeP; 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.01 X-TUID: 1Npyg+fVppLo > On Monday, May 25, 2020, 09:03:44 AM GMT+1, Pierre Neidhardt wrote: > vapnik spaknik writes: >> In my case that directory only contains symlinks to /var/guix/profiles/per-user/*/current-guix* symlinks, one of which is missing (/var/guix/profiles/per-user/root/current-guix-1-link), and there is another link to ~/.config/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 "guix 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" >> >> 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`. OK, so I checked the manual again, and found out that I'm supposed to run `sudo -i guix pull`, not `sudo guix pull` or `guix pull`. I've was trying both of the latter two commands which would explain the unnecessary /var/guix/profiles/per-user/ben/current-guix* symlinks (due to `guix pull`) and /root/.config/guix/* symlinks (due to `sudo guix pull`). Running `sudo -i guix pull` it seems to work.