未找到自制程序的 gpg-agent

2024-01-12

我正在尝试安装gpg-agent,但我收到一个错误,该公式不存在:

$ brew install gpg-agent
Error: No available formula with the name "gpg-agent"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

然而,这个公式似乎仍然有效:https://formulae.brew.sh/formula/gpg-agent https://formulae.brew.sh/formula/gpg-agent

我是否有什么配置不正确?其他公式按预期工作(例如brew install gpg, brew install pinentry-mac).

如果此信息有帮助:

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libtcl8.6.dylib
  /usr/local/lib/libtk8.6.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/fakemysql.h
  /usr/local/include/fakepq.h
  /usr/local/include/fakesql.h
  /usr/local/include/itcl.h
  /usr/local/include/itcl2TclOO.h
  /usr/local/include/itclDecls.h
  /usr/local/include/itclInt.h
  /usr/local/include/itclIntDecls.h
  /usr/local/include/itclMigrate2TclCore.h
  /usr/local/include/itclTclIntStubsFcn.h
  /usr/local/include/mysqlStubs.h
  /usr/local/include/odbcStubs.h
  /usr/local/include/pqStubs.h
  /usr/local/include/tcl.h
  /usr/local/include/tclDecls.h
  /usr/local/include/tclOO.h
  /usr/local/include/tclOODecls.h
  /usr/local/include/tclPlatDecls.h
  /usr/local/include/tclThread.h
  /usr/local/include/tclTomMath.h
  /usr/local/include/tclTomMathDecls.h
  /usr/local/include/tdbc.h
  /usr/local/include/tdbcDecls.h
  /usr/local/include/tdbcInt.h
  /usr/local/include/tk.h
  /usr/local/include/tkDecls.h
  /usr/local/include/tkPlatDecls.h

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
  /usr/local/lib/pkgconfig/tcl.pc
  /usr/local/lib/pkgconfig/tk.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libtclstub8.6.a
  /usr/local/lib/libtkstub8.6.a

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  nmap

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile

$ brew config
HOMEBREW_VERSION: 1.7.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: d639559c4de48faad79d3ecb1ec84dc851ea66f2
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: bd29bc2b97641173dbe4e5ec2a6fe484dfa9dd93
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_GIT: git
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: N/A
macOS: 10.13.6-x86_64
CLT: 9.4.0.0.1.1526532315
Xcode: 10.0
XQuartz: N/A

The gpg-agent公式已被提交删除965e1 https://github.com/Homebrew/homebrew-core/commit/965e130e04e5900e35bf1f0b6ebad9d1c2f680a7。原因在提交消息中给出:

commit 965e130e04e5900e35bf1f0b6ebad9d1c2f680a7
Author: Dominyk Tiller <do[email protected] /cdn-cgi/l/email-protection>
Date:   Sun Aug 19 23:07:17 2018 +0100

    gpg-agent: delete

    Is a redundant formula without `gn[email protected] /cdn-cgi/l/email-protection` around; `gnupg` >2.1 ships
    its own `gpg-agent`.

所以如果你想要gpg-agent安装gnupg.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

未找到自制程序的 gpg-agent 的相关文章

