您尚未登录。

#1 2015-04-05 20:36:56

liuc
会员
注册时间: 2014-12-29
帖子: 14

error:dhcpcd:signature from "anatol pomozov <anatol.pomozov@gmail.com>

准备把vps的debian换成archlinux,然后安装出现了这样的问题
error:dhcpcd:signature from "anatol pomozov <anatol.pomozov@gmail.com>"is unknown trust
::file /mnt/var/cache/pacmans/pkg/dhcpd*.pkg.tar.xz is corrupted(invalid or corrupted package (PGP signature))
do you want to delete it ?[y/n]
出现同样错误提示的还有 lzo,libarchive,libaio,libatomic_ops这四个文件
error:failed to commit transaction (invalid or corrupted package)
errors occurred, no packages were upgraded
==> error:failed to install packages to new root

用google了一下有说是时间设置的问题,但是我看了一下时间设置是正确的。
还有说是pacman-key --init pacman-key --populate archlinux。我都运行了这两条命令,还是不能解决。
一个好久没滚的vmware当中的archlinux,昨天滚了下。出现了差不多同样的问题:
error: dhclient: signature from "Anatol Pomozov <anatol.pomozov@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/dhclient-4.3.2-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: dhcpcd: signature from "Anatol Pomozov <anatol.pomozov@gmail.com>" is unknown trust
:: File /var/cache/pacman/pkg/dhcpcd-6.8.1-1-i686.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n

离线

#2 2015-04-06 18:28:40

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: error:dhcpcd:signature from "anatol pomozov <anatol.pomozov@gmail.com>

看看是不是确实坏了:

tar tf  /var/cache/pacman/pkg/dhcpcd-6.8.1-1-i686.pkg.tar.xz || echo "bad file"

看看 key 是否已导入并信任:

pacman-key --list-keys anatol.pomozov@gmail.com

离线

#3 2015-04-06 19:55:04

liuc
会员
注册时间: 2014-12-29
帖子: 14

Re: error:dhcpcd:signature from "anatol pomozov <anatol.pomozov@gmail.com>

百合仙子 说:

看看是不是确实坏了:

tar tf  /var/cache/pacman/pkg/dhcpcd-6.8.1-1-i686.pkg.tar.xz || echo "bad file"

看看 key 是否已导入并信任:

pacman-key --list-keys anatol.pomozov@gmail.com

问题解决了,重新安装了pacman-keyring

离线

页脚