尝试更新我的包数据库:
$ sudo pacman -Syu
[sudo] password for pietrom:
:: Synchronizing package databases...
core is up to date
extra 1770.5 KiB 259K/s 00:07 [######################################] 100%
community 5.3 MiB 150K/s 00:36 [######################################] 100%
multilib is up to date
:: Starting full system upgrade...
warning: fontconfig: local (2:2.13.91+23+g65087ac-1) is newer than extra (2:2.13.1+12+g5f5ec56-2)
warning: lib32-systemd: local (243.9-1) is newer than multilib (242.135-1)
warning: python-pip: local (19.2.3-1.4) is newer than extra (19.2.3-1)
warning: systemd: local (243.9-1) is newer than core (242.135-1)
warning: systemd-libs: local (243.9-1) is newer than core (242.135-1)
warning: systemd-sysvcompat: local (243.9-1) is newer than core (242.135-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing pamac-common (9.0.0-3) breaks dependency 'pamac-common<9.0.0' required by pamac-qt
除了有关已安装的较新版本的警告之外,还有什么是以及如何修复最后一个错误?
我要更新的是我的 LLVM/clang 版本(从 8 到 9),我没有用 Pacman 做。
pacman
告诉你它不能更新系统,因为它不能在不破坏依赖关系的情况下更新包。您安装了一个名为
pamac-qt
. 此软件包被列为“实验性”,它与 pamac 9 API 不兼容。您需要将其替换为pamac-gtk
.这应该可以解决您的问题:
解决此问题的最佳解决方案是手动删除所有损坏的依赖项,然后重新运行
sudo pacman -Syu
命令。有用!