-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makepkg & groups do not function #171
Comments
So after further reading it would seem:
I do however have root access if that could be of any help at all. |
As root doing To enable root (in LineageOS 12.1 anyway) go to Developer Options -> Root access and set to at least "Apps only", then in Termux run However, the patch did not work correctly I believe, and only partially patched it, so now I have this error: |
Reinstalling the pacman package (which contains makepkg),
|
Root access to Android is not required.
|
Use
|
https://aur.archlinux.org/packages/nosudo/ is your friend.
It is required for creating the symlink for I did add the user to wheel (the sudo group on Arch), but as I stated in the OP, it does not actually set. |
Try creating like |
@IamPARANOID any luck with using PRoot mounts instead of using
Modify this file. Then run |
@SDRausty Nope. I tried multiple options, including the one you quoted, the one you quoted but to
File used was |
Example diagnostics:
Remember to login to Arch Linux for changes to take effect. Try asking at https://gitter.im/termux and similar too. |
As the device is rooted/cracked your results will vary. |
@IamPARANOID can you explain the motivation for using PRoot on a rooted device? |
I wanted to install PhantomJS (youtube-dl optional dep), as it was mentioned that it only worked on TermuxArch. It appears to be dead/non-functional however, unless it is manually compiled, which can take days. |
The command
The package |
Use case is to be able to install packages from the AUR.
Logical starting point: Install
yay
.The PKGBUILD is downloaded, but
makepkg -s
can't be run as root (though it does require a password to act as root).Next move, add a user that isn't root:
startarch c adduser user username
Result:
/bin/bash: adduser: command not found
adduser
does not exist in either Termux or Arch apparently, in Arch they want you to useuseradd
asadduser
is not real in the Arch ecosystem.Recourse: Add a user manually using
useradd username
inside the proot, then add to group wheel (usermod -aG wheel username
), and uncomment%wheel ALL=(ALL) NOPASSWD: ALL
in visudo:groups username
run as root or username show username as being in wheel, but if justgroups
is run as username then it does not show as being in wheel.Wheel group is set not to ask for a password, yet
sudo
requires ones and then fails with "user is not in the sudoers file", further proving it is not in the wheel group.What do?
The text was updated successfully, but these errors were encountered: