Open ghost opened 8 years ago
https://www.archlinux.org/packages/core/x86_64/bash/
Dependencies listed for bash: glibc libncursesw.so=6-64 (ncurses) ncurses readline>=6.3
I'm going to try to remove libncursesw.so from $missing list, That should allow the installation to continue. If I'm understanding this correctly, ncurses resolves the dependency.
Still new to this scripting language but I found a solution.
I added the following code to the while loop in the bootstrap file. chroagh/installer/arch/bootstrap
if [ "$package" = "libncursesw.so" ]; then
echo "skipping $package"
installed="$installed $package "
fi;
placed above
if [ "${installed#*" $package "}" != "$installed" ]; then
continue
fi
It's probably not the most correct method to fix it but it works.
Can confirm this works. Thanks you for the hack.
Just finished installing arch, this fix was a life saver.
It's a hack until you have consensus. Then it's a fix!
Re-installing my chroot now with the help of this fix. Thanks @supremeabraxas
I had to add a ''continue'' to make it work :
if [ "$package" = "libncursesw.so" ]; then
echo "skipping $package"
installed="$installed $package "
continue
fi
wanted to drop a line to put my 2 cents in... Works, appended bootstrap with vim (including continue) working with all available targets and xfce desktop.
On another note, for the uninitiated be sure to move your mouse around during gpg key generation to generate necessary entropy and during creation it seemed to be hanging until after about 8 min waiting i sent a click and then the script finished up key signing and started pacman.
Thanks for the fix!
thank you based supremeabraxas
Same over here, supremeabraxas hack fixed the issue as well, thanks a lot supremeabraxas :)
I've successfully installed arch on my Acer Chromebook C910 in the past ~3 weeks ago. Below is the output from the terminal on my latest attempt.
The chroot does not install and running the command again yields the same result.
chronos@localhost ~/Downloads/drinkcat-chroagh-18cc180 $ sudo sh -e installer/main.sh -r arch -t xfce Installing arch-x86_64 chroot to /usr/local/chroots/arch Fetching repository packages list... Fetching core...
100.0%
Fetching community...
100.0%
Fetching extra...
100.0%
Downloading and extracting packages... Downloading and installing bash...
100.0%
Downloading and installing gawk...
100.0%
Downloading and installing grep...
100.0%
Downloading and installing pacman...
100.0%
Downloading and installing sed...
100.0%
Downloading and installing util-linux...
100.0%
Downloading and installing readline...
100.0%
Downloading and installing glibc...
100.0%
Downloading and installing ncurses...
100.0%
Downloading and installing libncursesw.so... chronos@localhost ~/Downloads/drinkcat-chroagh-18cc180 $