View previous topic :: View next topic |
Author |
Message |
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Sun Jul 08, 2018 10:15 am Post subject: Why do I get conection refused each time I try to sync |
|
|
I have had this problem for a while now, and it seems like it occurs just about every time I go to sync the portage tree. This is getting so annoying I wish that I could get some help in figuring it out since I can't seem to understand what would be causing such messages to happen.
Code: | Machine_West% sudo eix-sync
* Running emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
* Using keys from /usr/share/openpgp-keys/gentoo-release.asc
* Refreshing keys from keyserver ...OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Connection refused
OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Connection refused
OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Connection refused
OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Connection refused
OpenPGP keyring refresh failed:
gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Connection refused
|
Usually the solution is just to run the command again after checking to make sure the internet connection is working correctly. I don't know why that works either but usually does.
Update: After noticing another thread with very similar stuff I posted there as well about the possible causes for my issue that thread is the following one, https://forums.gentoo.org/viewtopic-p-8238410.html#8238410
As another potential helpful point it would be great to know how to log the process of emerge --sync command if possible so I could afterwards take a look, if it doesn't already exist somewhere on the system or else may just need to be added in the environment some way? |
|
Back to top |
|
|
Erdie Advocate
Joined: 20 May 2004 Posts: 2576 Location: Heidelberg - Germany
|
Posted: Tue Jul 10, 2018 7:40 am Post subject: |
|
|
I got this problem a lot of times - until I disabled the feature. This is not the best solution but finally it makes it possible to continue the update. _________________ Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Jul 10, 2018 11:02 am Post subject: Re: Why do I get conection refused each time I try to sync |
|
|
LIsLinuxIsSogood wrote: | As another potential helpful point it would be great to know how to log the process of emerge --sync command if possible so I could afterwards take a look, if it doesn't already exist somewhere on the system or else may just need to be added in the environment some way? |
LIsLinuxIsSogood ... are you using 'sync-type = rsync'? If so then I expect you can do the following:
/etc/portage/repos.conf: | sync-rsync-extra-opts = --log-file=/var/log/portage/sync.log |
You might want this rotated via app-admin/logrotate ...
HTH & best ... khay |
|
Back to top |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Sun Jul 15, 2018 7:56 am Post subject: |
|
|
Thanks to everyone, I was able to disable the featuer and turn on the logging for the future in case I decide to include it back in there at a later time. It is so great that the forum is here to answer these kind of quirky situations about the situation with some of the routine procedures for the operating system.
Now that I have the sync log working, I just ran sync and looing at sync.log it may be time to reinstall portage with rsync-verify USE flag and see what's going on there. I assume that whatever it is though is something that other devs and maintainers are sort of aware of already so I may just wait after all.
Anyway thanks to everyone! Khayyam and also Erdie |
|
Back to top |
|
|
|