You are not logged in.
Pages: 1
Hello, I finally managed to install Arch Linux (after I think 5 tries) and successfully installed a Desktop Environment.
I'm trying to install yay, however when I try to change user permission using:
sudo chown -R karolp:karolp ./yay-git I get the error:
chown: invalid group: 'karolp:karolp' So I checked groups using:
cat /etc/group |grep karolpand got:
wheel:x:998:karolpDuring the installation I created the User karolp using:
useradd -m -g users -s /bin/bash karolpand also uncomended:
EDITOR=nano visudo
%wheel ALL=(ALL) ALLAs you can tell I'm a total newbie, so I don't really know what to do.
btw I followed the German Arch Linux installation guide: https://wiki.archlinux.de/title/Anleitu … Einsteiger
Last edited by Papier2234 (2021-02-21 18:50:20)
Offline
useradd -m -g users -s /bin/bash karolp-g users set the primary group to users. Without it a group karolp would have been used as the primary group.
sudo chown -R karolp:karolp ./yay-git Why are you executing chown on that directory? As a new user I would suggest not to use any AUR helper as the automation they provide has a tendency to lead to user confusion.
Offline
The 'karolp' group does not exist, as chown tells you. With 'useradd -g users' you chose not to create it.
If the group existed, /etc/group would contain a line starting with 'karolp:x'.
Your account's primary group is 'users'. So: 'sudo chown -R karolp:users ./yay-git'.
Offline
I tried to execute chown, because that's what was written on a website how to download yay.
As a new user I would suggest not to use any AUR helper as the automation they provide has a tendency to lead to user confusion.
So you suggest to just download every package manually with:
git clone <package URL> Offline
I tried to execute chown, because that's what was written on a website how to download yay.
If you do a git clone to your home directory the ownership should be correct i.e. owned by your user.
loqs wrote:As a new user I would suggest not to use any AUR helper as the automation they provide has a tendency to lead to user confusion.
So you suggest to just download every package manually with:
git clone <package URL>
Yes then follow makepkg.
Offline
Okay, thank you both ![]()
Offline
Pages: 1