V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Pin
V2EX  ›  macOS

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

  •  
  •   Pin · Oct 18, 2023 · 1696 views
    This topic created in 932 days ago, the information mentioned may be changed or developed.

    最新的 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.”

    3 replies    2023-10-19 09:41:29 +08:00
    WilsonGGG
        1
    WilsonGGG  
       Oct 18, 2023
    感恩
    Pin
        2
    Pin  
    OP
       Oct 18, 2023
    @WilsonGGG 如果不行的话,重启一次就好了
    pigzilla
        3
    pigzilla  
       Oct 19, 2023
    我的 Edge 前几天也报 error 9 ,但是还是能正常更新,而且更新一次后,error 9 也消失了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   975 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:13 · PVG 03:13 · LAX 12:13 · JFK 15:13
    ♥ Do have faith in what you're doing.