package-query require pacman<3.6 错误
今天升级ArchLinux 的时候碰到下面的问题:
error: failed to prepare transaction (could not satisfy dependencies)
package-query: requires pacman<3.6
Google 多次后,得到如下办法
pacman -R yaourt package-query
pacman -Syu
修改
/etc/pacman.conf.pacnew
去掉
SigLevel = Optional TruslAll
前的#。
在
SigLevel = Never
前添加#
修改
/etc/pacman.d/gunpg/gpg.conf
中的
keyserver hkp://keys.gnupg.net
为
keyserver hkp://pgp.mit.edu
或者
keyserver hkp://pgp.mit.edu:11371
复制pacman.conf 文件
cp /etc/pacman.conf.pacnew /etc/pacman.conf
执行
pacman-key –init
重新安装yaourt
pacman -S yaourt
- 标题: package-query require pacman<3.6 错误
- 作者: The Redefine Team
- 创建于 : 2012-01-18 22:30:01
- 更新于 : 2023-05-23 18:52:03
- 链接: https://redefine.ohevan.com/2012/01/18/package-query-error/
- 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论