- Running emerge --sync
Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
- Using keys from /usr/share/openpgp-keys/gentoo-release.asc
- Refreshing keys via WKD ... [ ok ]
Starting rsync with rsync://[2a00:1828:a00d:ffff::6]/gentoo-portage...
Checking server timestamp ...
rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(276) [Receiver=3.2.3]
Retrying...
gentoo更新的时候总是报错一个v6地址连不上,后来搜了下发现配置文件在/usr目录下,给替换成国内源就好了
vim /usr/share/portage/config/repos.conf
# 将sync-uri地址换成
sync-uri = rsync://rsync.cn.gentoo.org/gentoo-portage/
标签:...,rsync,gentoo,portage,sync,更新,报错
From: https://www.cnblogs.com/hfww/p/17832881.html