gentoo emerge unable to sync

gentoo emerge unable to sync

Author: Tubo

After setting SYNC to customized URL:

SYNC="rsync://mirrors.stuhome.net/gentoo"

emerge –sync always reports error:

rsync: change_dir "/metadata" (in gentoo) failed: No such file or directory

After google, it turns out that the url which was coppied from http://www.gentoo.org/main/en/mirrors-rsync.xml was wrong, as golagoda said at: http://forums.gentoo.org/viewtopic-t-902498-start-0.html: "On most portage mirrors it's gentoo-portage not gentoo, so you might want to try that."

And updating SYNC to

SYNC="rsync://mirrors.stuhome.net/gentoo-portage"

fixed this issue.

原文地址:https://www.cnblogs.com/yangyingchao/p/3393171.html