Closed mrfoxie closed 2 years ago
The script is breaking somewhere. I will debug and fix it.
In meantime do following. From termux not in proot, edit sudoers file
Change file permissions to write
chmod +w manjaro/etc/sudoers
Use nano or vim to edit
nano manjaro/etc/sudoers
Then add manjaro ALL=(ALL:ALL)
in sudoers below root
##
## User privilege specification
##
root ALL=(ALL:ALL) ALL
## Add this
manjaro ALL=(ALL:ALL)
Revert file permissions
chmod -w manjaro/etc/sudoers
Then proot into manjaro and run the command, it will work
sudo pacman -Syyy
The script is breaking somewhere. I will debug and fix it.
In meantime do following. From termux not in proot, edit sudoers file
- Change file permissions to write
chmod +w manjaro/etc/sudoers
- Use nano or vim to edit
nano manjaro/etc/sudoers
- Then add
manjaro ALL=(ALL:ALL)
in sudoers belowroot
## ## User privilege specification ## root ALL=(ALL:ALL) ALL ## Add this manjaro ALL=(ALL:ALL)
- Revert file permissions
chmod -w manjaro/etc/sudoers
- Then proot into manjaro and run the command, it will work
sudo pacman -Syyy
i edited the file by updating it because it was giving error so i added ALL
at the end like this
manjaro ALL=(ALL:ALL) ALL
and it works
The error is here root ALL=(ALL:ALL) ALL
. Because it is not matching so the file does not update.
https://github.com/krmanik/Manjaro-Linux-on-Android/blob/f5b364090135b90be7ec464bfbcd2a696e3d2f9e/manjaro.sh#L210
after installing manjaro it gives this error on first boot while updating package