最新的 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.”
1
WilsonGGG 2023-10-18 14:27:15 +08:00
感恩
|
3
pigzilla 2023-10-19 09:41:29 +08:00
我的 Edge 前几天也报 error 9 ,但是还是能正常更新,而且更新一次后,error 9 也消失了。
|