首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Mac Big Sur安装upx

使用Mac Big Sur安装upx
EN

Stack Overflow用户
提问于 2021-02-20 01:28:22
回答 1查看 6.6K关注 0票数 0

我在安装upx时遇到问题。以下是我采取的步骤。我的macOs是11.2.1

代码语言:javascript
复制
 % ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
==> Checking for `sudo` access (which may request your password).
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R vuduc:admin /usr/local/Homebrew
==> Downloading and installing Homebrew...
HEAD is now at 3ff5795ae Merge pull request #10652 from danielnachun/revert-gcc-linkage-fix
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh

% brew install upx
Updating Homebrew...
fatal: Could not resolve HEAD to a revision
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "upx".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

我该如何解决这个问题?我需要安装upx,因为一些应用程序显示“您没有打开应用程序…的权限”。当我试着运行它们的时候。

EN

回答 1

Stack Overflow用户

发布于 2021-03-09 22:09:36

我也有同样的问题。我找了很久,尝试了很多东西。

最后,我从UPX获取了相关信息,并将其发布到HomeBrew github问题日志中,解决了这个问题。

查看> https://github.com/upx/upx/issues/469

在您首选的Shell (bash / zsh / fish / etc)中,运行以下命令:

代码语言:javascript
复制
git -C $(brew --repo homebrew/core) checkout master

这将把你的brew从“起源”分支切换到“主”分支。

在那里,运行以下命令:brew install upx

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66282264

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档