You are not logged in.

#1 2015-04-14 05:04:25

leave0
Member
Registered: 2014-12-11
Posts: 2

key could not be imported

hi guys .when i input pacman -Syu

:: 进行安装吗? [Y/n] y
(439/439) 正在检查密钥环里的密钥                   [######################] 100%
正在下载所需的密钥......
:: 导入 PGP 密匙 4096R/,"lilac (build machine) <lilac@build.archlinuxcn.org>",创建 2014-03-21 吗? [Y/n] y
错误:key "lilac (build machine) <lilac@build.archlinuxcn.org>" could not be imported
y
:: 导入 PGP 密匙 4096R/,"Antonio Rojas <arojas@us.es>",创建 2014-10-22 吗? [Y/n] y
错误:key "Antonio Rojas <arojas@us.es>" could not be imported
错误:所需的密钥从密钥环中丢失
错误:无法提交处理 (未预期的错误)
发生错误,没有软件包被更新。

can some one help me to fix it.thanks

Last edited by leave0 (2015-04-14 05:07:21)

Offline

#2 2015-04-14 05:35:12

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: key could not be imported

Hi leave0 and welcome to the Forums big_smile

Pleas post the output in english https://wiki.archlinux.org/index.php/Fo … s_and_code


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-04-14 06:39:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: key could not be imported

Unsupported repo: moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-04-14 12:31:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: key could not be imported

Run

LC_ALL=C <command>

to get the output in English.

https://wiki.archlinux.org/index.php/Pa … icial_keys

Offline

#5 2015-04-14 12:41:39

leave0
Member
Registered: 2014-12-11
Posts: 2

Re: key could not be imported

hi karol do you mean
LC_ALL=c sudo pacman -Syu ?
i try ,show that:

:: Proceed with installation? [Y/n] y
(439/439) checking keys in keyring                 [######################] 100%
downloading required keys...
:: Import PGP key 4096R/, "lilac (build machine) <lilac@build.archlinuxcn.org>", created: 2014-03-21? [Y/n] y
error: key "lilac (build machine) <lilac@build.archlinuxcn.org>" could not be imported
y
^[[C:: Import PGP key 4096R/, "Antonio Rojas <arojas@us.es>", created: 2014-10-22? [Y/n] y
error: key "Antonio Rojas <arojas@us.es>" could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

karol wrote:

Run

LC_ALL=C <command>

to get the output in English.

https://wiki.archlinux.org/index.php/Pa … icial_keys

Last edited by leave0 (2015-04-14 12:42:28)

Offline

#6 2015-04-14 18:44:47

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: key could not be imported

You'll have to import the key manually before trying to do the install. Did you import the key into the pacman keyring as described in the link karol posted?

EDIT: The key ID should be provided by the maintainer of that repo. Try looking on the site where you found the repo.

Last edited by runical (2015-04-14 18:46:24)

Offline

#7 2015-04-14 21:53:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: key could not be imported

If you're using archlinuxcn repo, see https://wiki.archlinux.org/index.php/Un … rchlinuxcn

Offline

Board footer

Powered by FluxBB