crouton: Failed to run debootstrap

Please paste the output of the following command here: sudo edit-chroot -all

sudo: edit-chroot: command not found

Please describe your issue:

Trying to install a debian chroot, came up with this error:

chronos@localhost / $ sudo crouton -t xfce -r bookworm -e
Password: (entered password)
Choose an encryption passphrase for bookworm: (entered passphrase)
Please confirm your passphrase: (entered passphrase)
Generating keys (move the mouse to generate entropy)...
done
Installing bookworm-arm64 chroot to /usr/local/chroots/bookworm
Downloading bootstrap files...
/tmp/crouton-installer-cache/crouton: 95: /tmp/crouton-installer-cache/crouton.Jvn/installer/debian/bootstrap: /tmp/crouton.efK/debootstrap: Permission denied
debootstrap error log:
tail: cannot open '/tmp/crouton.efK/bookworm-arm64/debootstrap/debootstrap.log' for reading: No such file or directory
Failed to run debootstrap.

If known, describe the steps to reproduce the issue:

sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton, then sudo crouton, then sudo crouton -t xfce -r bookworm -e in the crosh shell. Only the third one gives any errors. It seems it’s just for my chromebook, as I’ve looked at similar errors, and none of the solutions have worked.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26

Most upvoted comments

if it is in Downloads sudo cp ~/Downloads/bpfix /usr/local/bin/ sudo mv /usr/local/bin//bpfix /usr/local/bin/crouton sudo chmod 755 /usr/local/bin/crouton sudo crouton -r -t -e

or use the install cmd in the crouton wiki