1 |
You just need to use Gentoo's built-in script from gentoolkit. |
2 |
|
3 |
Just run: |
4 |
|
5 |
# etc-update |
6 |
|
7 |
And overwrite the current config file you have (trust me, it's safe). |
8 |
|
9 |
On 7/5/18, Grant Edwards <grant.b.edwards@×××××.com> wrote: |
10 |
> As of today, I seem to be unable to a an "emerge --sync". |
11 |
> |
12 |
> The process either hangs forever at the "Refreshing keys from keyserver |
13 |
> step: |
14 |
> |
15 |
> # emerge --sync |
16 |
> >>> Syncing repository 'gentoo' into '/usr/portage'... |
17 |
> * Using keys from /usr/share/openpgp-keys/gentoo-release.asc |
18 |
> * Refreshing keys from keyserver ... |
19 |
> |
20 |
> Or, it fails because there are no public key to verify a manfest: |
21 |
> |
22 |
> # emerge --sync |
23 |
> >>> Syncing repository 'gentoo' into '/usr/portage'... |
24 |
> * Using keys from /usr/share/openpgp-keys/gentoo-release.asc |
25 |
> * Refreshing keys from keyserver ... |
26 |
> [ ok ] |
27 |
> >>> Starting rsync with rsync://156.56.247.193/gentoo-portage... |
28 |
> [...] |
29 |
> receiving incremental file list |
30 |
> timestamp.chk |
31 |
> |
32 |
> Number of files: 1 (reg: 1) |
33 |
> [...] |
34 |
> sent 109 bytes received 1.15K bytes 838.00 bytes/sec |
35 |
> total size is 32 speedup is 0.03 |
36 |
> --------------------------------------------------------- |
37 |
> [...] |
38 |
> receiving incremental file list |
39 |
> metadata/timestamp.chk |
40 |
> |
41 |
> Number of files: 161,932 (reg: 134,486, dir: 27,446) |
42 |
> [...] |
43 |
> sent 27.56K bytes received 4.04M bytes 626.31K bytes/sec |
44 |
> total size is 218.65M speedup is 53.71 |
45 |
> !!! Manifest verification failed: |
46 |
> OpenPGP verification failed: |
47 |
> gpg: Signature made Thu 05 Jul 2018 06:38:32 PM UTC |
48 |
> gpg: using RSA key |
49 |
> E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250 |
50 |
> gpg: Can't check signature: No public key |
51 |
> |
52 |
> q: Updating ebuild cache in /usr/portage ... |
53 |
> q: Finished 35635 entries in 0.141629 seconds |
54 |
> |
55 |
> * IMPORTANT: config file '/etc/ssh/sshd_config' needs updating. |
56 |
> * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS |
57 |
> * sections of the emerge man page to learn how to update config files. |
58 |
> |
59 |
> Action: sync for repo: gentoo, returned code = 1 |
60 |
> |
61 |
> I've found all sorts of recipes to try to fix this for webrsync users |
62 |
> but I use plain-old "emerge --sync". |
63 |
> |
64 |
> I also found a recipe that appears to recommend you completely wipe |
65 |
> portage and reinstall it from scratch using a snapshot. Is that |
66 |
> seriously what we're supposed to do? |
67 |
> |
68 |
> -- |
69 |
> Grant |
70 |
> |
71 |
> |
72 |
> |