页次: 1
刚装了个arch,想给其安装lftp客户端,总是报错,不知道那里被我改的不合适了,请教下各位前辈改如何处理呢。
[root@Arch ~]# pacman -S lftp
resolving dependencies...
looking for inter-conflicts...
Targets (5): gnutls-3.0.12-1 libtasn1-2.9-1 nettle-2.4-1 p11-kit-0.9-1
lftp-4.3.4-1
Total Installed Size: 8.16 MiB
Proceed with installation? [Y/n] y Enter
(5/5) checking package integrity [######################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
error: nettle: key "94657AB20F2A092B" is unknown
error: key "94657AB20F2A092B" could not be looked up remotely
error: p11-kit: key "E8F18BA1615137BC" is unknown
error: key "E8F18BA1615137BC" could not be looked up remotely
error: gnutls: key "94657AB20F2A092B" is unknown
error: key "94657AB20F2A092B" could not be looked up remotely
error: lftp: key "94657AB20F2A092B" is unknown
error: key "94657AB20F2A092B" could not be looked up remotely
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
离线
差异自己合并:
cp /etc/pacman.conf.pacnew /etc/pacman.conf
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
差异自己合并:
cp /etc/pacman.conf.pacnew /etc/pacman.conf
这几天有点忙,没有上论坛,现在才回复,真是抱歉,原来这两个配置必须相同啊,不知何固,谢前辈指点。
离线
不少人都遇到这个问题了。去下面几个帖子看看应该会有帮助。
http://www.archlinuxcn.org/viewtopic.php?f=27&t=542
http://www.archlinuxcn.org/viewtopic.php?f=27&t=549
离线
cuihao 说:差异自己合并:
cp /etc/pacman.conf.pacnew /etc/pacman.conf
这几天有点忙,没有上论坛,现在才回复,真是抱歉,原来这两个配置必须相同啊,不知何固,谢前辈指点。
不是必须相同,起作用的是pacman.conf
只是安装pacman的时候,pacman的包里头也包含了一个pacman.conf,为了不覆盖用户的设置(用户改动过原来的pacman.conf的内容),
就会将pacman.conf安装成pacman.conf.pacnew。
只不过有些软件升级后,会引入一些新的特性,
相应的配置文件xxx.conf之类就会有新增特性的设置,
所以为了能正常使用升级后的软件,
最好对照着xxx.conf 的内容对xxx.conf.pacnew进行一些修改后,
将xxx.conf备份好,然后 mv xxx.conf{.pacnew,}
离线
页次: 1