Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] keyserver refresh failed: General error

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Arvo
n00b
n00b
Posts: 9
Joined: Mon Sep 30, 2019 5:53 pm

[SOLVED] keyserver refresh failed: General error

  • Quote

Post by Arvo » Wed Oct 02, 2019 2:11 pm

Hi,

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

Code: Select all

(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.
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Wed Oct 02, 2019 3:10 pm

Jo,

what does

Code: Select all

 emerge --info | grep GENTOO_MIRRORS
say?
Top
Arvo
n00b
n00b
Posts: 9
Joined: Mon Sep 30, 2019 5:53 pm

  • Quote

Post by Arvo » Wed Oct 02, 2019 3:36 pm

It lists servers from Germany and Sweden (which I chose with mirrorselect).

Code: Select all

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"
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Wed Oct 02, 2019 3:42 pm

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

Code: Select all

mirrorselect -a
And what is the output of

Code: Select all

grep GENTOO_MIRRORS /etc/portage/make.conf
Maybe just try to set

Code: Select all

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: Select all

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

After changing the mirror try to run

[code]emerge --newuse --sync
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
[/code]

and also on the software running on your computer.
Top
Arvo
n00b
n00b
Posts: 9
Joined: Mon Sep 30, 2019 5:53 pm

  • Quote

Post by Arvo » Wed Oct 02, 2019 4:01 pm

Okay, which mirrorselect-command did you run?
- I ran

Code: Select all

mirrorselect -i -o >> /etc/portage/make.conf
And what is the output of ..make.conf
The same servers as I previously listed.
Maybe just try to set ...
OpenPGP keyring refresh still fails.


Thank you so much for taking attention for my issue.


Running

Code: Select all

(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?
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Wed Oct 02, 2019 4:09 pm

Maybe your

Code: Select all

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 :)
Top
Arvo
n00b
n00b
Posts: 9
Joined: Mon Sep 30, 2019 5:53 pm

  • Quote

Post by Arvo » Wed Oct 02, 2019 5:18 pm

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.

viewtopic-t-1100202-postdays-0-postorde ... art-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: Select all

emerge -av --oneshot net-libs/gnutls
For the record, I used the stage3 systemd tarball.

Code: Select all

http://distfiles.gentoo.org/releases/amd64/autobuilds/20190928/systemd/stage3-amd64-systemd-20190928.tar.bz2
Top
Prof. Frink
Apprentice
Apprentice
Posts: 176
Joined: Sat Jan 07, 2017 5:46 pm

  • Quote

Post by Prof. Frink » Wed Oct 02, 2019 5:22 pm

Okay,. nice.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic