From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: guix pull: error: symlink: File exists Date: Tue, 30 Oct 2018 21:02:55 +0100 Message-ID: <3fb9bb1b-834a-c56d-4c8e-ff83295f427b@freenet.de> References: <20181024071635.29543fcf@alma-ubu> <877ei67mfq.fsf@elephly.net> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHaGA-00058z-RC for guix-devel@gnu.org; Tue, 30 Oct 2018 16:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHaG7-0003mJ-Gm for guix-devel@gnu.org; Tue, 30 Oct 2018 16:05:06 -0400 Received: from mout3.freenet.de ([195.4.92.93]:58770) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHaG7-0003l1-2L for guix-devel@gnu.org; Tue, 30 Oct 2018 16:05:03 -0400 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout3.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gHaG5-0002IT-7M for guix-devel@gnu.org; Tue, 30 Oct 2018 21:05:01 +0100 Received: from [::1] (port=47166 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gHaG5-0007xI-6o for guix-devel@gnu.org; Tue, 30 Oct 2018 21:05:01 +0100 Received: from sub0.freenet.de ([195.4.92.119]:59198) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gHaE3-0006qp-U4 for guix-devel@gnu.org; Tue, 30 Oct 2018 21:02:55 +0100 Received: from p200300e4f3eeb30074a72344e86809e9.dip0.t-ipconnect.de ([2003:e4:f3ee:b300:74a7:2344:e868:9e9]:53708) by sub0.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1gHaE3-00007R-RK for guix-devel@gnu.org; Tue, 30 Oct 2018 21:02:55 +0100 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel On 30/10/2018 19.16, Laura Lazzati wrote: > At the same time, a `sudo guix pull` works fine. > > > Thanks for this finding. > > Sorry, I thought this fixed it for me too, but now every time I run an > installed package, I get that guix is 18 days old,  asks me to guix > pull, and if I run even the hello package, i get that it is not > installed and claims to install it with, in my case, apt. Sorry Laura, I did not mean to suggest that this was a fix. It's just that `guix pull` for the root profile stayed functional. My own plain user `guix pull` still results in the same old: Migrating profile generations to '/var/guix/profiles/per-user/thorwil'... guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/thorwil/current-guix-1-link" Looking for an explanation for having user and root profile guix, since you seem to be unaware of how that works and I can't be sure of my own understanding, I found something related: https://lists.gnu.org/archive/html/help-guix/2017-10/msg00014.html Thing is, I did `ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix /usr/local/bin/guix` during installation and that symlink is still intact. Yet, `guix pull` and `sudo guix pull` are markedly different. -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/