Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenPGP keyring refresh failed - during emerge --sync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Fri Aug 02, 2019 1:52 pm    Post subject: OpenPGP keyring refresh failed - during emerge --sync Reply with quote

Trying to perform clean install, after emerge-webrsync, i ran emerge --sync and have those errors:

Code:
>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                                                                                                                                                                                                                                                              [ !! ]
 * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: General error

OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: General error

^C



Please, your help

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
system.shock
n00b
n00b


Joined: 06 Jan 2019
Posts: 35

PostPosted: Fri Aug 02, 2019 3:39 pm    Post subject: Reply with quote

You can try use:
Code:
sudo emerge-webrsync
Back to top
View user's profile Send private message
leonchik1976
Guru
Guru


Joined: 24 Jan 2010
Posts: 325

PostPosted: Fri Aug 02, 2019 3:41 pm    Post subject: Reply with quote

with emerge-webrsync there is no problem, only with emerge --sync
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Fri Aug 02, 2019 11:48 pm    Post subject: Reply with quote

You could (temporarily) disable tree verification.
  1. Emerge portage without USE flag 'rsync-verify' AND

  2. Add the lines below to the DEFAULT section of /etc/portage/repos.conf/gentoo.conf:
    Code:
    sync-rsync-verify-metamanifest = no
    sync-allow-hardlinks = no   

Back to top
View user's profile Send private message
guyuming
Apprentice
Apprentice


Joined: 19 Nov 2020
Posts: 236

PostPosted: Fri May 07, 2021 6:37 am    Post subject: Reply with quote

i get this error because the system date time is not correct, set it with Linux date command and its fixed.
Back to top
View user's profile Send private message
happysmash27
Apprentice
Apprentice


Joined: 28 Mar 2016
Posts: 220

PostPosted: Thu Dec 09, 2021 8:58 am    Post subject: Reply with quote

My solution for this, after much debugging, was:

Code:
emerge --ask app-misc/ca-certificates


As per https://wiki.gentoo.org/wiki/Certificates.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum