Christoph Gysin schreef:
> maxim wexler wrote:
> 
>>Yes, thanks, emerge --sync is awesome! But must it run
>>so long? I started more than an hour ago and it's
>>still churning away. I noticed it started another
>>server(went from Xeon to P4) and kept on going. Does
>>it know enough to stop? Is it repeating itself? At
>>some point I'm going to need to use the phone; what'll
>>I do then?
> 
> 
> You can safely abort emerge sync with Ctrl-C while it is syncing with the 
> remote
> server. It will continue updating your tree the next time it gets invoked.
> After the sync, while updating the portage cache (no network needed for this)
> you could suspend it from your shell witch Ctrl-Z. Resume it with 'fg'
> 
> Christoph

But isn't

emerge --sync

a different command from the more traditional

emerge sync

?

And could that be causing the problem?

If not, my questions would be

1) What is the speed of your Internet connection?
2) What is your geographical location?
3) What mirrors are you setting in /etc/make.conf?

On my PC (AthlonXP 2200+, ADSL via LAN, located in the Netherlands and
using the Europe mirrors to sync via
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"), an emerge sync
takes about... just a minute, I'll do one now and tell you in a minute....

10 minutes:

Tue 05/31/05 15:05
/usr/local
[EMAIL PROTECTED] -> emerge sync
________________________________________________________________________________

cfg-update 1.7.1 : Building checksum index... (takes a few seconds)  done!
________________________________________________________________________________

>>> starting rsync with rsync://140.105.134.102/gentoo-portage...
>>> checking server timestamp ...
-----------------------------------------------------------------
                                             .*.
               /  University of Trieste  \   /V\
               /  Department of Physics  \  (/ \)
               /      Trieste, Italy     \  (   )
                                            ^^_^^

                Welcome to rsync1.it.gentoo.org
-----------------------------------------------------------------
Intel Pentium IV 3.06Ghz
2GB Ram, IBM xSeries 205

max simultaneous connections : 10
max daily connections        : 5 per IP address

-----------------------------------------------------------------
For any communication about this mirror please contact
                                                 [EMAIL PROTECTED]
-----------------------------------------------------------------

receiving file list ...
1 file to consider
timestamp.chk
          32 100%    0.00kB/s    0:00:00

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 222
Total bytes read: 948

wrote 222 bytes  read 948 bytes  780.00 bytes/sec
total size is 32  speedup is 0.03
-----------------------------------------------------------------
                                             .*.
               /  University of Trieste  \   /V\
               /  Department of Physics  \  (/ \)
               /      Trieste, Italy     \  (   )
                                            ^^_^^

                Welcome to rsync1.it.gentoo.org
-----------------------------------------------------------------
Intel Pentium IV 3.06Ghz
2GB Ram, IBM xSeries 205

max simultaneous connections : 10
max daily connections        : 5 per IP address

-----------------------------------------------------------------
For any communication about this mirror please contact
                                                 [EMAIL PROTECTED]
-----------------------------------------------------------------

receiving file list ...
117192 files to consider
./
app-accessibility/gnopernicus/
app-admin/
app-admin/logrotate/
app-admin/modlogan/files/
app-admin/superadduser/files/
app-admin/sus/

<snip bulk of sync operation>

deleting app-cdr/cdrtools/cdrtools-2.01-r2.ebuild
deleting app-arch/dpkg/files/digest-dpkg-1.10.26
deleting app-arch/dpkg/dpkg-1.10.26.ebuild

Number of files: 117192
Number of files transferred: 1671
Total file size: 92305590 bytes
Total transferred file size: 3745266 bytes
Literal data: 3745266 bytes
Matched data: 0 bytes
File list size: 2594553
Total bytes written: 33600
Total bytes read: 4157651

wrote 33600 bytes  read 4157651 bytes  19270.12 bytes/sec
total size is 92305590  speedup is 22.02

>>> Updating Portage cache:  100%



Tue 05/31/05 15:14
/usr/local
[EMAIL PROTECTED] ->

I know I have a pretty fast connection (8000/1024), but even on dialup,
I can't see an hour or more being in any way normal, unless:

1) you have connection problems (firewall?)

2) you are conneting to a server with connection problems (server is
naturally slow, node between you and server experiencing problems)

3) 1 + 2 combined

4) you're syncing the entire mirror (as if you were a mirror yourself),
rather than just the tree.

Please correct me if I'm wrong, but I think there is something wrong
with your setup in some respect for an emerge sync to be taking that
long. Definitely *not* "the Gentoo way".

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to