BlackArch/blackarch-installer

Error: "passwd" No such file or directory

anonymouso5310 opened this issue · 5 comments

Hello
I tried to install blackarch 2021.09.01 on my pc but when installing the packages I got this error
(chroot failed to run command "passwd" No such file or directory)

Did you create an additional user, or just went with root?
Can you please specify which installer version you have used?

I opted for root and i use blackarch netinstall

yawns commented

tl;dr: Run pacman -Syy archlinux-keyring and pacman -Syy blackarch-installer before starting the install.

I was having the same problem ("chroot: failed to run passwd" spamming the screen). I recorded my installation and played it back to see if any errors were flashing by. Turns out it's doing this:

Screenshot 2022-01-26 104531

So it's just rejecting the entire base install. After this there's a lot of "no such file" errors, but it all gets pushed off the screen because it gets stuck in a loop trying to run passwd.

Fix is to update the keyring and the installer before running the install.

when installing the keyring and the installer I have this
20220128_183031
error
20220128_183158

Check networking. Is it working ? Does it resolve?

Interface up ?
ip a sh

[0] % host mirror.rackspace.com
mirror.rackspace.com has address 72.4.120.219

Edit your mirrorlist and remove that bad mirrors if you have some.
ls -l /etc/pacman.d/mirrorlist*