Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21186 - portage rsync issue - emerge sync fails with Unknown module '*' error from rsync, and won't update /usr/portage
Summary: portage rsync issue - emerge sync fails with Unknown module '*' error from rs...
Status: RESOLVED INVALID
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 09:19 UTC by Tom Molesworth
Modified: 2003-05-18 11:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Molesworth 2003-05-18 09:19:48 UTC
Can't do an "emerge sync" any more:

arrakis:~# emerge sync
   >>> starting rsync with rsync://rsync.de.gentoo.org...
stats since May 12 20:26:57 
read      : 499829140	(476.674 Mb)
wrote     : 12633827238	(12048.557 Mb)
total     : 13133656378	(12525.231 Mb)
hits      : 5460		(2349 Kb/hit)

@ERROR: Unknown module '*'
rsync: connection unexpectedly closed (214 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)


>>> Starting retry 1 of 3

(same happens with rsync.uk.gentoo.org mirror, portage 2.0.47-r10 and latest
2.0.48-pre6 I had available).


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. change rsync mirrors in make.conf
3. try again and bang head against keyboard in frustration

Actual Results:  
@ERROR: Unknown module '*'
rsync: connection unexpectedly closed (214 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

every time, although the bytes read number changes (247, 214, etc).




arrakis:~# emerge info
  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http:
//gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /var/bind 
/usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mikmod mmx motif mpeg 
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm 
berkdb slang readline tetex aalib nas tcltk java guile mysql X sdl gpm tcpd pam 
libwww ssl perl python esd imlib oggvorbis gnome gtk qt opengl cdr canna cjk 
curl dga directfb doc dvd ethereal fbcon flash freewnn gb gd gtk2 gtkhtml imap 
junit ladcca mbox mozilla plotutils pnp samba sasl snmp tiff usb wmf Xaw3d xml 
-3dnow -arts -kde -svga"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O3"
CXXFLAGS="-march=pentium2 -O3"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org"
FEATURES="sandbox ccache distcc"

arrakis:~# emerge -s rsync
  Searching...   
[ Results for search key : rsync ]
[ Applications found : 4 ]
 
*  app-admin/gentoo-rsync-mirror
      Latest version available: 1.0-r2
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 0 kB
      Homepage:    http://www.gentoo.org/doc/en/rsync.xml
      Description: Ebuild for setting up an gentoo rsync mirror

*  net-fs/intersync
      Latest version available: 0.9.5
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 481 kB
      Homepage:    http://www.inter-mezzo.org
      Description: Intermezzo is an advanced replicating networked filesystem.

*  net-libs/librsync
      Latest version available: 0.9.5
      Latest version installed: 0.9.5
      Size of downloaded files: 262 kB
      Homepage:    http://www.sourceforge.net/projects/rproxy/
      Description: Flexible remote checksum-based differencing

*  net-misc/rsync
      Latest version available: 2.5.6-r1
      Latest version installed: 2.5.6-r1
      Size of downloaded files: 570 kB
      Homepage:    http://rsync.samba.org/
      Description: File transfer program to keep remote files into sync

and...

*  sys-apps/portage
      Latest version available: 2.0.47-r10
      Latest version installed: 2.0.48_pre6
      Size of downloaded files: 176 kB
      Homepage:    http://www.gentoo.org
      Description: Portage ports system

(tried with both these versions, both fail).

Another system with 2.0.48_pre6 works fine.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2003-05-18 09:41:23 UTC
your SYNC variable is set incorrectly in /etc/make.conf.  Correct that and it will work.  (check install guide, forums, etc. for examples)

closing as invalid.
Comment 2 Tom Molesworth 2003-05-18 11:12:31 UTC
ack - checked on the forum, correct setting should be "rsync://rsync.CC.gentoo.org/gentoo-portage". also, only one mirror can be specified, unlike the distfiles line. thanks for the help.