Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge --sync fails...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 367

PostPosted: Tue Aug 06, 2019 2:55 pm    Post subject: [SOLVED] emerge --sync fails... Reply with quote

Since yesterday I no longer can "emerge --sync" in one of my computers. I get this error:

Code:

~> sudo 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

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

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

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



I read somewhere that performing a "emerge-webrsync" would solve the issue but for now I got nothing. As you can see "emerge-webrsync" returns no erros but the issue persists:

Code:

~> sudo emerge-webrsync
Fetching most recent snapshot ...
Trying to retrieve 20190805 snapshot from https://gentoo.c3sl.ufpr.br ...
Fetching file portage-20190805.tar.xz.md5sum ...
Fetching file portage-20190805.tar.xz.gpgsig ...
Fetching file portage-20190805.tar.xz ...
Checking digest ...
Getting snapshot timestamp ...
Syncing local tree ...

Number of files: 162,340 (reg: 135,053, dir: 27,287)
Number of created files: 211 (reg: 197, dir: 14)
Number of deleted files: 124 (reg: 123, dir: 1)
Number of regular files transferred: 580
Total file size: 220.26M bytes
Total transferred file size: 6.81M bytes
Literal data: 6.81M bytes
Matched data: 0 bytes
File list size: 393.16K
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 9.68M
Total bytes received: 46.04K

sent 9.68M bytes  received 46.04K bytes  925.86K bytes/sec
total size is 220.26M  speedup is 22.66
Cleaning up ...
~>



Thank you all for your attention.


Last edited by vcmota on Tue Aug 20, 2019 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


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

PostPosted: Tue Aug 06, 2019 3:04 pm    Post subject: Reply with quote

We already had a thread about this yesterday: https://forums.gentoo.org/viewtopic-t-1100202-highlight-.html

My suggestion: https://forums.gentoo.org/viewtopic-p-8358476.html#8358476
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4584
Location: Germany

PostPosted: Wed Aug 14, 2019 4:43 am    Post subject: Reply with quote

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

Code:
emerge -av1 net-libs/gnutls
Back to top
View user's profile Send private message
vcmota
Guru
Guru


Joined: 19 Jun 2017
Posts: 367

PostPosted: Thu Aug 15, 2019 2:01 pm    Post subject: Reply with quote

Yes Josef.95, it works! Thank you very much! I am glad it was just a simple bug, because it was starting to look ugly...
Back to top
View user's profile Send private message
DancesWithWords
Guru
Guru


Joined: 29 Jun 2002
Posts: 347
Location: ottawa, canada

PostPosted: Tue Sep 03, 2019 10:52 am    Post subject: Reply with quote

Josef.95 wrote:
Hi,
rebuild the net-libs/gnutls package should probably help, see Bug 690760

Code:
emerge -av1 net-libs/gnutls


Thanks for this post. Fixed my issue as well.
Back to top
View user's profile Send private message
knecht
n00b
n00b


Joined: 28 Oct 2010
Posts: 17

PostPosted: Fri Oct 18, 2019 6:40 pm    Post subject: Reply with quote

Also fixed my problem by reemerge gnutls, thanks :)
_________________
occupy your mind
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2066
Location: San Jose, CA

PostPosted: Sat Mar 07, 2020 4:58 pm    Post subject: Reply with quote

For those who find this thread via google because their emerge --sync is freezing at this line: " * Refreshing keys via WKD ..."

I have a problem with my VPN connection and NetworkManager. In order to connect I had to run nm-cli (because the GUI under KDE didn't work), then I tried to disconnect using the GUI and my network connection died.

So if your system freezes at Refreshing keys via WKD ... you should check internet connectivity by doing a simple: 'ping www.yahoo.com'. No ping, means no internet, means emerge --sync won't work.
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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