解决 macOS 上, Edge 无法更新的问题

212 天前
 Pin

最新的 edge ,无法更新的原因来自于 login item 的 updater 无法更新,错误编号:error code: 9

即使重装 edge 也没用。解决办法是重新安装 pkg 的 script

如下:

sudo rm -rfv /Library/LaunchDaemons/com.microsoft.EdgeUpdater.*
sudo "/Applications/Microsoft Edge.app/Contents/Frameworks/Microsoft Edge Framework.framework/Versions/118.0.2088.46/Helpers/EdgeUpdater.app/Contents/MacOS/EdgeUpdater" --install --system --v=2

如果不敢运行上面的指令,可以自行解开微软的 PKG 安装包,上面的指令来源于 edge 的 pkg 安装包

很发现 login item 增加了三个文件,这个就是关键。

下面是我在 ms 论坛的回复: “If you have a new Mac or one that has never had Edge installed, installing Edge should proceed without any issues or errors.

However, if you do encounter an error, it's likely due to an incorrect login item. @mjj792msncom suggested unchecking this login item as a solution, but many, including myself (I succeeded once), have found this method ineffective. This Microsoft Corporation login item can be located in /Library/LaunchDaemons/. Be cautious: if you delete these items, you won't be able to retrieve them. The primary issue is that even after fully uninstalling Edge, this login item remains outdated, resulting in the error code: 9.”

764 次点击
所在节点    macOS
3 条回复
WilsonGGG
212 天前
感恩
Pin
212 天前
@WilsonGGG 如果不行的话,重启一次就好了
pigzilla
211 天前
我的 Edge 前几天也报 error 9 ,但是还是能正常更新,而且更新一次后,error 9 也消失了。

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

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

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

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

© 2021 V2EX