From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Overview of Guix pull symlinks and thoroughly test it Date: Wed, 7 Nov 2018 13:15:13 +0100 Message-ID: <90787542-4e51-ac0e-5c8c-bef10e61ab3c@riseup.net> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------7D188D963781027EE8BE3AF4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKMzu-0006uP-9m for guix-devel@gnu.org; Wed, 07 Nov 2018 07:31:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKMkT-0005mT-JS for guix-devel@gnu.org; Wed, 07 Nov 2018 07:15:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]:45956) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKMkT-0005Q9-54 for guix-devel@gnu.org; Wed, 07 Nov 2018 07:15:53 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id C37EA1A0474 for ; Wed, 7 Nov 2018 04:15:16 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 1B9EB65234 for ; Wed, 7 Nov 2018 04:15:15 -0800 (PST) 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 This is a multi-part message in MIME format. --------------7D188D963781027EE8BE3AF4 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Reading (again) about somebody being bit by the pull-bull ;-) (below) Is there an overview of guix directories and symlinks? Anyone got any ideas of how to thoroughly test this pull-beast to make it less brittle and erroneous? Cheers swedebugia -------- Forwarded Message -------- Subject: Re: guix pull fails while Migrating profile generations Date: Tue, 6 Nov 2018 20:33:54 +0100 From: Thorsten Wilms Reply-To: t_w_@freenet.de 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/ --------------7D188D963781027EE8BE3AF4 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi

Reading (again) about somebody being bit by the pull-bull=C2=A0;-) (below)

Is there an overview of guix directories and symlinks?

Anyone got any ideas of how to thoroughly test this pull-beast to make it less brittle and erroneous?

Cheers

swedebugia


-------- Forwarded Message --------
Sub= ject: Re: guix pull fails while Migrating profile generations
Dat= e: Tue, 6 Nov 2018 20:33:54 +0100
Fro= m: Thorsten Wilms <t_w_@freenet.de>
Rep= ly-To: t_w_@freenet.de
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=3D"$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=3D/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
=3D> 0.15.0-2.8bbb79c
---

--=20
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

--------------7D188D963781027EE8BE3AF4--