V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Pin
V2EX  ›  macOS

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

  •  
  •   Pin · 195 天前 · 745 次点击
    这是一个创建于 195 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最新的 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 条回复    2023-10-19 09:41:29 +08:00
    WilsonGGG
        1
    WilsonGGG  
       195 天前
    感恩
    Pin
        2
    Pin  
    OP
       195 天前
    @WilsonGGG 如果不行的话,重启一次就好了
    pigzilla
        3
    pigzilla  
       194 天前
    我的 Edge 前几天也报 error 9 ,但是还是能正常更新,而且更新一次后,error 9 也消失了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4739 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.