AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 682742
Accepted
aleksandr barakin
aleksandr barakin
Asked: 2021-12-17 07:46:52 +0800 CST2021-12-17 07:46:52 +0800 CST 2021-12-17 07:46:52 +0800 CST

guix pull 抛出“匹配错误”

  • 772

我已经安装了包guix(在 debian Bullseye 上)。

并尝试guix pull按照文档中的说明运行:

$ sudo -i guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   b329c21
Backtrace:
           6 (apply-smob/1 #<catch-closure 7faa14873220>)
In ice-9/boot-9.scm:
    705:2  5 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8  4 (_ #(#(#<directory (guile-user) 7faa144f0140>)))
In guix/ui.scm:
  2117:12  3 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  2 (catch _ _ #<procedure 7faa1446a280 at guix/ui.scm:702…> …)
    829:9  1 (catch _ _ #<procedure 7faa1446a298 at guix/ui.scm:842…> …)
    829:9  0 (catch _ _ #<procedure 7faa119b30a8 at guix/scripts/pu…> …)

ice-9/boot-9.scm:829:9: In procedure catch:
Throw to key `match-error' with args `("match" "no matching pattern" (
#:re-export-and-replace (delete) 
#:replace ((define-public* . define-public)) 
#:export (content-hash content-hash? content-hash-algorithm content-hash-value 
origin origin? this-origin origin-uri origin-method origin-hash origin-sha256 
origin-file-name origin-actual-file-name origin-patches origin-patch-flags 
origin-patch-inputs origin-patch-guile origin-snippet origin-modules 
base32 base64 package package? this-package package-name package-upstream-name 
package-version package-full-name package-source package-build-system 
package-arguments package-inputs package-native-inputs package-propagated-inputs 
package-outputs package-native-search-paths package-search-paths package-replacement 
package-synopsis package-description package-license package-home-page 
package-supported-systems package-properties package-location 
package-definition-location hidden-package hidden-package? package-superseded 
deprecated-package package-field-location this-package-input this-package-native-input 
lookup-package-input lookup-package-native-input lookup-package-propagated-input 
lookup-package-direct-input prepend replace modify-inputs package-direct-sources 
package-transitive-sources package-direct-inputs package-transitive-inputs 
package-transitive-target-inputs package-transitive-native-inputs 
package-transitive-propagated-inputs package-transitive-native-search-paths 
package-transitive-supported-systems package-mapping package-input-rewriting 
package-input-rewriting/spec package-source-derivation package-derivation 
package-cross-derivation package-output package-grafts package-patched-vulnerabilities 
package-with-patches package-with-extra-patches package-with-c-toolchain 
package/inherit transitive-input-references %supported-systems %hurd-systems 
%cuirass-supported-systems supported-package? &package-error package-error? 
package-error-package &package-input-error package-input-error? 
package-error-invalid-input &package-cross-build-system-error 
package-cross-build-system-error? package->bag bag->derivation bag-direct-inputs 
bag-transitive-inputs bag-transitive-host-inputs bag-transitive-build-inputs 
bag-transitive-target-inputs package-development-inputs package-closure 
default-guile default-guile-derivation set-guile-for-build package-file 
package->derivation package->cross-derivation origin->derivation)))'.

(我添加了换行符以提高可读性)。

如何解决此错误?

debian guix
  • 1 1 个回答
  • 93 Views

1 个回答

  • Voted
  1. Best Answer
    aleksandr barakin
    2021-12-20T01:54:13+08:002021-12-20T01:54:13+08:00

    正如Vagrant Cascadian 建议的那样,应该采取中间步骤。

    1. 将 guix 更新为标记为v1.3.0(hash a0178d3...) 的提交:

      $ guix pull --commit=a0178d3
      ...
      
    2. 然后使用这个版本的脚本来拉主分支:

      $ ~/.config/guix/current/bin/guix pull
      
    3. 并安装任何软件包(guile例如):

      $ ~/.config/guix/current/bin/guix install guile
      

      初始化您的主配置文件 ( ~/.guix-profile)。

      现在你有:

      1. ~/.config/guix/current/bin/guix— 最新版本的guix脚本。
      2. ~/.guix-profile- 你的主要资料。
    4. 要将它们放在一起并开始使用 guix,您需要重新登录。这将/etc/profile.d/guix.sh添加到$PATH两个目录中:${HOME}/.guix-profile/bin和${HOME}/.config/guix/current/bin.

    • 0

相关问题

  • GRUB 配置以识别同一 Linux 发行版的不同桌面环境(安装)

  • astyle 不会更改源文件格式

  • 接收有关全新 Debian 的电子邮件

  • Debian Stretch:libgs_plugin_systemd-updates.so 中的 gnome-software 段错误

  • 如何在拼音输入法中输入ü?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve