当我运行sudo pacman -Syu
pacman 时抛出此错误:
:: Synchronizing package databases...
core is up to date
extra is up to date
community-testing is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: opencascade74 and opencascade are in conflict
我尝试清除缓存,sudo pacman -Sc
但错误仍然存在
当我尝试删除opencascade
包但是:
sudo pacman -R opencascade
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing opencascade breaks dependency 'opencascade' required by freecad
How can I get around this error to upgrade my system ?
答案1
我freecad
先解决了它,忽略了:
sudo pacman -Syu --ignore freecad
然后运行升级而不忽略标志sudo pacman -Syu
:
[sudo] password for john:
:: Synchronizing package databases...
core is up to date
extra is up to date
community-testing is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: opencascade74 and opencascade are in conflict. Remove opencascade? [y/N]
确认是
现在您已经升级了系统,没有任何冲突。
顺便提一句:错误报告已经完成:https://bugs.archlinux.org/task/68673