Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
619 views
in Technique[技术] by (71.8m points)

signature - Pacman package installation and expired keys

I'm trying to install Parabola GNU/Linux-libre (OpenRC) and I repeatedly get this error during pacstrap /mnt base elogind udev-init-scripts.

error: some-package: signature from "A Packager <a-packager@example.org>" is unknown trust
:: File some-package.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))

Note: I cannot copy and paste the actual error because I'm installing it on another machine, but the error is the one show above.

I tried to fix it by trying to use the commands listed on the parabola wiki, but with no luck and then I realized something. I looked the key that repeatedly fails on keys.gnupg.net and I found out this line (I prefer to censor some part of the key to make it anonymous):

Type bits/keyID     cr. time   exp time   key expir
uid XXX YYY <XXX@email>
sig  sig3  ZZZ 2017-01-24 __________ 2018-01-24 [selfsig]
sig  sig3  ZZZ 2018-01-21 __________ 2018-07-20 [selfsig]
sig  sig3  ZZZ 2018-07-17 __________ 2019-07-17 [selfsig]
sig  sig3  ZZZ 2019-07-17 __________ 2020-01-13 [selfsig]
sig  sig3  ZZZ 2019-07-17 __________ 2020-01-13 [selfsig]
sig  sig3  ZZZ 2019-10-26 __________ 2020-01-13 [selfsig]
sig  sig3  ZZZ 2020-01-13 __________ 2020-07-11 [selfsig]
sig  sig3  ZZZ 2020-07-11 __________ 2021-01-07 [selfsig]

As far as I can tell, this key expires today and it has not been updated, hence the failure.

It's possible and advisable to bypass the problem by somehow (how?) tell parabola that the key is fine?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...