From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-199347-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3AE1E158094
	for <garchives@archives.gentoo.org>; Sun, 31 Jul 2022 20:54:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D25A52BC028;
	Sun, 31 Jul 2022 20:53:59 +0000 (UTC)
Received: from s1.swsch.de (s1.swsch.de [IPv6:2a01:4f8:a0:8074::2])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4E885E0FB9
	for <gentoo-user@lists.gentoo.org>; Sun, 31 Jul 2022 20:53:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xss.de;
	s=s1; h=Content-Type:MIME-Version:Subject:To:Message-ID:From:Date:
	Content-Transfer-Encoding:Sender:Reply-To:Cc;
	bh=50IlJOvozk9t2e1ckqxhWmm9UiuiIV+kpdgicg+ulpw=; b=P6sT6Lue4P4kjM4+WUekY4GhAB
	GpOieRjqqO/ampE7UADWyawXRKdRh+chh7RnN5ShCTqhv5+z4Ht380QFvPtpmHe5gPlM1+6ggn0bR
	FMqld2X/5U0nWZmoFlW27sEq5mb4pzEtIdkI56GAAA3mEMfWOcJ7kZEzVSPU3aelOVBg=;
Received: from [2003:d4:471a:d00:1dd4:1406:4df7:3cd5] (helo=pc-dev.fritz.box)
	by s1.swsch.de with esmtpsa  (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.94.2)
	(envelope-from <s@xss.de>)
	id 1oIFwh-0002Og-So; Sun, 31 Jul 2022 22:53:56 +0200
Date: Sun, 31 Jul 2022 22:53:54 +0200
From: Stefan Schmiedl <s@xss.de>
Message-ID: <2610075503.20220731225354@xss.de>
To: n952162 <n952162@web.de>, gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] --sync
In-Reply-To: <8460ad3e-b28e-1d14-0600-1fdccbf21667@web.de>
References: <8460ad3e-b28e-1d14-0600-1fdccbf21667@web.de>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----------0F41750C637E3BCCA"
X-Scan-Signature: 74ae1d923085e543e9910bf475e43f0b
X-Archives-Salt: a6859aed-aff7-4f5f-b41a-25934f39add9
X-Archives-Hash: 029e3e61e566daa45b1076ede161e410

------------0F41750C637E3BCCA
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

=0D=0ASonntag, 31. Juli 2022 21:51:
=C2=A0
> I've been running gentoo for years now, and every time I go to --sync,
> it's really a painful process.

> The process can take *very* [long] before you find out if it succeeded or=
 not.
...

> It can take several hours before it finally works
=C2=A0
Use a tool like atop to get some info about the throughput
of your network connection. Something like "ss -ntp" might
show interesting info about the state of the connection=C2=A0
between your machine and the server, too.
=C2=A0
You might have problems with DNS name resolution or your
box patiently trying to establish an IPv6 connection when
your internet connection is IPv4 only.
=C2=A0
But switching to git, like Neil said, does make things faster.
=C2=A0
FWIW, my config file reads like this:
=C2=A0
# cat /etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo =3D gentoo

[gentoo]
location =3D /var/db/repos/gentoo
sync-type =3D git
sync-uri =3D=C2=A0https://github.com/gentoo-mirror/gentoo.git
auto-sync =3D yes
sync-git-verify-commit-signature =3D yes
sync-openpgp-key-path =3D /usr/share/openpgp-keys/gentoo-release.asc
=C2=A0
good luck,
s.

> It seems like a time-out problem.=C2=A0 Or maybe a memory problem ... In =
any
> case, it doesn't seem like it ought to be difficult to at least know
> what the problem is.

> Or?



------------0F41750C637E3BCCA
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head>                                                               =
                                                             <style type=3D=
"text/css" title=3D"rt_noDelete">
    blockquote.rt {
    margin: 0 0 15px;
    border-left: 4px solid #81c784;
    padding: 0 0 0 12px;
    display: block;
    }
    p { margin: 0 0 0 0 }
