From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: guix pull: error: symlink: File exists (was: Re: [outreachy] Further steps) Date: Thu, 25 Oct 2018 19:29:58 +0200 Message-ID: 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: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFjUS-0007Ry-KT for guix-devel@gnu.org; Thu, 25 Oct 2018 13:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFjUO-0007u9-8m for guix-devel@gnu.org; Thu, 25 Oct 2018 13:32:11 -0400 Received: from mout2.freenet.de ([195.4.92.92]:51702) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFjUO-0007so-0d for guix-devel@gnu.org; Thu, 25 Oct 2018 13:32:08 -0400 Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout2.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gFjUI-0000fn-C9 for guix-devel@gnu.org; Thu, 25 Oct 2018 19:32:02 +0200 Received: from [::1] (port=52044 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gFjUI-0001nP-BQ for guix-devel@gnu.org; Thu, 25 Oct 2018 19:32:02 +0200 Received: from sub3.freenet.de ([195.4.92.122]:36872) by mjail1.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gFjSJ-00012c-3d for guix-devel@gnu.org; Thu, 25 Oct 2018 19:29:59 +0200 Received: from p200300e4f3eeb300c57371c9e338d9d5.dip0.t-ipconnect.de ([2003:e4:f3ee:b300:c573:71c9:e338:d9d5]:55462) by sub3.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1gFjSJ-0003YD-0S for guix-devel@gnu.org; Thu, 25 Oct 2018 19:29:59 +0200 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@gnu.org On 25/10/2018 16.55, Laura Lazzati wrote: >>> BTW, I was trying to run guix pull, the one installed on top of my >>> foreing distro - not the one in the guix environment - and I am >>> getting this error, don't know why, I have already run guix pull >>> before: >>> :~/guix$ guix pull >>> Migrating profile generations to '/var/guix/profiles/per-user/laura'... >>> guix pull: error: symlink: File exists: >>> "/var/guix/profiles/per-user/laura/current-guix-1-link" >> It seems that something is mixed up between the old and new guix pull, >> I hope someone can provide some more insight. Ludo? > Yes please, I need to fix this before going on. > Here is what happened, so that I provide the full information > After having my patch approved, I ran git pull (on master branch, of > course, I then created branches) > I wanted to check that everything was fine, so I ran: > :~/guix$ guix package -s "^r" | recsel -p name description| grep '\S' > | sort >newR.txt > And got the output: > Command 'recsel' not found, but can be installed with: > sudo apt install recutils > (which is strange, I have played with recsel before sending my > patches, when learning guix package command) > so i ran guix package -I, where recutils was effectively installed > However, I tried: > $guix package -i recutils > guix package: warning: Your Guix installation is 13 days old. > guix package: warning: Consider running 'guix pull' followed by > 'guix package -u' to get up-to-date packages and security updates. > The package was installed after those warnings, and I was asked to > export env variables: > export PATH="/home/laura/.guix-profile/bin${PATH:+:}$PATH" > export INFOPATH="/home/laura/.guix-profile/share/info${INFOPATH:+:}$INFOPATH" > Did so, but when running again: > :~/guix$ guix package -s "^r" | recsel -p name description| grep '\S' > | sort >newR.txt > Got the output: > recsel: error: cannot read file description > And also got that error when running guix pull. Hi, this error happened here, too, also on a foreign distro, without any extra steps. --- 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" --- At the same time, a `sudo guix pull` works fine. -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/