crouton troubleshooter: what's wrong and how to fix it #5071
CroutonIsFun
started this conversation in
General
Replies: 1 comment 1 reply
-
It's super helpful that you're writing up these how-to's, but I think the wiki is a better destination for them rather than being scattered about discussions (since these aren't really discussions). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's wrong?
Sudo commands will not succeed by default. If you want to use sudo commands, use the VT-2 shell, followed by some other gibberish you don't understand.
If you copy and paste the command,
sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
,and press Enter, then you get,
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
Solution: you have to enter the command in VT-2 instead :-(
sudo crouton -t xfce
After watching hundreds of files get installed, and with your heart beating faster because you think, "Finally, I'm getting somewhere", the procedure ends with the following text:
sed: can't read tests/cras_test_client.c: No such file or directory
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
Beta Was this translation helpful? Give feedback.
All reactions