随机推荐

  • 将 CSV 导入 Access 的 Java 代码

    我将下面的代码发布到 Sun 开发人员论坛 因为我认为它出现了错误 真正的错误是在该代码被命中之前 我收到的回复之一说它不起作用并把它扔掉 但它实际上正在发挥作用 它可能不是最好的代码 我是 Java 新手 但它是否存在本质上的 错误 CO
  • 将 cx_Freeze 与 scipy 一起使用时出现导入错误

    我正在尝试使用 cx Freeze 从 python 项目生成 app 一般来说 我可以正常工作 但是我的一些依赖于 scipy 的模块在执行时出现导入错误 No module named csr 在构建文件夹下我看到一个文件 scipy
  • 匹配中多个期望语句的自定义断言消息

    我在 Rspec 中编写了一个自定义匹配方法 用于将对象与哈希进行匹配 我想做的是为每一行设置自定义失败消息expect describe cars do car FactoryGirl create car name Alpha desc
  • Apple 现在是否要求所有 iPad 应用程序都支持视网膜屏幕? [关闭]

    Closed 这个问题是无关 help closed questions 目前不接受答案 我从 Apple 看到了这条新闻 谈论需要为视网膜设备构建新的 iOS 应用程序提交 https developer apple com news i
  • R 无法解析为变量(新的 android 项目)[重复]

    这个问题在这里已经有答案了 新项目也会发生这种情况 gen 文件夹是空的 Activity main xml 文件中没有错误 我努力了 项目 gt 清洁 项目 gt 属性 gt 检查android版本 项目 gt 构建 重新安装eclips
  • 在网络浏览器中,onblur 和 onfocusout 之间有什么区别?

    如果是一样的话 为什么会发生两次这样的事件呢 如您所知 onBlur如果某个元素具有焦点 但失去焦点 则会触发该事件 The 焦点移出时在这种情况下会触发事件 但如果任何子元素失去焦点也会触发 例如 您有一个具有特殊格式的 div 因为人们
  • 将 Intent 过滤器操作传递给 Audible

    我正在尝试从应用程序内打开 Audible 并在启动时开始播放 Audible Audible 启动正常 但无法开始播放 有声清单文件包含
  • Cassandra 中的列排序

    当我在 CQL 中创建表时 是否需要精确确定列的顺序NOT在主键和NOT聚类列 CREATE TABLE user a ascii b ascii c ascii PRIMARY KEY a 它相当于吗 CREATE TABLE user
  • Glide - 向请求添加标头

    有没有一种方法可以在下载图像时添加自定义标头以进行请求 我可以在 Glide 中使用 volley 或 okhttp 我尝试在okhttpclient中的cookiemanager中添加cookie 但没有帮助 Glide 中有调试请求响应
  • ApplicationInsight 导致网站在启动时挂起

    目前有人成功使用 ApplicationInsight 吗 我除了试图让它发挥作用之外什么也没遇到 首先 我遇到了很多问题 VS 拒绝使用 ApplicationInsight 创建新网站以及将 ApplicationInsight 添加到
  • Oracle 中的限定子句

    我正在从事 Teradata 到 Oracle 的迁移项目 我如何修改在 Teradata 中使用 QUALIFY 的以下查询 查询1 SELECT S ID as Id S MP CD as Code S GM CD as GmCode
  • 为什么我的函数没有按预期在文档加载时运行?

    这段代码应该设置元素的高度 但是没有添加任何样式 我错过了一些明显的东西吗 function setGround document getElementById content style height 40px document onlo
  • 如何在 Nginx 中使用 .htaccess 文件?

    我目前正在将我的网站从 Apache 迁移到nginx 但是我的 htaccess文件不工作 我的网站位于 usr share nginx html mywebsite文件夹 我该如何使用 htaccess in my nginx serv
  • 我可以告诉绑定重定向始终使用最新的可用版本吗?

    有一个 ASP NET 应用程序severalWeb Config 文件中的条目采用以下格式
  • 为什么 grails 操作应该声明为方法而不是闭包,这有什么区别?

    Grails 2 0 中的新增内容http grails org doc 2 0 0 RC1 guide introduction html whatsNew http grails org doc 2 0 0 RC1 guide intr
  • 如何设置SWT按钮前景色?

    SWT Button 类有一个setForeground Color 方法 但它似乎没有效果 该方法实际上是在 Button 的超类上 javadoc 说这个方法是一个提示 可能会被平台覆盖 我的平台是Windows 这是否意味着无法在 W
  • 将字符串转换为 int (但前提是确实是 int)

    在大学里 我被问到我们的程序是否检测到从命令行参数输入的字符串是否是一个整数 但它没有检测到 Program 3 7 现在我想知道如何检测到这一点 因此输入例如aatoi 检测到的无效 但输入例如3 6应该是无效的 但 atoi 会将其转换
  • Ruby on Rails 显示带有 image_tag src 的图像

    我的里面有一张图片app assets images文件夹 我在视图页面中尝试显示图像 当我在本地主机中加载页面时 我的图像仅显示 assets 在其 src 路径中 img alt Assets src assets 我不明白为什么会出现
  • 如何更改 EKS 中 kube-scheduler 的行为?

    我是 Kubernetes 新手 对设置它完全陌生EKS 我正在努力实现共享GPU在多个 Pod 之间 但是为了查看一些文档和文章 我发现我应该更新kube scheduler configuration带有参数 然后我可以进行必要的更改以
  • 未找到自制程序的 gpg-agent

    我正在尝试安装gpg agent 但我收到一个错误 该公式不存在 brew install gpg agent Error No available formula with the name gpg agent gt Searching