How to remove Homebrew formula/keg that no longer exists?

青春壹個敷衍的年華 提交于 2019-12-11 01:51:50

问题


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

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

Trying to uninstall extempore-llvm

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

Adding --force does not do anything.

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


回答1:


Remove /usr/local/Cellar/extempore-llvm manually, then execute brew prune.



来源:https://stackoverflow.com/questions/41161503/how-to-remove-homebrew-formula-keg-that-no-longer-exists

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!