如何删除不再存在的Homebrew配方/大桶? [英] How to remove Homebrew formula/keg that no longer exists?

查看:104
本文介绍了如何删除不再存在的Homebrew配方/大桶?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试删除extempore,但出现以下情况:

I'm trying to remove extempore but I get the following:

$ brew uninstall extempore Error: No available formula with the name "extempore-llvm"

$ brew uninstall extempore Error: No available formula with the name "extempore-llvm"

尝试卸载extempore-llvm

Trying to uninstall extempore-llvm

$ brew uninstall extempore-llvm Error: No such keg: /usr/local/Cellar/extempore-llvm

$ brew uninstall extempore-llvm Error: No such keg: /usr/local/Cellar/extempore-llvm

添加--force不会执行任何操作.

Adding --force does not do anything.

如何彻底清除该小桶/配方?在出现问题时,Brew无法卸载/安装/重新安装任何东西.

How do I remove this keg/formula completely? Brew can't uninstall/install/reinstall anything while this is an issue.

推荐答案

手动删除/usr/local/Cellar/extempore-llvm,然后执行brew prune.

这篇关于如何删除不再存在的Homebrew配方/大桶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