From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: guix pull fails while Migrating profile generations Date: Tue, 6 Nov 2018 20:33:54 +0100 Message-ID: References: <676164e0fe504d2c8ef075613c84ee8d@mx.verum.com> <87sh0e8por.fsf@gnu.org> 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]:55798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK799-0004BF-BS for help-guix@gnu.org; Tue, 06 Nov 2018 14:36:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK796-0006Ww-1f for help-guix@gnu.org; Tue, 06 Nov 2018 14:36:19 -0500 Received: from mout0.freenet.de ([2001:748:100:40::2:2]:54550) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gK793-000657-UB for help-guix@gnu.org; Tue, 06 Nov 2018 14:36:14 -0500 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout0.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gK78u-0006ON-Nc for help-guix@gnu.org; Tue, 06 Nov 2018 20:36:04 +0100 Received: from [::1] (port=49188 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gK78u-0001A4-Mq for help-guix@gnu.org; Tue, 06 Nov 2018 20:36:04 +0100 Received: from sub5.freenet.de ([195.4.92.124]:49582) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gK76p-0004Qd-GS for help-guix@gnu.org; Tue, 06 Nov 2018 20:33:55 +0100 Received: from p200300e4f3eeb3006dca62674a7e59b8.dip0.t-ipconnect.de ([2003:e4:f3ee:b300:6dca:6267:4a7e:59b8]:42314) by sub5.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1gK76p-0000Es-Dj for help-guix@gnu.org; Tue, 06 Nov 2018 20:33:55 +0100 In-Reply-To: <87sh0e8por.fsf@gnu.org> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi! On Ubuntu, starting from "guix pull: error: symlink: File exists: ..." I manually removed/changed/created symlinks and had guix working again. A few `guix pull` and `sudo guix pull` later: --- ~: guix pull guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. Migrating profile generations to '/var/guix/profiles/per-user/thorwil'... guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/thorwil/current-guix" --- (glibc-utf8-locales is installed and GUIX_LOCPATH=/home/thorwil/.guix-profile/lib/locale is set, but that's another topic) Now: --- ~: readlink ~/.config/guix/current current-1-link --- current-1-link doesn't exist! I'm breathing manually now. I would appreciate an overview of what is supposed to sit where and where it is supposed to point to. I may have gotten something wrong ... but then again, guix working and failing again shortly after isn't exactly the outcome I'd expect in that case. Sidenote: I wanted to try pulling as root and then choosing the same commit as user, as recently suggested: --- ~: sudo guix describe (...) guix: describe: command not found --- Plain `guix describe` did work, until this linking business went wrong again. --- ~: sudo guix --version => 0.15.0-2.8bbb79c --- -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/