Archlinux chroot 팩맨 업데이트 실패

Archlinux chroot 팩맨 업데이트 실패

참고: 저는 Ubuntu 설치 내부에서 Arch 설치로 루트를 변경하고 있습니다.

실행할 때 다음 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를 실행할 수 없습니다.

따라서 아치를 부팅 가능하게 만들기 위해 chroot를 통해 grub을 설치하려는 경우( os-probe우분투 내부에서 실행하면 아치 설치를 감지하지 못함) 자체적인 문제가 있습니다.

내 팩맨 저장소 데이터베이스를 업데이트할 수 없습니다

어떤 제안이 있으십니까?

답변1

/etc/resolv.conf파일을 chroot된 세션에 복사 하고 nameserver해당 줄을 다음 줄로 바꿉니다.

nameserver 8.8.8.8
nameserver 8.8.4.4

네트워크를 저장하고 다시 시작하십시오.

관련 정보