in der tat, chroot + nspawn container ist zu viel des gut.
ich wollts auch auf einem anderen rechner so einrichten, bekam aber diese meldung:
[tom@frija ~]$ sudo pacstrap -C /root/pacman.conf -d /home/archchroot/ base base-devel
[sudo] Passwort für tom:
==> Creating install root at /home/archchroot/
==> Installing packages to /home/archchroot/
:: Synchronisiere Paketdatenbanken...
core 124,2 KiB 1130K/s 00:00 [###########################] 100%
Fehler: Konnte Datei 'extra.db' nicht von linux.rz.rub.de übertragen : The requested URL returned error: 404
Fehler: Konnte extra nicht aktualisieren (Unerwarteter Fehler)
Fehler: Konnte Datei 'community.db' nicht von linux.rz.rub.de übertragen : The requested URL returned error: 404
Fehler: Konnte community nicht aktualisieren (Unerwarteter Fehler)
:: Es befinden sich 50 Mitglieder in Gruppe base:
:: Repositorium core
1) bash 2) bzip2 3) coreutils 4) cryptsetup 5) device-mapper 6) dhcpcd
7) diffutils 8) e2fsprogs 9) file 10) filesystem 11) findutils 12) gawk
13) gcc-libs 14) gettext 15) glibc 16) grep 17) gzip 18) inetutils
19) iproute2 20) iputils 21) jfsutils 22) less 23) licenses 24) linux
25) logrotate 26) lvm2 27) man-db 28) man-pages 29) mdadm 30) nano
31) netctl 32) pacman 33) pciutils 34) pcmciautils 35) perl 36) procps-ng
37) psmisc 38) reiserfsprogs 39) s-nail 40) sed 41) shadow 42) sysfsutils
43) systemd-sysvcompat 44) tar 45) texinfo 46) usbutils 47) util-linux 48) vi
49) which 50) xfsprogs
Geben Sie eine Auswahl ein (Voreinstellung=alle):
:: Es befinden sich 25 Mitglieder in Gruppe base-devel:
:: Repositorium core
1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file
7) findutils 8) flex 9) gawk 10) gcc 11) gettext 12) grep 13) groff
14) gzip 15) libtool 16) m4 17) make 18) pacman 19) patch 20) pkg-config
21) sed 22) sudo 23) texinfo 24) util-linux 25) which
Geben Sie eine Auswahl ein (Voreinstellung=alle):
Warnung: Überspringe das Ziel: file
Warnung: Überspringe das Ziel: findutils
Warnung: Überspringe das Ziel: gawk
Warnung: Überspringe das Ziel: gettext
Warnung: Überspringe das Ziel: grep
Warnung: Überspringe das Ziel: gzip
Warnung: Überspringe das Ziel: pacman
Warnung: Überspringe das Ziel: sed
Warnung: Überspringe das Ziel: texinfo
Warnung: Überspringe das Ziel: util-linux
Warnung: Überspringe das Ziel: which
Fehler: Konnte den Vorgang nicht vorbereiten (Konnte Datenbank nicht finden)
==> ERROR: Failed to install packages to new root
das ist nicht schlimm dacht ich mir und lies mir einen arch spiegel server für deutschland geben,
https://www.archlinux.org/mirrorlist/?country=DE&protocol=http&protocol=https&ip_version=4&use_mirror_status=on
Server = http://ftp.uni-hannover.de/archlinux/$repo/os/$arch
die pakete werden runter geladen und dann bekam ich das zu lesen:
(146/146) Prüfe Schlüssel im Schlüsselring [###########################] 100%
Warnung: Public keyring not found; have you run 'pacman-key --init'?
Lade benötigte Schlüssel herunter...
Fehler: key "F99FFE0FEAE999BD" could not be looked up remotely
Fehler: key "94657AB20F2A092B" could not be looked up remotely
Fehler: key "E62F853100F0D0F0" could not be looked up remotely
Fehler: key "3C1C876030B65FE2" could not be looked up remotely
Fehler: key "BBE43771487328A9" could not be looked up remotely
Fehler: key "A5E9288C4FA415FA" could not be looked up remotely
Fehler: key "426991CD8406FFF3" could not be looked up remotely
Fehler: key "B02854ED753E0F1F" could not be looked up remotely
Fehler: key "51E8B148A9999C34" could not be looked up remotely
Fehler: key "6D1655C14CE1C13E" could not be looked up remotely
Fehler: key "7F2D434B9741E8AC" could not be looked up remotely
Fehler: key "1EB2638FF56C0C53" could not be looked up remotely
Fehler: key "771DF6627EDF681F" could not be looked up remotely
Fehler: key "A6234074498E9CEE" could not be looked up remotely
Fehler: key "FC1B547C8D8172C8" could not be looked up remotely
Fehler: key "284FC34C8E4B1A25" could not be looked up remotely
Fehler: key "7A4E76095D8A52E4" could not be looked up remotely
Fehler: key "5C2E46A0F53A76ED" could not be looked up remotely
Fehler: key "C8880A6406361833" could not be looked up remotely
Fehler: key "976AC6FA3B94FA10" could not be looked up remotely
Fehler: key "38DCEEBE387A1EEE" could not be looked up remotely
Fehler: Erforderlicher Schlüssel fehlt im Schlüsselbund
Fehler: Konnte den Vorgang nicht durchführen (Unerwarteter Fehler)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.
==> ERROR: Failed to install packages to new root
wie kann ich das problem lösen? hab ich einen "schlechten" server erwischt?