
Code: Select all
FTP_PROXY="http://10.0.0.1:3328"
HTTP_PROXY="http://10.0.0.1:3328"
I dont think so,because many of my friends use gentoo.......btw,how do we check whether the rsync port is blocked or not? which port does it correspond?(then,i may use nmap)Lasitus wrote:Are you behind a firewall that is blocking the rsync port? I get a similar message at work and have to use emerge-webrsync.

Code: Select all
metadata/
metadata/cache/net-irc/
metadata/cache/net-mail/
metadata/cache/sci-biology/
metadata/dtd/
metadata/glsa/
net-irc/dircproxy/
net-mail/getmail/
sci-biology/bioperl/
sys-kernel/gentoo-dev-sources/
sys-kernel/xbox-sources/
rsync: connection unexpectedly closed (2407943 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...
Code: Select all
mirrirselect -rCode: Select all
mirrirselect -a -D -s4 -b10 -oCode: Select all
sys-kernel/xbox-sources/Manifest
2080 100% 0.00kB/s 0:00:00
rsync: connection unexpectedly closed (2439381 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...
Code: Select all
nano -w /etc/hosts
140.211.166.165 rsync.gentoo.org <--- add this line in there.
It burfs at a different point this time, but in the same way:DrWoland wrote:Try this:Code: Select all
nano -w /etc/hosts 140.211.166.165 rsync.gentoo.org <--- add this line in there.
Code: Select all
x11-themes/ximian-artwork/ximian-artwork-0.2.29.0.6.3.ebuild
1964 100% 0.00kB/s 0:00:00
rsync: connection unexpectedly closed (2352821 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
>>> retry ...
Code: Select all
ifconfig eth0 mtu 1400
It's not really recommended to hardset an IP in /etc/hosts like that. Chances are that you'll forget that it is set there and you'll have issues later on what that particular IP address is removed from our rsync rotation.DrWoland wrote:Try this:Code: Select all
nano -w /etc/hosts 140.211.166.165 rsync.gentoo.org <--- add this line in there.
Code: Select all
receiving file list ...
107789 files to consider
rsync: connection unexpectedly closed (2383787 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
Code: Select all
xfce-extra/xfwm4-themes/files/
rsync: connection unexpectedly closed (2535466 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
rsync: connection unexpectedly closed (7816 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)
cleaning up
transferring metadata/cache
Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
..................
skipping sync

Code: Select all
receiving file list ...
107803 files to consider
io timeout after 31 seconds - exiting
rsync error: timeout in data send/receive (code 30) at io.c(153)
Code: Select all
x11-libs/gtk+/files/
x11-misc/
x11-plugins/
x11-terms/
x11-themes/
x11-wm/
x11-wm/fluxbox/files/
rsync: connection unexpectedly closed (2493834 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
>>> retry ...
emerge sync
>>> starting rsync with rsync://204.89.193.10/gentoo-portage...
>>> checking server timestamp ...
rsync: failed to connect to 204.89.193.10: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(94)
>>> retry ...
Code: Select all
This machine is also called rsync24.us.gentoo.org
receiving file list ...
107804 files to consider
rsync error: timeout in data send/receive (code 30) at io.c(153)
rsync: connection unexpectedly closed (2494920 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
rsync: connection unexpectedly closed (2494920 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
Code: Select all
emerge info
Portage 2.0.51-r13 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0
, 2.6.10-gentoo-r3 i686)
=================================================================
System uname: 2.6.10-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.8
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 18 2004, 01:28:51)]
dev-lang/python: 2.3.4
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r2
sys-devel/libtool: 1.5.10-r2
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=pentium3 -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-a
ddr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar
e/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium3 -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce
-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrr.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.ri.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib, acl, aim, alsa, apm arts arts, audiofile, avi avi, berkdb berkdb,bitmap-fonts cdr cdr, crypt cups dga, directfb, divx4linux, doc, dvd, encode enode, esd f77 fam fbcon, flac flac, font-server foomaticdb fortran ftp, gd, gdbmgdbm, ggi, gif gif, ginac, gnome gpm gpm, gstreamer, gtk gtk, gtk2 gtk2, imagemgick imap, imlib imlib, ipv6 java, jpeg jpeg, kde kde, libg++ libg++, libwww liwww, mad mad, mikmod mime, mmx, mng, motif mpeg mpeg, mpi, nas, ncurses ncurses nls nls, odbc, offensive, oggvorbis oggvorbis, opengl opengl, oscar, oss pam pflib pdflib, perl png png, python python, qt qt, quicktime quicktime, readlineeadline, recode, ruby, samba, sasl, sdl sdl, slang slang, spell spell, sse, sslssl, svg, svga svga, tcltk, tcpd tcpd, tetex, tiff tiff, truetype truetype, trutype-fonts type1-fonts unicode, videos, wmf, x86 x86, xml, xml2 xml2, xmms xmms xsl, xv xv, xvid, zlib zlib,"
Unset: LDFLAGS, PORTDIR_OVERLAY