homebrew 跑了下 upgrade,所有 app 都能正常更新,唯独 lulu 被删了,稳定复现

358 天前
 jiaslbang

1.现象

用 brew upgrade 更新了一堆软件,唯独 lulu 在最后 Purging files 的时候报了错,然后 lulu 的 app 也从电脑里消失了

2.这是成功的,以 keycastr 为例

==> Upgrading keycastr
==> Downloading https://github.com/keycastr/keycastr/releases/download/v0.9.15/K
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%
==> Backing App 'KeyCastr.app' up to '/opt/homebrew/Caskroom/keycastr/0.9.13/Key
==> Removing App '/Applications/KeyCastr.app'
==> Moving App 'KeyCastr.app' to '/Applications/KeyCastr.app'
==> Purging files for version 0.9.13 of Cask keycastr
🍺  keycastr was successfully upgraded!

3.这是失败的 lulu ,error 在最后

==> Upgrading lulu
==> Downloading https://github.com/objective-see/LuLu/releases/download/v2.5.1/L
==> Downloading from https://objects.githubusercontent.com/github-production-rel
######################################################################### 100.0%
==> Running uninstall script /Applications/LuLu.app/Contents/Resources/LuLu Unin
Password:
LULU: performing full 'uninstall' logic
LULU: waiting for 'kextcache' to complete
LULU: uninstall ok!
...reboot to complete

==> Purging files for version 2.5.1 of Cask lulu
Error: lulu: It seems the App source '/Applications/LuLu.app' is not there.

4.求助各位大佬帮看下

不然后面 lulu 基本没法用了,只要 brew upgrade 就把 lulu 删掉

1792 次点击
所在节点    macOS
3 条回复
hahastudio
358 天前
jiaslbang
358 天前
@hahastudio #1 感谢大佬,我刚也找到一个,现在可以正常 brew install lulu 了
https://github.com/objective-see/LuLu/issues/475
Mrered
358 天前
这里已经删除了产生错误的卸载命令

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1003796

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX