昨天更新了pacman 之后今天升级报错error: database 'core' is not valid (invalid or corrupted database (PGP signature)) google了一下在官方论坛找到了方法。 1在 /etc/pacman.conf的相应位置加上SigLevel = Required DatabaseOptional TrustedOnly 2sudo pacman pacman-key –init 3sudo pacman-key –populate archlinux 应该就可以了,但是我这样操作之后还是无法验证签名,所以我刷新了一下密钥sudo pacman-key --refresh-keys然后在重复2-3,就解决问题了。 4打完收工。 $ pacman –version .–. Pacman v4.1.2 - libalpm v8.0.2 / _.-‘ .-. .-. .-. Copyright (C) 2006-2013 Pacman Development Team ‘-. ‘-‘ ‘-‘ ‘-‘ Copyright (C) 2002-2006 Judd Vinet ‘–’ This program may be freely redistributed under the terms of the GNU General Public License.