all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Laura Lazzati <laura.lazzati.15@gmail.com>
To: rekado@elephly.net
Cc: Guix-devel <guix-devel@gnu.org>,
	Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: Re: [outreachy] Further steps
Date: Fri, 26 Oct 2018 16:21:11 -0300	[thread overview]
Message-ID: <CAPNLzUPJVUECN1Nbf0=1FZr+iPce-k0a1r7dQ=rGNzsptkd2LQ@mail.gmail.com> (raw)
In-Reply-To: <CAPNLzUOkE-9U==9iJzBiapqvZ6nvPo0DS2uLjUrOy0eWzFpiEg@mail.gmail.com>

I have another update on this:

I even restored to a snapshot even before cloning guix at all (I only
had it installed).
I ran guix --version, got:
guix 0.15.0... (not pointing to any commit).
guix pull -l
no output, it was clean.
Also which guix did not show the path that had the "current" in it
(/usr/local/bin), but there I am still finding a symlink to
guix -> /var/guix/profiles/per-user/root/guix-profile/bin/guix*

guix pull --fallback
(waited all day long...)

exported the new PATH variable

Same error when running:
guix pull -l
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"

guix --version:
guix (GNU Guix) 2e2b8635b99167554bc51a9d1067c808bcb63d37


On Fri, Oct 26, 2018 at 7:31 AM Laura Lazzati
<laura.lazzati.15@gmail.com> wrote:
>
> On Fri, Oct 26, 2018 at 7:00 AM Laura Lazzati
> <laura.lazzati.15@gmail.com> wrote:
> >
> > Hi!
> > On Fri, Oct 26, 2018 at 2:59 AM Ricardo Wurmus <rekado@elephly.net> wrote:
> > >
> > >
> > > Hi Laura,
> > >
> > > > 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"
> > >
> > > Could you please tell us what “guix --version” says?  This might make it
> > > easier for us to tell you how to get around this problem.
> >
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> > >
> > > There was a recent change to the storage location of the profile used by
> > > “guix pull”.  It would previously be stored in the home directory and
> > > has now been changed to be stored where other profiles are stored.
> > Yes, I've been struggling a lot, all day long yesterday.
> >
> > Maybe all the steps shed some light
> >  I say one commit with:
> > $git log | grep -C 10 pull: |  less
> >
> > commit aa227b3be3d7728331a08dbd139c47c9b271dc23
> > Author: Ludovic Courtès <ludo@gnu.org>
> > Date:   Fri Oct 12 16:43:18 2018 +0200
> >
> >     pull: Fix target of /var/guix/profiles/per-user/USER/current-guix.
> >
> >     This is a followup to 8155a209071f981fbf359975f463be4bcf8fa23e.
> >
> >     * guix/scripts/pull.scm (migrate-generations): Compute the right target
> >     for /var/guix/profiles/per-user/USER/current-guix.  Previously we'd
> >     return "current-N-link" instead of "current-guix-N-link'.
> >
> > I removed the current path from PATH, and my guix pull -l was pointing
> > at the commit from where my clone date was:
> > $guix pull -l
> > Generation 1    oct 25 2018 14:34:43    (current)
> >   guix 84f6a99
> >     repository URL: https://git.savannah.gnu.org/git/guix.git
> >     branch: origin/master
> >     commit: 84f6a9907b91a1a2fdb5fe3fc4bab177b8734f95
> >
> > and which guix showed
> > /user/local/bin/guix
> >
> > but when guix pulling I was getting the same error, and strangely my
> > git HEAD was ponting at that commit, even after doing git pull and
> > having later commits shown with git log, not in chronogical order
> > (commit 84f6a9907b91a1a2fdb5fe3fc4bab177b8734f95)
> >
> > It worked with sudo, as Thorsten Wilms mentioned (ran sudo guix pull)
> > I have just checked that:
> > $sudo guix pull  -l
> > 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.
> >
> >
> > Generation 1    Oct 17 2018 12:32:20
> >   guix c4d6244
> >     repository URL: https://git.savannah.gnu.org/git/guix.git
> >     branch: origin/master
> >     commit: c4d62443eb50a615d47b590a7fedcc7f7f0ec100
> >
> > Generation 2    Oct 25 2018 17:39:44
> >   guix 84f6a99
> >     repository URL: https://git.savannah.gnu.org/git/guix.git
> >     branch: origin/master
> >     commit: 84f6a9907b91a1a2fdb5fe3fc4bab177b8734f95
> >
> > Generation 3    Oct 26 2018 00:18:32    (current)
> >   guix 21c51eb
> >     repository URL: https://git.savannah.gnu.org/git/guix.git
> >     branch: origin/master
> >     commit: 21c51ebd66faa0b47f0be223d97c3a371346f54b
> > but guix pull (without sudo), however, it shows the same error:
> > $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"
> >
> > However, my current version:
> > $guix --version
> > guix (GNU Guix) 21c51ebd66faa0b47f0be223d97c3a371346f54b
> > Copyright (C) 2018 the Guix authors
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> >
> > and checked:
> >  $cd /usr/local/bin
> >  $ll | grep guix
> > which happens to show
> >  guix -> /var/guix/profiles/per-user/root/guix-profile/bin/guix*
> > (I see that it point to root, not my user, I guess that because of sudo)
> >
> > Any ideas?
> Sorry, I have restored to the point in which I cloned the repo (and
> had not worked yet on branch master):
> which guix
> /home/laura/.config/guix/current/bin/guix
>
> guix --version
> guix (GNU Guix) c4d62443eb50a615d47b590a7fedcc7f7f0ec100
> Copyright (C) 2018 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> git pulled
>
> But the same error with guix pull
>
>
> >
> > >
> > > The error message seems to say that a migration to the new location had
> > > already happened, so it shouldn’t attempt to do this again.
> > >
> > > --
> > > Ricardo
> > >
> > Regards!
> > Laura

  reply	other threads:[~2018-10-26 19:21 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24  1:48 [outreachy] Further steps Laura Lazzati
2018-10-24  5:16 ` Björn Höfling
2018-10-24  7:00   ` Gábor Boskovits
2018-10-24 22:16     ` Laura Lazzati
2018-10-25  3:08       ` Ricardo Wurmus
2018-10-25 14:16         ` Laura Lazzati
2018-10-25 14:37           ` Gábor Boskovits
2018-10-25 14:55             ` Laura Lazzati
2018-10-25 17:29               ` guix pull: error: symlink: File exists (was: Re: [outreachy] Further steps) Thorsten Wilms
2018-10-25 19:08                 ` Gábor Boskovits
2018-10-30 18:16                   ` Laura Lazzati
2018-10-30 20:02                     ` guix pull: error: symlink: File exists Thorsten Wilms
2018-10-30 22:43                       ` Laura Lazzati
2018-10-31 10:06                         ` Laura Lazzati
2018-10-31 10:27                           ` Gábor Boskovits
2018-10-31 10:31                             ` Laura Lazzati
2018-10-31 11:07                               ` Gábor Boskovits
2018-10-31 11:15                                 ` Laura Lazzati
2018-10-31 11:52                                   ` Gábor Boskovits
2018-10-31 12:29                                     ` Catonano
2018-10-31 16:02                                     ` Laura Lazzati
2018-10-31 16:25                                       ` Gábor Boskovits
2018-10-31 18:09                                         ` Laura Lazzati
2018-10-31 19:03                                           ` Gábor Boskovits
2018-11-01  2:09                                             ` Laura Lazzati
2018-11-01  8:49                                               ` Gábor Boskovits
2018-11-01 11:37                                                 ` Laura Lazzati
2018-11-01 11:48                                                   ` Gábor Boskovits
2018-11-01 17:51                                                     ` Laura Lazzati
2018-10-26  5:58           ` [outreachy] Further steps Ricardo Wurmus
2018-10-26 10:00             ` Laura Lazzati
2018-10-26 10:31               ` Laura Lazzati
2018-10-26 19:21                 ` Laura Lazzati [this message]
2018-10-25 10:57       ` Gábor Boskovits
2018-10-25 14:36         ` Laura Lazzati
2018-10-26 10:40           ` Ricardo Wurmus
2018-10-26 15:00             ` Laura Lazzati
2018-10-26 17:21               ` Gábor Boskovits
2018-10-26 18:46                 ` Laura Lazzati
2018-10-26 19:06                   ` Gábor Boskovits
2018-10-26 19:36                     ` Laura Lazzati
2018-10-26 20:06                       ` Ricardo Wurmus
2018-10-28  1:51                         ` Laura Lazzati
2018-10-28  8:36                           ` Gábor Boskovits
2018-10-28 19:01                             ` Laura Lazzati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPNLzUPJVUECN1Nbf0=1FZr+iPce-k0a1r7dQ=rGNzsptkd2LQ@mail.gmail.com' \
    --to=laura.lazzati.15@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.