VS Code反复弹出更新助手工具授权提示,如何查看具体更新内容?
VS Code 更新弹窗反复出现且更新失败,如何查看具体更新内容?
问题现象
弹窗提示
反复收到如下系统弹窗:
Code
An update is ready to install. Code is trying to add a new helper tool.
Touch ID or enter your password to allow this.
Use Password...
Cancel

日志信息
VS Code的「Main」输出日志中,多次出现更新失败记录:
2025-06-18 13:25:58.261 [info] update#setState checking for updates 2025-06-18 13:25:58.988 [info] update#setState downloading 2025-06-18 13:34:45.305 [error] UpdateService error: The network connection was lost. 2025-06-18 13:34:45.305 [info] update#setState idle 2025-06-18 14:25:58.313 [info] update#setState checking for updates 2025-06-18 14:25:58.506 [info] update#setState downloading 2025-06-18 14:26:44.137 [error] UpdateService error: The operation couldn’t be completed. (OSStatus error -60006.) 2025-06-18 14:26:44.137 [info] update#setState idle 2025-06-18 15:25:58.369 [info] update#setState checking for updates 2025-06-18 15:25:58.571 [info] update#setState downloading 2025-06-18 15:29:00.323 [error] UpdateService error: The operation couldn’t be completed. (OSStatus error -60006.) 2025-06-18 15:29:00.324 [info] update#setState idle 2025-06-18 16:25:58.427 [info] update#setState checking for updates 2025-06-18 16:25:58.591 [info] update#setState downloading 2025-06-18 16:33:48.827 [error] UpdateService error: The operation couldn’t be completed. (OSStatus error -60006.) 2025-06-18 16:33:48.828 [info] update#setState idle
查看更新内容的方法
- 内置菜单直接查看:打开VS Code,点击左下角齿轮图标,选择「检查更新」。若有可用更新,会显示目标版本号,点击版本旁的「发行说明」即可查看具体更新内容。
- 手动核对版本查日志:如果内置菜单无法正常显示,按
Cmd+Shift+P(Mac)或Ctrl+Shift+P(Windows/Linux),输入「关于」查看当前版本号,再对应找到该版本的更新日志详情。
解决更新失败问题
日志中的OSStatus error -60006多因权限或网络问题导致,可尝试:
- 手动下载对应版本安装包,直接覆盖安装(无需卸载,配置会保留);
- 检查网络连接,确保能正常访问VS Code更新服务器;
- 确认当前用户对VS Code安装目录拥有读写权限。
内容的提问来源于stack exchange,提问作者jxramos
相关产品推荐
相关产品推荐

