[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional channels pulled, but cannot install/update software
From: |
Simen Endsjø |
Subject: |
Re: Additional channels pulled, but cannot install/update software |
Date: |
Sat, 25 Jun 2022 21:49:37 +0200 |
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
> >
>
>
- Additional channels pulled, but cannot install/update software, Simen Endsjø, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, Julien Lepiller, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, (, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software,
Simen Endsjø <=
- Re: Additional channels pulled, but cannot install/update software, (, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, Simen Endsjø, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, (, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, Simen Endsjø, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, (, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, Vagrant Cascadian, 2022/06/25
- Re: Additional channels pulled, but cannot install/update software, (, 2022/06/25