运行几天后,我无法升级我的Arch系统,我sudo pacman -Syu
收到此错误:
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: libquicktime: installing libx264 (2:152.20171224-1.0) breaks dependency 'libx264.so=148-32'
如果我跑步,sudo pacman -S libx264
我会得到:
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg: installing libx264 (2:152.20171224-1.0) breaks dependency 'libx264.so=148-32'
:: ffmpeg2.8: installing libx264 (2:152.20171224-1.0) breaks dependency 'libx264.so=148-32'
:: libquicktime: installing libx264 (2:152.20171224-1.0) breaks dependency 'libx264.so=148-32'
更新
最终,我设法按照下面的评论中的说明进行了libx264
挂起,以执行升级,但是仍然无法理解为什么连--force
选项都不会覆盖此程序包。
自从我发布这个问题已经有一段时间了,但是无论如何,我找到了另一个解决方案 pacman
sudo pacman -Rdd libx264
sudo pacman -S libx264
或者
sudo pacman -S libx265
取决于您的需求,然后:
sudo pacman -Syyu
完成完整升级。
基本上可以与任何卡住的软件包一起使用。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句