Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] keyserver refresh failed: General error
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
Arvo
n00b
n00b


Joined: 30 Sep 2019
Posts: 8

PostPosted: Wed Oct 02, 2019 2:11 pm    Post subject: [SOLVED] keyserver refresh failed: General error Reply with quote

Hi,

Trying to install gentoo on my machine. emerge-webrsync worked with no problems, but
doing emerge --sync fails

Code:

(chroot) gentoo / # emerge --sync
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * 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
(chroot) gentoo / #


Last edited by Arvo on Wed Oct 02, 2019 5:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Prof. Frink
Apprentice
Apprentice


Joined: 07 Jan 2017
Posts: 176

PostPosted: Wed Oct 02, 2019 3:10 pm    Post subject: Reply with quote

Jo,

what does

Code:
 emerge --info | grep GENTOO_MIRRORS


say?
Back to top
View user's profile Send private message
Arvo
n00b
n00b


Joined: 30 Sep 2019
Posts: 8

PostPosted: Wed Oct 02, 2019 3:36 pm    Post subject: Reply with quote

It lists servers from Germany and Sweden (which I chose with mirrorselect).
Code:
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ https://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ https://ftp.fau.de/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ ftp://mirror.mdfnet.se/gentoo https://mirror.mdfnet.se/gentoo"
Back to top
View user's profile Send private message
Prof. Frink
Apprentice
Apprentice


Joined: 07 Jan 2017
Posts: 176

PostPosted: Wed Oct 02, 2019 3:42 pm    Post subject: Reply with quote

Okay, which mirrorselect-command did you run? Maybe:

Code:
mirrorselect -a


And what is the output of

Code:

grep GENTOO_MIRRORS /etc/portage/make.conf


Maybe just try to set

Code:
GENTOO_MIRRORS="rsync://mirror.netcologne.de/gentoo/"


which works for me right now, but this depends on the protocol (rsync in my case) you have choosen via

Code:
cat /etc/portage/repos.conf/gentoo.conf
[DEFAULT]

After changing the mirror try to run

[code]emerge --newuse --sync
[/code]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
#sync-uri = rsync://rsync11.de.gentoo.org/gentoo-portage
sync-uri = rsync://rsync.de.gentoo.org/gentoo-portage/
auto-sync = yes


and also on the software running on your computer.
Back to top
View user's profile Send private message
Arvo
n00b
n00b


Joined: 30 Sep 2019
Posts: 8

PostPosted: Wed Oct 02, 2019 4:01 pm    Post subject: Reply with quote

Quote:
Okay, which mirrorselect-command did you run?

- I ran
Code:
mirrorselect -i -o >> /etc/portage/make.conf


Quote:
And what is the output of ..make.conf

The same servers as I previously listed.

Quote:
Maybe just try to set ...

OpenPGP keyring refresh still fails.


Thank you so much for taking attention for my issue.


Running
Code:
(chroot) gentoo / # cat /etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes

# for daily squashfs snapshots
#sync-type = squashdelta
#sync-uri = mirror://gentoo/../snapshots/squashfs


Could the Issue be fixed by changing the sync-openpgp-keyserver value?
Back to top
View user's profile Send private message
Prof. Frink
Apprentice
Apprentice


Joined: 07 Jan 2017
Posts: 176

PostPosted: Wed Oct 02, 2019 4:09 pm    Post subject: Reply with quote

Maybe your

Code:
gentoo-release.asc


is broken somehow. I have no idea how this could be the case and probably this is not the case. But you could try to replace it after doing a backup from it.

But it's better if someone who know better about this, answers this question.

Good Luck :)
Back to top
View user's profile Send private message
Arvo
n00b
n00b


Joined: 30 Sep 2019
Posts: 8

PostPosted: Wed Oct 02, 2019 5:18 pm    Post subject: Reply with quote

Good news! I found the solution!
The problem was already addressed here in the forums :oops: . I don't know why I didn't find it earlier.
Thank you for your help prof link. I truly appreciate it.

https://forums.gentoo.org/viewtopic-t-1100202-postdays-0-postorder-asc-start-0.html
Josef.95 wrote:
wenzi wrote:
I install gentoo follow the wiki, at this step emerge-webrsync,it's OK but emerge --sync, I get this error
OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://keys.gentoo.org
gpg: keyserver refresh failed: General error
sorry for my poor English.


Hi,
rebuild the net-libs/gnutls package should probably help, see Bug 690760

Code:
emerge -av --oneshot net-libs/gnutls


For the record, I used the stage3 systemd tarball.
Code:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20190928/systemd/stage3-amd64-systemd-20190928.tar.bz2
Back to top
View user's profile Send private message
Prof. Frink
Apprentice
Apprentice


Joined: 07 Jan 2017
Posts: 176

PostPosted: Wed Oct 02, 2019 5:22 pm    Post subject: Reply with quote

Okay,. nice.
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