!vGHaMhifOKgmkJpGAJ:matrix.org

Guix - System Crafters

224 Members
Share tips and tricks about GNU Guix! The official Guix chat is at #guix:libera.chat25 Servers

Load older messages


SenderMessageTime
11 Aug 2024
@fnz:matrix.orgfnz

Forgot the room I’m in, hehe, we must all have nonguix

20:30:34
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org
(list (channel
       (name 'nonguix)
       (url "https://gitlab.com/nonguix/nonguix")
       (branch "master")
       (commit
        "57d6d0cd4beb489e045231eb7066073ebe8a0dc5")
       (introduction
        (make-channel-introduction
         "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
         (openpgp-fingerprint
          "2A39 3FFF 68F4 EF7A 3D29  12AF 6F51 20A0 22FB B2D5"))))
      (channel
       (name 'guix-gaming-games)
       (url "https://gitlab.com/guix-gaming-channels/games.git")
       (branch "master")
       (commit
        "5762eda50230715555da5beb0f4d06a5456bb5c0")
       (introduction
        (make-channel-introduction
         "c23d64f1b8cc086659f8781b27ab6c7314c5cca5"
         (openpgp-fingerprint
          "50F3 3E2E 5B0C 3D90 0424  ABE8 9BDC F497 A4BB CC7F"))))
      (channel
       (name 'guix)
       (url "https://git.savannah.gnu.org/git/guix.git")
       (branch "master")
       (commit
        "174ecf5b1077d29498d9de22e27b13047f314feb")
       (introduction
        (make-channel-introduction
         "9edb3f66fd807b096b48283debdcddccfea34bad"
         (openpgp-fingerprint
          "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))
      (channel
       (name 'guix-past)
       (url "https://gitlab.inria.fr/guix-hpc/guix-past")
       (branch "master")
       (commit
        "aab6148759476f0270bbe098919a978da45d7a2d")
       (introduction
        (make-channel-introduction
         "0c119db2ea86a389769f4d2b9c6f5c41c027e336"
         (openpgp-fingerprint
          "3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5")))))
According to this you have locked your channels to the commits specified. In order to upgrade you also need to upgrade these commits (in order to pull changes in package definitions). Do you have some kind of base channels file lying around somewhere.
20:32:31
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org

I started out that way in August 2023, pretty sure I still install the full Linux kernel per his video and ‘config.scm’. Adding the guix-gaming channel must be the only difference

Started in 2023 as well :)
20:32:54
@ajaxis3:matrix.orgAjaxisI'm not sure this has anything to do with your problem, just something I noticed.20:33:36
@fnz:matrix.orgfnz

Should this base-channels file be in my home directory?

20:34:18
@fnz:matrix.orgfnz

Can’t fine it there

20:34:25
@fnz:matrix.orgfnz

According to this you have locked your channels to the commits specified.

Doesn’t ‘guix pull’ upgrade the channels with fresh commits?

20:35:03
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org

According to this you have locked your channels to the commits specified.

Doesn’t ‘guix pull’ upgrade the channels with fresh commits?

No it uses your channel definitions to pull the packages from those channels at those commits. This enables you to repeat the same setup over several machines.
20:35:54
@fnz:matrix.orgfnz

But doesn’t that mean I should never get updates?

20:36:41
@ajaxis3:matrix.orgAjaxisMy setup is I have a base-channels.scm and I use something similar to https://github.com/daviwil/dotfiles/blob/master/.files/.bin/update-channels.20:36:48
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org

But doesn’t that mean I should never get updates?

Yes, I would agree. It could be that it generates a new derivation with the same content.
20:38:10
@fnz:matrix.orgfnz

Packages have been updating 😭

20:38:45
@ajaxis3:matrix.orgAjaxisYes, this is how I have understood it. Now that you point it out, I dont really know why it seems to be updating.20:40:16
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org
  substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
 bdb-6.2.32-doc  16.6MiB    1.55GiB/s 00:00 ▕███████████▉      ▏  66.1%Backtrace:
In guix/ui.scm:
  2289:10 19 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 18 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    859:3 17 (_)
    839:4 16 (call-with-status-report _ _)
In guix/store.scm:
   1330:8 15 (call-with-build-handler _ _)
   1330:8 14 (call-with-build-handler #<procedure 7f2286575d20 at …> …)
In guix/build/syscalls.scm:
   1471:3 13 (_)
   1437:4 12 (call-with-file-lock/no-wait "/var/guix/profiles/per-…" …)
In guix/scripts/package.scm:
   151:19 11 (build-and-use-profile #<store-connection 256.100 7f2…> …)
In guix/store.scm:
  2210:25 10 (run-with-store #<store-connection 256.100 7f2286645c…> …)
In guix/profiles.scm:
   1989:2  9 (_ _)
In guix/store.scm:
  2095:12  8 (_ #<store-connection 256.100 7f2286645c30>)
   1433:5  7 (map/accumulate-builds #<store-connection 256.100 7f2…> …)
  1449:15  6 (_ #<store-connection 256.100 7f2286645c30> _ _)
   772:14  5 (process-stderr _ _)
In unknown file:
           4 (display "@ substituter-succeeded /gnu/store/w5kv6k8s…" …)
In guix/status.scm:
   757:16  3 (write! _ _ _)
    670:6  2 (_ (download-progress "/gnu/store/w5kv6k8sx5zh1rg4…" …) …)
In guix/progress.scm:
   255:17  1 (display-download-progress "htt@" _ #:tty? _ # _ # _ # _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure =: Wrong type argument in position 1: #f
Did it fail in the middle of upgrading bdb?
20:43:12
@fnz:matrix.orgfnzYes, I believe so going by its output20:43:32
@ajaxis3:matrix.orgAjaxis The thing that perplexes me is that the version 6.2.32 is the newest according to my guix search. 20:46:12
@ajaxis3:matrix.orgAjaxis Maybe try and keep building with -k and see if something else fails. 20:47:36
@fnz:matrix.orgfnzI have Emacs 29.4, it’s building Linux 6.9.12; sure, half the packages on Guix are a bit stale, but I’d have noticed if it wasn’t updating anything in a year 😭😭20:47:40
@fnz:matrix.orgfnz
In reply to @ajaxis3:matrix.org
Maybe try and keep building with -k and see if something else fails.
I’ll try that later! In the middle of a system reconfigure atm
20:48:24
@fnz:matrix.orgfnz

Whenever I ‘guix pull’ it tells me something along the lines of: ‘fetching fresh commits from your channels’, that’s why I assumed everything was updating

20:49:43
@ajaxis3:matrix.orgAjaxis
In reply to @fnz:matrix.org

Whenever I ‘guix pull’ it tells me something along the lines of: ‘fetching fresh commits from your channels’, that’s why I assumed everything was updating

Maybe I'm wrong and have been doing unnecessary steps each time I've been upgrading.
20:50:56
@fnz:matrix.orgfnz

I don’t know enough about Guix to contardict you, but your script also just seems to be ‘guix pull’ng, yes?

20:51:37
@fnz:matrix.orgfnz

Just with extra steps

20:51:44
@ajaxis3:matrix.orgAjaxisYes it pulls with the channels in base (that dont have locked commits). When that is finished it exports the current channels into a stable (locked commits) file which is used to sync the packages across machines. That's not my script, I just borrowed it of David.20:53:44
@fnz:matrix.orgfnz

My ‘channels.scm’ is like this:

(cons* (channel
        (name 'nonguix)
        (url "https://gitlab.com/nonguix/nonguix")
        ;; Enable signature verification:
        (introduction
         (make-channel-introduction
          "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
          (openpgp-fingerprint
           "2A39 3FFF 68F4 EF7A 3D29  12AF 6F51 20A0 22FB B2D5"))))
       (channel
        (name 'guix-gaming-games)
        (url "https://gitlab.com/guix-gaming-channels/games.git")
        ;; Enable signature verification:
        (introduction
         (make-channel-introduction
          "c23d64f1b8cc086659f8781b27ab6c7314c5cca5"
          (openpgp-fingerprint
           "50F3 3E2E 5B0C 3D90 0424  ABE8 9BDC F497 A4BB CC7F"))))
       %default-channels)

without the ‘commits’ form. I guess that was just something internal to Guix daemon?

20:55:32
@ajaxis3:matrix.orgAjaxis Could be. Try pulling and then upgrading again. If it fails see if any other packages fail upgrading as well or if it is just bdb. 20:56:35
@fnz:matrix.orgfnz

Does ‘guix describe –format=channels’ for you not mention any commits?

20:57:30
@ajaxis3:matrix.orgAjaxisIt gives me my current channels with commits. For example the guix channel looks like this.20:58:32
@ajaxis3:matrix.orgAjaxis
(channel
        (name 'guix)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (branch "master")
        (commit
          "3aef19c19c4f4bc67e6a032dbef25e76881cc46b")
        (introduction
          (make-channel-introduction
            "9edb3f66fd807b096b48283debdcddccfea34bad"
            (openpgp-fingerprint
              "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"))))
20:58:42
@ajaxis3:matrix.orgAjaxisWell, got to run. Hope I have been able to help you!21:07:38

Show newer messages


Back to Room ListRoom Version: 10