wsldl-pg / ArchW-docs

ArchWSL documentation project
https://git.io/arch-doc
Creative Commons Attribution 4.0 International
54 stars 22 forks source link

Known Issues correction #33

Open nicovell3 opened 2 years ago

nicovell3 commented 2 years ago

Hello, While copying the commands for installing the archlinuxcn repository, the process failed because the /etc/pacman.conf repo doesn't end with \n and the $arch part was interpreted by bash. The command which should be run is:

echo -e '\n[archlinuxcn]
Server = https://repo.archlinuxcn.org/$arch' >> /etc/pacman.conf
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring && sudo pacman -S glibc-linux4

Thank you very much for maintaining this project and best regards!

rffontenelle commented 2 years ago

Hi there. I was unable to reproduce the issue regarding a missing trailing \n because my /etc/pacman.conf ended with empty line. Maybe you removed that empty line by accident when trying to debug this issue?

rainwashed commented 2 years ago

just to leave my 2 cents, this worked for me. from the docs alone, it didn't work as shown in this screenshot image (lack of archlinuxcn) but using this worked for me image (has archlinuxcn)