[STM32F1] STM32CubeIDE:因依赖冲突无法完成安装

[复制链接]
104|4
咚了个咚 发表于 2025-11-20 14:10 | 显示全部楼层 |阅读模式
将 STM32CubeIDE升级至最新版本时,Git 集成功能出现如下错误提示。
该如何解决?
错误详情:
Cannot complete the install because of a conflicting dependency.

Software being installed: Git integration for Eclipse 6.5.0.202303070854-r (org.eclipse.egit.feature.group 6.5.0.202303070854-r)

Software currently installed: Git integration for Eclipse - Task focused interface 6.2.0.202206071550-r (org.eclipse.egit.mylyn.feature.group 6.2.0.202206071550-r)

Only one of the following can be installed at once:

  Git integration for Eclipse - UI 6.5.0.202303070854-r (org.eclipse.egit.ui 6.5.0.202303070854-r)

  Git integration for Eclipse - UI 6.2.0.202206071550-r (org.eclipse.egit.ui 6.2.0.202206071550-r)

Cannot satisfy dependency:

  From: Git integration for Eclipse 6.5.0.202303070854-r (org.eclipse.egit.feature.group 6.5.0.202303070854-r)

  To: org.eclipse.equinox.p2.iu; org.eclipse.egit.ui [6.5.0.202303070854-r,6.5.0.202303070854-r]

Cannot satisfy dependency:

  From: Git integration for Eclipse - Task focused interface 6.2.0.202206071550-r (org.eclipse.egit.mylyn.feature.group 6.2.0.202206071550-r)

  To: org.eclipse.equinox.p2.iu; org.eclipse.egit.mylyn.ui [6.2.0.202206071550-r,6.2.0.202206071550-r]

Cannot satisfy dependency:

  From: EGit Mylyn UI 6.2.0.202206071550-r (org.eclipse.egit.mylyn.ui 6.2.0.202206071550-r)

  To: java.package; org.eclipse.egit.ui [6.2.0,6.3.0)

七毛钱 发表于 2025-11-20 16:48 | 显示全部楼层
卸载冲突插件、强制安装兼容版本、清理插件缓存
classroom 发表于 2025-11-20 16:48 | 显示全部楼层
egit.mylyn.ui 6.2.0要求egit.ui [6.2.0,6.3.0),而egit 6.5.0需要egit.ui 6.5.0,版本区间无重叠导致冲突。
cr315 发表于 2025-11-20 17:49 | 显示全部楼层
禁用自动更新
duo点 发表于 2025-11-20 20:49 | 显示全部楼层
建议定期检查依赖树,生成依赖图谱,提前发现版本冲突
您需要登录后才可以回帖 登录 | 注册

本版积分规则

73

主题

82

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部