#cannot install anything throught yay/pacman if said app needs to import gpg keys

3 messages · Page 1 of 1 (latest)

compact pasture
#

Hi people,

Basically whenever I try to import a key after download:

==> Validating source files with sha256sums...
    source ... Passed
    default192x192.png ... Passed
    librewolf.desktop ... Passed
==> Validating source_x86_64 files with sha256sums...
    librewolf-135.0.1-1-linux-x86_64-package.tar.xz ... Passed
    librewolf-135.0.1-1-linux-x86_64-package.tar.xz.sig ... Skipped
:: (1/1) Parsing SRCINFO: librewolf-bin
gpg: directory '/home/sea/.gnupg' created
gpg: /home/sea/.gnupg/trustdb.gpg: trustdb created
gpg: error reading key: No public key

 :: PGP keys need importing:
 -> 662E3CDD6FE329002D0CA5BB40339DD82B12EF16, required by: librewolf-bin
:: Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: Server indicated a failure
 -> problem importing keys```

I did tried with other apps, same things. 
I am googling commands to troubleshot, but it seem to be an only-me problem because mobody problem's description is identical to mine, nor I know everything about Bash (I only use Linux since 6 months, I still have stuff to learn to be 100% independant)

I tried to generate a new keys, since I don't really understand what those keys does in the first place, idk how futile are my attempts to fix the issue. I took time to read wikis and stuff but that is still vague; I don't wanna send encrypted messages, I wanna use yay!

`[sea@archlinux ~]$ gpg --full-generate-key`

I did generated a key but still no way to download anything with pacman.

I am currently running a fresh install of Archlinux from a few hours ago.
Yesterday I did tried to troubleshot that, reading several wikis and forums but I have broke NetworkManager and I was unable to connect on internet anymore, but I cannot remember what I did

Any clues would be very appreciated!!

```OS: Arch Linux x86_64
Kernel: Linux 6.13.5-arch1-1
DE: KDE Plasma6.3.2
WM: KWin (Wayland)
CPU: AMD Ryzen 7 7735HS (16 cores) 4.83 GHz
GPU1: AMD Radeon RX 7600S [Discrete]
GPU2: AMD Radeon 680M [Integrated]
Memory: 14.87 GiB
Disk: 936.84 GiB - ext4```
foggy wigeon
#

you may like to refresh mirrors with reflector then update the system: (replace US with your country code)
sudo reflector --verbose --country US --latest 8 --protocol http,https --sort rate --save /etc/pacman.d/mirrorlist
then
sudo pacman -Syu archlinux-keyring