
注: 私はUbuntuインストールからArchインストールにchrootしています
実行中はpacman -Syu
次のように応答します
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from archlinux.polymorf.fr : Could not resolve host: archlinux.polymorf.fr
error: failed retrieving file 'core.db' from mirror.js-webcoding.de : Could not resolve host: mirror.js-webcoding.de
...
error: failed retrieving file 'community.db' from mirror.kavalinux.com : Could not resolve host: mirror.kavalinux.com
error: failed retrieving file 'community.db' from f.archlinuxvn.org : Could not resolve host: f.archlinuxvn.org
error: failed to update community (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
合計を見る出力
うまくいけば、出力は十分なものになるはずです。
ArchLinux をインストールしたばかりですが、Arch インストールにバイナリが存在しないため、grub-mkconfig を実行できませんでした。
したがって、arch を起動可能にするために grub (chroot 経由) をインストールしたい場合 ( os-probe
ubuntu 内で実行すると arch インストールが検出されない)、独自の問題が発生します。
pacmanリポジトリデータベースを更新できません
助言がありますか?
答え1
/etc/resolv.conf
ファイルを chroot されたセッションにコピーし、nameserver
次の行を置き換えます。
nameserver 8.8.8.8
nameserver 8.8.4.4
保存してネットワークを再起動します。