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
cfgauss
l33t
l33t


Joined: 18 May 2005
Posts: 688
Location: USA

PostPosted: Sat Oct 18, 2014 3:35 am    Post subject: [SOLVED] emerge --sync fails Reply with quote

My emerge --sync fails with this error message repeated 10 times with different IP addresses:
Code:
>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [Receiver=3.1.1]
>>> Starting rsync with rsync://216.165.129.134/gentoo-portage...
>>> Checking server timestamp ...
timed out
>>> Retrying...

>>> Starting retry 1 of 10 with rsync://134.161.116.17/gentoo-portage
rsync: failed to connect to 134.161.116.17 (134.161.116.17): Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]
>>> Checking server timestamp ...
>>> Retrying...

My SYNC and GENTOO_MIRRORS variables in /etc/portage/make.conf have been commented out. What remains is sync-uri = rsync://rsync.us.gentoo.org/gentoo-portage in /etc/portage/repos.conf/gentoo.conf.

This is a new problem. All I changed was the commenting out of the /etc/portage/make.conf variables (for testing).

Any pointers will be gratefully received.

[SOLVED] tw04l124 suggested emerge-webrsync and that worked. Also, today emerge --sync worked as well, for the first time in a few weeks. [/SOLVED]


Last edited by cfgauss on Sat Nov 01, 2014 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sat Oct 18, 2014 6:16 pm    Post subject: Reply with quote

maybe try emerge-webrysnc

is your network set up correct? can you ping out in the www?

you definitely need mirrors in make.conf
for europe:
Code:
GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp.first-world.info/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/  ftp://ftp.vectranet.pl/gentoo/ http://distfiles.gentoo.org/   ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"


post your make.conf and emerge --info to a pastebin and post the links here, thanks
Back to top
View user's profile Send private message
cfgauss
l33t
l33t


Joined: 18 May 2005
Posts: 688
Location: USA

PostPosted: Sat Oct 18, 2014 11:28 pm    Post subject: Reply with quote

tw04l124 wrote:
maybe try emerge-webrysnc

This worked. Many thanks. I'm still a bit curious why the "normal" sync failed.

tw04l124 wrote:
is your network set up correct? can you ping out in the www?

I can ping the normal www boxes. E.g. google.com is 29 ms away.
tw04l124 wrote:
you definitely need mirrors in make.conf

I used mirrorselect to select the three closest and put them into /etc/portage/make.conf.
tw04l124 wrote:
post your make.conf and emerge --info to a pastebin and post the links here, thanks

Here's emerge --info and make.conf.

Thanks for your help.
Back to top
View user's profile Send private message
jackb_guppy
n00b
n00b


Joined: 20 May 2014
Posts: 10

PostPosted: Sun Oct 19, 2014 1:13 am    Post subject: Reply with quote

Thank you for this post. I too was having the same issue. It was the first time I --sync'd in a month. emerge-webrsync running as I type. Machine is C6 processor 200MHz from 1999 era, takes a while no matter what. :lol:

Code:
gentoo ~ # emerge --sync
>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
>>> Starting rsync with rsync://91.186.30.235/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 1 of 2 with rsync://140.211.166.189/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...
Back to top
View user's profile Send private message
cfgauss
l33t
l33t


Joined: 18 May 2005
Posts: 688
Location: USA

PostPosted: Sun Oct 19, 2014 3:16 am    Post subject: Reply with quote

jackb_guppy wrote:
Code:
gentoo ~ # emerge --sync
>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
>>> Starting rsync with rsync://91.186.30.235/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...


>>> Starting retry 1 of 2 with rsync://140.211.166.189/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [Receiver=3.0.9]
>>> Retrying...

These are my symptoms as well. I had thought it might be my network, emerge or rsync but it appears the problem is more widespread.

Thanks for your post.
Back to top
View user's profile Send private message
woodshop
n00b
n00b


Joined: 15 Feb 2004
Posts: 34

PostPosted: Sun Oct 19, 2014 6:31 am    Post subject: Reply with quote

Code:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [Receiver=3.1.1]
rsync: did not see server greeting
rsync error: error starting client-server protocol (code 5) at main.c(1635) [Receiver=3.1.1]
rsync: failed to connect to 2001:470:ea4a:1:225:90ff:fe02:16e5 (2001:470:ea4a:1:225:90ff:fe02:16e5): Network is unreachable (101)
rsync error: error in socket IO (code 10) at clientserver.c(128) [Receiver=3.1.1]
!!! Exhausted addresses for rsync.gentoo.org


My nightly script has been spitting this out on and off for the last week.
Some nights it works others i get the above error in my inbox.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Oct 19, 2014 9:33 am    Post subject: Reply with quote

emerge web-rsync is more secure anyway and recommendend unoffically.

It could be a blocked port on any hop to the server
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21624

PostPosted: Sun Oct 19, 2014 2:44 pm    Post subject: Reply with quote

tw04l124 wrote:
emerge web-rsync is more secure anyway and recommendend unoffically.
Snapshots downloaded by webrsync can be signed, but unless the user requests signature checking and provides the right keys, the signature is not checked. Is there some security benefit that is enabled by default?
Back to top
View user's profile Send private message
jackb_guppy
n00b
n00b


Joined: 20 May 2014
Posts: 10

PostPosted: Sun Oct 19, 2014 3:36 pm    Post subject: Reply with quote

cfgauss wrote:

These are my symptoms as well. I had thought it might be my network, emerge or rsync but it appears the problem is more widespread.

I too went down that path. Just changed out my desktop network switch for wireless router that I am working on for another project. Though it was the problem especially since it WRT1900ac had crashed. I was thinking i-opener was the "new" thing in the test since I had just powered it on. The i-opener (C6/200Mhz) is connected via its single USB1 (yes 1) then to a 10baseT Ethernet adaptor. I was chasing down that the slow network connection plugged into router was the cause of the problem. It wasn't, but it took a while to figure that out.
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