I also followed @E3LDDfrK comment and solved the problem, thanks.
I just executed the following command:
gpg --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
Git Clone URL: | https://aur.archlinux.org/ncurses5-compat-libs.git (read-only, click to copy) |
---|---|
Package Base: | ncurses5-compat-libs |
Description: | System V Release 4.0 curses emulation library, ABI 5 |
Upstream URL: | http://invisible-island.net/ncurses/ncurses.html |
Licenses: | MIT |
Conflicts: | libtinfo5 |
Provides: | libtinfo5 |
Submitter: | Barthalion |
Maintainer: | micwoj92 |
Last Packager: | micwoj92 |
Votes: | 590 |
Popularity: | 2.07 |
First Submitted: | 2015-09-18 21:03 (UTC) |
Last Updated: | 2024-07-16 20:06 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 27 Next › Last »
I also followed @E3LDDfrK comment and solved the problem, thanks.
I just executed the following command:
gpg --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
Find "validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03')" in "PKGBUILD" file, copy and paste it after "--recv-keys", then run cmd!
git clone http://aur.archlinux.org/ncurses5-compat-libs.git&& cd ncurses5-compat-libs && gpg --recv-keys 19882D92DDA4C400C22C0D56CC2AF4472167BE03 && makepkg -sic && cd .. && sudo rm -r ncurses5-compat-libs
iordendev commented on 2022-02-15 03:34 (MSK) (edited on 2022-02-15 03:34 (MSK) by iordendev)
For some reason, gpg --recv-keys KEYID didn't work for me.
What I did in order to make it work:
Go to https://invisible-island.net/public/public.html
Download the latest .asc and add it to KGpg"
$gpg --import keyfile.asc
For some reason, gpg --recv-keys KEYID
didn't work for me.
What I did in order to make it work:
gpg --recv-keys CC2AF4472167BE03 gives the following error :
gpg: keyserver receive failed: Server indicated a failure
Do first gpg --recv-keys CC2AF4472167BE03 and it should work
@f3fora Refer the pinned Comments: gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>
==> Verifying source file signatures with gpg...
ncurses-6.3.tar.gz ... FAILED (unknown public key CC2AF4472167BE03)
==> ERROR: One or more PGP signatures could not be verified!
error: failed to download sources for 'ncurses5-compat-libs-6.3-1':
error: packages failed to build: ncurses5-compat-libs-6.3-1
Please update your public.
ncurses-6.2.tar.gz ... FAILED (unknown public key 702353E0F7E48EDB)
==> ERROR: One or more PGP signatures could not be verified!
❯ gpg --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
gpg: key 702353E0F7E48EDB: no user ID
gpg: Total number processed: 1
❯ gpg --keyserver keyserver.ubuntu.com --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
gpg: key 702353E0F7E48EDB: public key "Thomas Dickey <dickey@invisible-island.net>" imported
gpg: Total number processed: 1
gpg: imported: 1
I just followed the solution in the pinned comment. It works.
gpg --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
The key C52048C0C0748FEE227D47A2702353E0F7E48EDB
is found in the PKGBUILD as mentioned. No need to specify ubuntu's keyserver.
Pinned Comments
WoefulDerelict commented on 2016-05-23 19:35 (UTC) (edited on 2018-08-18 20:22 (UTC) by WoefulDerelict)
This PKGBUILD verifies the authenticity of the source via PGP signatures which are not part of the Arch Linux keyring. In order to complete the process it is necessary to import the key(s) from the ‘validpgpkeys’ array into the user’s keyring before calling makepkg. There is a helpful article explaining this process by one of Arch Linux's developers located here: http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/
Instructions on importing keys from a keyserver and how to automate the retrieval process can be found in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/GnuPG#Use_a_keyserver This article also contains helpful information describing the installation of GnuPG, its configuration and usage.
Execute the following to import keys using gpg:
gpg --recv-keys <KEYID - See 'validpgpkeys' array in PKGBUILD>
The PGP signature check can be skipped by passing --skippgpcheck to makepkg.
Consult the makepkg manual page for a full list of options. [https://www.archlinux.org/pacman/makepkg.8.html]