You are not logged in.
Following the wiki for a fresh installation, I formatted the partitions, created and activated swap, mounted root partion (/dev/sda3) under /mnt, created dirs for other partitions and mounted them. When trying to install base packages using:
pacstrap -i /mnt base base-devel
I got the following error:
/bin/sh: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
My partition scheme is the following:
/dev/sda1 BIOS boot
/dev/sda2 ext4 /boot
/dev/sda3 ext4 /
/dev/sda4 ext4 /home
/dev/sdb1 swap
/dev/sdb2 /var
Edit: typo
Edit2: rephrasing
Last edited by doblerone (2018-06-15 16:09:06)
Offline
I'm assuming you're getting that from a post_install script, and installation continues just fine? Most likely you'll just what to reinstall whatever package is throwing that error after you chroot.
Offline
cf. https://www.reddit.com/r/archlinux/comm … libraries/
Still waiting for the answer to Foxboron's question "which command exactly did you run and what is the full, unadulterated output".
Because the initial phrasing implies it is pacstrap itself which errors, and that makes no sense since it doesn't even run /bin/sh
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The output I get from ptpb.pw can be found here:
Offline
That command is incorrect, I notice how it says "reinstalling [...]" by every package.
That means if your installation root was broken, pacstrap will not fix it. If you still had the saved output from the first time you ran pacstrap, we could actually debug the source of the problem.
But even this does indicate that the issue is with running post-install scripts and hooks, which clarifies my confusion.
I'm guessing in the initial pacstrap, something went wrong and you now have a malformed readline package installed on the target. Unless you had a previous arch install already there. What happens if you try to pacstrap the readline package, instead of base?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Unless you had a previous arch install already there. What happens if you try to pacstrap the readline package, instead of base?
Even during the first time, I got those errors. I did have a previous install in this disk, but does the command "mkfs.ext4 /dev/..." is not to format the partition?
I think I should wipe the partition before, isn't it?
Offline
I solved by not mounting my previous /var partition. It was causing all those problems.
Offline