From: "Simen Endsjø" <simendsjo@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: Additional channels pulled, but cannot install/update software
Date: Sat, 25 Jun 2022 21:49:37 +0200 [thread overview]
Message-ID: <CAHkVV6EhHgFb6gsJWg+==go+SKwynCvF3pDKMoAiLBwENsxOEQ@mail.gmail.com> (raw)
In-Reply-To: <20220625214048.239b0d0a@sybil.lepiller.eu>
I'm not sure how to interpret the output, so I'm pasting everything here. I
notice that I have two guix profiles in my path, not sure if that's a
problem.
I've stripped what I expect is uninteresting from the PATH, but the full
output
is at the bottom.
..
/usr/local/bin:..:/gnu/store/83q0jxp3lc80n4b11zi2xhlh0wvajjcy-profile/bin:/gnu/store/83q0jxp3lc80n4b11zi2xhlh0wvajjcy-profile/sbin:/gnu/store/r5185ksn74k4frch7bcrb26xri0dx8m1-profile/bin:/home/simendsjo/.guix-profile/bin:/home/simendsjo/.guix-profile/sbin:..:/home/simendsjo/.config/guix/current/bin:..
$ which guix
/usr/local/bin/guix
$ realpath $(which guix)
/gnu/store/qy8ix3akxc4plrkw3b5hyw52y2730n7j-guix-command
$ type guix
guix is /usr/local/bin/guix
guix is /gnu/store/r5185ksn74k4frch7bcrb26xri0dx8m1-profile/bin/guix
guix is /home/simendsjo/.config/guix/current/bin/guix
$ hash guix
$ which guix
/usr/local/bin/guix
$ realpath $(which guix)
/gnu/store/qy8ix3akxc4plrkw3b5hyw52y2730n7j-guix-command
$ type guix
guix is /usr/local/bin/guix
guix is /gnu/store/r5185ksn74k4frch7bcrb26xri0dx8m1-profile/bin/guix
guix is /home/simendsjo/.config/guix/current/bin/guix
$ echo $PATH
/home/simendsjo/.nvm/versions/node/v8.17.0/bin:/home/simendsjo/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/home/simendsjo/bin:/usr/local/bin:/usr/local/sbin:/home/simendsjo/.nvm/versions/node/v8.17.0/bin:/gnu/store/83q0jxp3lc80n4b11zi2xhlh0wvajjcy-profile/bin:/gnu/store/83q0jxp3lc80n4b11zi2xhlh0wvajjcy-profile/sbin:/gnu/store/r5185ksn74k4frch7bcrb26xri0dx8m1-profile/bin:/home/simendsjo/.guix-profile/bin:/home/simendsjo/.guix-profile/sbin:/home/simendsjo/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/home/simendsjo/.local/bin:/home/simendsjo/.config/guix/current/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
On Sat, Jun 25, 2022 at 9:41 PM Julien Lepiller <julien@lepiller.eu> wrote:
> Hi Simen,
>
> Can you check that your "guix" actually comes from
> ~/.config/guix/current/bin/guix (and *not* ~/.guix-profile or
> ~/.guix-home, it's very important)?
>
> `type guix` should tell you what it is. If it doesn't agree with `which
> guix` and the location found by which is correct, try `hash guix` (no
> output), then from that terminal you should get the new guix that you
> pulled (not other terminals, you'd need to reboot for that).
>
> It's usually a mistake to install the guix package with something like
> "guix install guix" or "guix upgrade guix", because the guix package
> that guix knows is necessarily from the past, so you're instead
> downgrading your guix command.
>
> On the guix system, and I think what the binary installer does, the
> guix pull profile should come first in $PATH, but maybe something went
> wrong in your case, or you made some changes?
>
> Le Sat, 25 Jun 2022 20:49:23 +0200,
> Simen Endsjø <simendsjo@gmail.com> a écrit :
>
> > I'm having a problem where `guix pull` pulls all channels defined in
> > ~/.config/guix/channels.scm, but somehow only guix is available
> > thereafter. Any idea what might have happened? I have software
> > installed through these channels which now cannot be updates as they
> > don't exist in the main guix channel.
> >
> > $ cat ~/.config/guix/channels.scm
> > (cons* (channel
> > (name 'nonguix)
> > (url "https://gitlab.com/nonguix/nonguix")
> > (introduction
> > (make-channel-introduction
> > "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
> > (openpgp-fingerprint
> > "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
> > (channel
> > (name 'flat)
> > (url "https://github.com/flatwhatson/guix-channel.git")
> > (introduction
> > (make-channel-introduction
> > "33f86a4b48205c0dc19d7c036c85393f0766f806"
> > (openpgp-fingerprint
> > "736A C00E 1254 378B A982 7AF6 9DBE 8265 81B6 4490"))))
> > %default-channels)
> >
> >
> > $ guix describe --format=channels
> > (list (channel
> > (name 'guix)
> > (url "https://git.savannah.gnu.org/git/guix.git")
> > (branch "master")
> > (commit
> > "a43c3b1818db4860ec81bf867b1e53b418a0acec")
> > (introduction
> > (make-channel-introduction
> > "9edb3f66fd807b096b48283debdcddccfea34bad"
> > (openpgp-fingerprint
> > "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A
> > 54FA")))))
> >
> >
> > $ guix pull --list-generations
> > # ...
> > Generation 28 Jun 24 2022 21:00:31 (current)
> > nonguix 1a122e0
> > repository URL: https://gitlab.com/nonguix/nonguix
> > branch: master
> > commit: 1a122e06fe046caebf39395edc797515861acd3b
> > flat 657da22
> > repository URL:
> > https://github.com/flatwhatson/guix-channel.git branch: master
> > commit: 657da22f0229b978b7bf4e4d476f59f17f6a175f
> > guix a43c3b1
> > repository URL: https://git.savannah.gnu.org/git/guix.git
> > branch: master
> > commit: a43c3b1818db4860ec81bf867b1e53b418a0acec
> >
>
>
next prev parent reply other threads:[~2022-06-25 20:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-25 18:49 Additional channels pulled, but cannot install/update software Simen Endsjø
2022-06-25 19:40 ` Julien Lepiller
2022-06-25 19:48 ` (
2022-06-25 19:49 ` Simen Endsjø [this message]
2022-06-25 20:00 ` (
2022-06-25 20:05 ` Simen Endsjø
2022-06-25 20:12 ` (
2022-06-25 20:49 ` Simen Endsjø
2022-06-25 20:57 ` (
2022-06-25 20:50 ` Vagrant Cascadian
2022-06-25 20:55 ` (
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='CAHkVV6EhHgFb6gsJWg+==go+SKwynCvF3pDKMoAiLBwENsxOEQ@mail.gmail.com' \
--to=simendsjo@gmail.com \
--cc=help-guix@gnu.org \
--cc=julien@lepiller.eu \
/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.