* Additional channels pulled, but cannot install/update software @ 2022-06-25 18:49 Simen Endsjø 2022-06-25 19:40 ` Julien Lepiller 0 siblings, 1 reply; 11+ messages in thread From: Simen Endsjø @ 2022-06-25 18:49 UTC (permalink / raw) To: help-guix 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 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ø 0 siblings, 2 replies; 11+ messages in thread From: Julien Lepiller @ 2022-06-25 19:40 UTC (permalink / raw) To: Simen Endsjø; +Cc: help-guix 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 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 19:40 ` Julien Lepiller @ 2022-06-25 19:48 ` ( 2022-06-25 19:49 ` Simen Endsjø 1 sibling, 0 replies; 11+ messages in thread From: ( @ 2022-06-25 19:48 UTC (permalink / raw) To: Julien Lepiller, Simen Endsjø; +Cc: help-guix Perhaps we could print a warning when somebody tries to add `guix` to their profile? -- ( ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 19:40 ` Julien Lepiller 2022-06-25 19:48 ` ( @ 2022-06-25 19:49 ` Simen Endsjø 2022-06-25 20:00 ` ( 1 sibling, 1 reply; 11+ messages in thread From: Simen Endsjø @ 2022-06-25 19:49 UTC (permalink / raw) To: Julien Lepiller; +Cc: help-guix 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 > > > > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 19:49 ` Simen Endsjø @ 2022-06-25 20:00 ` ( 2022-06-25 20:05 ` Simen Endsjø 0 siblings, 1 reply; 11+ messages in thread From: ( @ 2022-06-25 20:00 UTC (permalink / raw) To: Simen Endsjø, Julien Lepiller; +Cc: help-guix On Sat Jun 25, 2022 at 8:49 PM BST, Simen Endsjø wrote: > $ which guix > /usr/local/bin/guix ...Do you have the Guix Debian package installed, by any chance? -- ( ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:00 ` ( @ 2022-06-25 20:05 ` Simen Endsjø 2022-06-25 20:12 ` ( 0 siblings, 1 reply; 11+ messages in thread From: Simen Endsjø @ 2022-06-25 20:05 UTC (permalink / raw) To: (; +Cc: Julien Lepiller, help-guix No, I have the manual binary installation on a Manjaro host system. On Sat, Jun 25, 2022, 22:00 ( <paren@disroot.org> wrote: > On Sat Jun 25, 2022 at 8:49 PM BST, Simen Endsjø wrote: > > $ which guix > > /usr/local/bin/guix > > ...Do you have the Guix Debian package installed, by any chance? > > -- ( > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:05 ` Simen Endsjø @ 2022-06-25 20:12 ` ( 2022-06-25 20:49 ` Simen Endsjø 2022-06-25 20:50 ` Vagrant Cascadian 0 siblings, 2 replies; 11+ messages in thread From: ( @ 2022-06-25 20:12 UTC (permalink / raw) To: Simen Endsjø; +Cc: Julien Lepiller, help-guix On Sat Jun 25, 2022 at 9:05 PM BST, Simen Endsjø wrote: > No, I have the manual binary installation on a Manjaro host system. Once you pull for the first time, you should remove Guixen that you've installed through other means (like the debian package and binary installation). /usr/local/bin/guix is probably overriding the pulled Guix. Try `~/.config/guix/current/bin/guix describe --format=channels`. If it prints the correct channels, that Guix binary is at fault. -- ( ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:12 ` ( @ 2022-06-25 20:49 ` Simen Endsjø 2022-06-25 20:57 ` ( 2022-06-25 20:50 ` Vagrant Cascadian 1 sibling, 1 reply; 11+ messages in thread From: Simen Endsjø @ 2022-06-25 20:49 UTC (permalink / raw) To: (; +Cc: Julien Lepiller, help-guix > Try `~/.config/guix/current/bin/guix describe --format=channels`. If it > prints the correct channels, that Guix binary is at fault. Thank, that solved it! I guess my PATH has changed recently so that /usr/local/bin has a higher priority than before. But I should remove the one in /usr/local/bin..? The documentation states to add it, but that's only to allow other users to run the first command? Looks like my problem is the PATH priority rather than the location of guix The documentation states (ref https://guix.gnu.org/en/manual/devel/en/html_node/Binary-Installation.html#Binary-Installation ) 6. Make the guix command available to other users on the machine, for instance with: # mkdir -p /usr/local/bin # cd /usr/local/bin # ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix On Sat, Jun 25, 2022 at 10:12 PM ( <paren@disroot.org> wrote: > On Sat Jun 25, 2022 at 9:05 PM BST, Simen Endsjø wrote: > > No, I have the manual binary installation on a Manjaro host system. > > Once you pull for the first time, you should remove Guixen that you've > installed through other means (like the debian package and binary > installation). /usr/local/bin/guix is probably overriding the pulled > Guix. > > Try `~/.config/guix/current/bin/guix describe --format=channels`. If it > prints the correct channels, that Guix binary is at fault. > > -- ( > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:49 ` Simen Endsjø @ 2022-06-25 20:57 ` ( 0 siblings, 0 replies; 11+ messages in thread From: ( @ 2022-06-25 20:57 UTC (permalink / raw) To: Simen Endsjø; +Cc: Julien Lepiller, help-guix Noting what Vagrant said, I'd now recommend to just try to rearrange your PATH so that the Guix directory is higher-priority. -- ( ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:12 ` ( 2022-06-25 20:49 ` Simen Endsjø @ 2022-06-25 20:50 ` Vagrant Cascadian 2022-06-25 20:55 ` ( 1 sibling, 1 reply; 11+ messages in thread From: Vagrant Cascadian @ 2022-06-25 20:50 UTC (permalink / raw) To: (, Simen Endsjø; +Cc: Julien Lepiller, help-guix [-- Attachment #1: Type: text/plain, Size: 1066 bytes --] On 2022-06-25, ( wrote: > On Sat Jun 25, 2022 at 9:05 PM BST, Simen Endsjø wrote: >> No, I have the manual binary installation on a Manjaro host system. > > Once you pull for the first time, you should remove Guixen that you've > installed through other means (like the debian package and binary > installation). /usr/local/bin/guix is probably overriding the pulled > Guix. I'm not sure this is the best advice; other installations of guix should not interfere with the pulled "guix" command as long as your PATH is set up correctly. If PATH is not set up correctly, other things could be wrong too... There are cases where it may be fine to remove, but I don't think it is good generalized troubleshooting advice, as it may hide other problems with the installation. By removing it a packaged or binary installation of guix from the system, you also prevent other users on the same system from running guix pull for themselves... or at least make it non-obvious or otherwise more difficult than it needs to be. live well, vagrant [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 227 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Additional channels pulled, but cannot install/update software 2022-06-25 20:50 ` Vagrant Cascadian @ 2022-06-25 20:55 ` ( 0 siblings, 0 replies; 11+ messages in thread From: ( @ 2022-06-25 20:55 UTC (permalink / raw) To: Vagrant Cascadian, Simen Endsjø; +Cc: Julien Lepiller, help-guix Hm, good points. -- ( ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-06-25 20:57 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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ø 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 ` (
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.