Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 658592

Summary: sys-apps/portage-2.3.40: hangs for a long time on updating keys
Product: Gentoo Linux Reporter: Walter <walter>
Component: Current packagesAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: alexander, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 650144    

Description Walter 2018-06-20 17:22:28 UTC
Maybe because I am in China.

Would like one or more of these solutions:
 1. Shorter timeout
 2. Verbose debugging/errors
Comment 1 Walter 2018-06-20 17:27:35 UTC
PS. Original command was emerge --sync
Comment 2 Zac Medico gentoo-dev 2018-06-22 21:06:49 UTC
(In reply to Walter from comment #0)
> Would like one or more of these solutions:
>  1. Shorter timeout

We already have this /etc/portage/repos.conf setting for the key refresh step:

 sync-openpgp-key-refresh-retry-overall-timeout = 1200
      Combined time limit for all refresh attempts, in units of seconds.

>  2. Verbose debugging/errors

You may be able to increase dirmngr verbosity via /etc/gnupg/dirmngr.conf. What does the existing error look like? Maybe it's the same as bug 648586 or bug 647696.