You are not logged in.
Pages: 1
Hello, GPG trouble trying to install lqx ! Used to worked great up until 6.8 included, what's up here ?
Linux TovStudio 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux
==> Making package: linux-lqx 6.9.4.lqx1-1 (ven. 14 juin 2024 21:44:05)
==> Retrieving sources...
-> Found linux-6.9.tar.xz
-> Found linux-6.9.tar.sign
-> Found 6.9-3.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
linux-6.9.tar.xz ... Passed
linux-6.9.tar.sign ... Skipped
6.9-3.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: linux-lqx
gpg: error reading key: No public key
pub rsa4096 2011-09-23 [SC]
647F28654894E3BD457199BE38DBBDC86092693E
uid [ unknown] Greg Kroah-Hartman <gregkh@linuxfoundation.org>
uid [ unknown] Greg Kroah-Hartman <gregkh@kernel.org>
uid [ unknown] Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>
sub rsa4096 2011-09-23 [E]
:: PGP keys need importing:
-> ABAF11C65A2970B130ABE3C479BE3E4300411886, required by: linux-lqx
:: Import? [Y/n]
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
-> problem importing keys
Offline
See the pinned aur comment which gives very specific instruction on exactly how to do what the wiki also advises.
Last edited by Trilby (2024-06-14 20:03:32)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moderator Note : moved to Newbie Corner.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I had seen that comment, but it doesn't help in my case:
$ sudo pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-keys 9AE4078033F8024D && sudo pacman-key --lsign-key 9AE4078033F8024D
gpg: key 9AE4078033F8024D: "Steven Barrett <steven@liquorix.net>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
-> Locally signed 1 key.
==> Updating trust database...
gpg: next trustdb check due at 2024-06-29
# looking fine so far
$ yay -S linux-lqx
AUR Explicit (1): linux-lqx-6.9.4.lqx1-1
#...
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: error reading key: No public key
pub rsa4096 2011-09-23 [SC]
647F28654894E3BD457199BE38DBBDC86092693E
uid [ unknown] Greg Kroah-Hartman <gregkh@linuxfoundation.org>
uid [ unknown] Greg Kroah-Hartman <gregkh@kernel.org>
uid [ unknown] Greg Kroah-Hartman (Linux kernel stable release signing key) <greg@kroah.com>
sub rsa4096 2011-09-23 [E]
:: PGP keys need importing:
-> ABAF11C65A2970B130ABE3C479BE3E4300411886, required by: linux-lqx
:: Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: No data
-> problem importing keys
# and indeed:
$ sudo pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-keys ABAF11C65A2970B130ABE3C479BE3E4300411886
[sudo] password for tov:
gpg: keyserver receive failed: No data
==> ERROR: Remote key not fetched correctly from keyserver.
So, what was the first key import about, and why this one fails ?
I got lqx 6.8 up and running effortlessly last month with the same distro, by just installing the package like a good noob.
Which means something broke somewhere, but I can't figure out what. I'd rather not dive into manual kernel building if there is another solution.
Thank you for any insight.
Offline
Sorry - there are two steps involved here and I misread the AUR comment myself. That is just for installing the signed built package from the unofficial repo. Please follow the wiki link to import the key into your users keyring not pacman's. Or if you are sure you can trust the source, you can add the --skippgpcheck to makepkg.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I am a beginner and I have the same problem
After searching I found two solutions.
The First Run:
"gpg2 --locate-keys torvalds@kernel.org"
It will fix the lqx installation problem
The Second
Add the following to your ~/.gnupg/gpg.conf:
If it doesn't exist, create one
auto-key-locate wkd,dane,local
auto-key-retrieve
Then run:
"gpg --locate-keys torvalds@kernel.org gregkh@kernel.org"
Sources of references
https://www.kernel.org/signature.html
https://www.kernel.org/doc/html/v4.19/p … guide.html
Offline
Pages: 1