Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Change keyserver used by portage?
Date: Mon, 02 Jul 2018 05:40:40
Message-Id: CAC=wYCF8ZLF6L_djxn3RvQbcfQEqjD_1W5uKoR_oTGx78_FKEQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Change keyserver used by portage? by Elijah Mark Anderson
1 > > > Anyone one know how I can change the keyserver address used by
2 > portage? I
3 > > > keep getting "no route to host" for hkps.pool.sks-keyservers.net when
4 > I
5 > > > sync.
6 > > What are you trying to do? Find the command being run and run it
7 > > manually while specifying --keyserver. Also file a bug report.
8 > >
9 > > I posted my last reply after pgp.mit.edu also failed. The URL you give
10 > > is obviously a key server pool, but it looks like MIT's may be also
11 > > (without inspecting it). I retried on MIT's URL until the request went
12 > > through. If you can't change the URL then keep trying.
13 > >
14 > > The issue is, I think, that the pool will give you servers that don't
15 > > support HKP, but I have had this issue when contacting keyservers
16 > > directly.
17 > >
18 > > Cheers,
19 > > R0b0t1
20 >
21 > Currently, portage is using that pool url when I run emaint's sync module.
22 > I
23 > keep getting the "no route to host" error from it, and no indication what
24 > server it's actually being directed to.
25 >
26 > What I want to do is reconfigure portage to use a particular server that I
27 > know
28 > is reliable.
29 >
30
31 Looks like its using multiple A records;
32
33 $ host hkps.pool.sks-keyservers.net
34 hkps.pool.sks-keyservers.net has address 18.9.60.141
35 hkps.pool.sks-keyservers.net has address 18.191.65.131
36 hkps.pool.sks-keyservers.net has address 37.191.226.104
37 hkps.pool.sks-keyservers.net has address 92.43.111.21
38 hkps.pool.sks-keyservers.net has address 193.164.133.100
39 hkps.pool.sks-keyservers.net has address 216.66.15.2
40 hkps.pool.sks-keyservers.net has IPv6 address 2001:470:1:116::6
41 hkps.pool.sks-keyservers.net has IPv6 address 2600:1f16:41e:bd0a::73:6b73
42 hkps.pool.sks-keyservers.net has IPv6 address
43 2a01:4a0:59:1000:223:9eff:fe00:100f
44 hkps.pool.sks-keyservers.net has IPv6 address 2a02:c205:3001:3626::1
45
46 For an ugly hack you could test these to find one that works, then add that
47 one to your /etc/hosts file.
48
49 Perhaps there's a hostmaster@××××××××××××××××××××××××.net you could notify
50 to fix it?

Replies

Subject Author
Re: [gentoo-user] Change keyserver used by portage? Elijah Mark Anderson <mark@××××××.name>