.email-signature {font-family:"Arial Narrow"; font-size: 10pt; font-style: =
italic; font-weight: normal; text-decoration: none; }
    </style><STYLE type=3D"text/css" title=3D"rt">BODY {margin: 10; font-fa=
mily:"Consolas"; font-size: 11pt; color: #000000}
P {margin: 0; font-family:"Consolas"; font-size: 11pt; color: #000000}
PRE.RFCheader {font-family:"Consolas"; font-size: 10pt; color: #B73A67}
.email-signature { color: #969696; font-style: italic;font-weight: normal;t=
ext-decoration: none }
A {color: #0066CC; link: #0066CC; font-style: normal;font-weight: normal;te=
xt-decoration: underline }
BLOCKQUOTE.Odd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; fo=
nt-style: italic;font-weight: bold;text-decoration: none }
BLOCKQUOTE.Even {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; f=
ont-style: italic;font-weight: bold;text-decoration: none }
.QOdd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; font-style:=
 normal;font-weight: normal;text-decoration: none }
.QEven {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; font-style=
: normal;font-weight: normal;text-decoration: none }
PRE {font-family:"Consolas"; font-size: 11pt; font-style: normal;font-weigh=
t: normal;text-decoration: none }
BODY {background-color: #FFFFFF}
</STYLE></head><body><xhtml><head>                                         =
                                                                           =
<style title=3D"rt_noDelete" type=3D"text/css">
    blockquote.rt {
    margin: 0 0 15px;
    border-left: 4px solid #81c784;
    padding: 0 0 0 12px;
    display: block;
    }
    p { margin: 0 0 0 0 }
.email-signature {font-family:"Arial Narrow"; font-size: 10pt; font-style: =
italic; font-weight: normal; text-decoration: none; }
    </style><style title=3D"rt" type=3D"text/css">BODY {margin: 10; font-fa=
mily:"Consolas"; font-size: 11pt; color: #000000}
P {margin: 0; font-family:"Consolas"; font-size: 11pt; color: #000000}
PRE.RFCheader {font-family:"Consolas"; font-size: 10pt; color: #B73A67}
.email-signature { color: #969696; font-style: italic;font-weight: normal;t=
ext-decoration: none }
A {color: #0066CC; link: #0066CC; font-style: normal;font-weight: normal;te=
xt-decoration: underline }
BLOCKQUOTE.Odd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; fo=
nt-style: italic;font-weight: bold;text-decoration: none }
BLOCKQUOTE.Even {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; f=
ont-style: italic;font-weight: bold;text-decoration: none }
.QOdd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; font-style:=
 normal;font-weight: normal;text-decoration: none }
.QEven {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; font-style=
: normal;font-weight: normal;text-decoration: none }
PRE {font-family:"Consolas"; font-size: 11pt; font-style: normal;font-weigh=
t: normal;text-decoration: none }
BODY {background-color: #FFFFFF}
</style></head><body>
    <p></p><p>Sonntag, 31. Juli 2022 21:51:<br/></p><p>&nbsp;</p><p><xhtml>=
<head>    <style title=3D"rt_noDelete" type=3D"text/css">
    blockquote.rt {
    margin: 0 0 15px;
    border-left: 4px solid #81c784;
    padding: 0 0 0 12px;
    display: block;
    }
    p { margin: 0 0 0 0 }
.email-signature {font-family:"Arial Narrow"; font-size: 10pt; font-style: =
italic; font-weight: normal; text-decoration: none; }
    </style><style title=3D"rt" type=3D"text/css">BODY {margin: 10; font-fa=
mily:"Consolas"; font-size: 11pt; color: #000000}
P {margin: 0; font-family:"Consolas"; font-size: 11pt; color: #000000}
PRE.RFCheader {font-family:"Consolas"; font-size: 10pt; color: #B73A67}
.email-signature { color: #969696; font-style: italic;font-weight: normal;t=
ext-decoration: none }
A {color: #0066CC; link: #0066CC; font-style: normal;font-weight: normal;te=
xt-decoration: underline }
BLOCKQUOTE.Odd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; fo=
nt-style: italic;font-weight: bold;text-decoration: none }
BLOCKQUOTE.Even {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; f=
ont-style: italic;font-weight: bold;text-decoration: none }
.QOdd {font-family:"Consolas"; font-size: 10pt; color: #9AA626; font-style:=
 normal;font-weight: normal;text-decoration: none }
.QEven {font-family:"Consolas"; font-size: 10pt; color: #50AF4C; font-style=
: normal;font-weight: normal;text-decoration: none }
PRE {font-family:"Consolas"; font-size: 11pt; font-style: normal;font-weigh=
t: normal;text-decoration: none }
BODY {background-color: #FFFFFF}
</style></head><xbody></xbody></xhtml></p><blockquote class=3D"Odd QOdd rt"=
 prefix=3D"&gt;&nbsp;">I've been running gentoo for years now, and every ti=
me I go to --sync,<br/>
it's really a painful process.</blockquote><p class=3D"norm"><br/></p><bloc=
kquote class=3D"Odd QOdd rt" prefix=3D"&gt;&nbsp;">The process can take *ve=
ry* [long] before you find out if it succeeded or not.</blockquote><p class=
=3D"norm">...<br/></p><p class=3D"norm"><br/></p><blockquote class=3D"Odd Q=
Odd rt" prefix=3D"&gt;&nbsp;">It can take several hours before it finally w=
orks</blockquote></body></xhtml><p>&nbsp;</p><p>Use a tool like atop to get=
 some info about the throughput</p><p>of your network connection. Something=
 like "ss -ntp" might</p><p>show interesting info about the state of the co=
nnection&nbsp;</p><p>between your machine and the server, too.</p><p>&nbsp;=
</p><p>You might have problems with DNS name resolution or your</p><p>box p=
atiently trying to establish an IPv6 connection when</p><p>your internet co=
nnection is IPv4 only.</p><p>&nbsp;</p><p>But switching to git, like Neil s=
aid, does make things faster.</p><p>&nbsp;</p><p>FWIW, my config file reads=
 like this:</p><p>&nbsp;</p><p># cat /etc/portage/repos.conf/gentoo.conf
</p><p>[DEFAULT]</p>
<p>main-repo =3D gentoo</p>
<p><br/></p>
<p>[gentoo]</p>
<p>location =3D /var/db/repos/gentoo</p>
<p>sync-type =3D git</p>
<p>sync-uri =3D&nbsp;<a href=3D"https://github.com/gentoo-mirror/gentoo.git=
">https://github.com/gentoo-mirror/gentoo.git</a></p>
<p>auto-sync =3D yes</p>
<p>sync-git-verify-commit-signature =3D yes</p>
<p>sync-openpgp-key-path =3D /usr/share/openpgp-keys/gentoo-release.asc</p>=
<p>&nbsp;</p><p>good luck,</p><p>s.</p><xhtml><body><blockquote class=3D"Od=
d QOdd rt" prefix=3D"&gt;&nbsp;"></blockquote><p class=3D"norm"><br/></p><b=
lockquote class=3D"Odd QOdd rt" prefix=3D"&gt;&nbsp;">It seems like a time-=
out problem.&nbsp; Or maybe a memory problem ... In any<br/>
case, it doesn't seem like it ought to be difficult to at least know<br/>
what the problem is.</blockquote><p class=3D"norm"><br/></p><blockquote cla=
ss=3D"Odd QOdd rt" prefix=3D"&gt;&nbsp;">Or?</blockquote><p class=3D"norm">=
<br/></p><p class=3D"norm"><br/></p></body></xhtml><br/><br/>
</body>
------------0F41750C637E3BCCA--