码迷,mamicode.com
首页 > 系统相关 > 详细

arclinux安装报错unknown trust

时间:2017-04-25 14:50:56      阅读:620      评论:0      收藏:0      [点我收藏+]

标签:res   unknown   warning   linux   nbsp   level   pre   remote   package   

最近在自己的arclinux上安装postgreSQL的时候出现错误如下:

error: postgresql-libs: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust

arclinux论坛搜到帖子:

https://bbs.archlinux.org/viewtopic.php?id=143337

解决办法所删掉 /etc/pacman.d/gnupg/ ,由于文件夹下太多东西,不放心,移动到备份目录

sudo mv /etc/pacman.d/gnupg/ /etc/pacman.d/gnupg.bk/

这个时候如果再安装,会报错说:

warning: Public keyring not found; have you run ‘pacman-key --init‘?
downloading required keys...
error: key "FC1B547C8D8172C8" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

需要更新pacman 的key

pacman-key --init
pacman-key --populate archlinux

 如果还是不行,就关掉校验吧

sudo vim /etc/pacman.conf

把里面的SigLevel设置为 Never

arclinux安装报错unknown trust

标签:res   unknown   warning   linux   nbsp   level   pre   remote   package   

原文地址:http://www.cnblogs.com/javaxiu/p/6761765.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!