🐧

GentooのPortageのアップデートをrsyncからgitにした

に公開

TL;DR

  1. 必要なパッケージを入れる
emerge --ask app-eselect/eselect-repository dev-vcs/git
  1. 元あった設定をクリア
eselect repository remove -f gentoo
  1. rsync -> git
eselect repository add gentoo git https://github.com/gentoo-mirror/gentoo.git

3.5. もし、途中で引っかかったら、

rm -r /var/db/repos/gentoo
  1. 更新
emaint sync -r gentoo

Ref

Discussion