Effective STL 阅读笔记: Item 4 ~ 5: Call empty instead of checking size() against zero.
Effective STL 笔记: Item 6--Be alert for C++'s most vexing parse

gentoo emerge unable to sync

tubo posted @ 2014年9月03日 00:10 in 未分类 , 295 阅读

 

 

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.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter