crouton: Install fails with chroot: failed to run command '/prepare.sh': No such file or directory

here’s the output of edit-chroot -all (note: I already have a chroot, budgie installed and I’m trying to create a second one):

➜  Downloads sudo edit-chroot -all
name: budgie
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/budgie...
crouton: version 1-20161129162558~master:5f2f11f9
release: xenial
architecture: amd64
xmethod: xorg
targets: touch,keyboard,xorg,xiwi,x11,extension
host: version 9334.18.0 (Official Build) beta-channel peppy 
kernel: Linux localhost 3.8.11 #1 SMP Tue Mar 21 22:10:39 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/budgie...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
chroot: failed to run command '/usr/local/bin/croutonversion': No such file or directory
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:

➜  Downloads sudo sh ./crouton -t gnome,keyboard,extension,xorg,touch -n gnome
Installing xenial-amd64 chroot to /usr/local/chroots/gnome
Downloading latest debootstrap...
Download from Debian gitweb failed. Trying latest release...
2017-03-29 23:47:50 URL:http://cdn-fastly.deb.debian.org/debian/pool/main/d/debootstrap/ [7115/7115] -> "-" [1]
Downloading debootstrap version 1.0.89...
2017-03-29 23:47:50 URL:http://cdn-fastly.deb.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.89.tar.gz [69020/69020] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg
I: Retrieving InRelease 
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Chosen extractor for .deb packages: ar
E: Unknown compression type for  in /tmp/crouton.Utz/xenial-amd64/
Moving bootstrap files into the chroot...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-wayland into the chroot...
Installing volume into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
Installing xserverrc-local.example into the chroot...
Installing startgnome into the host...
Installing crouton-noroot into the chroot...
Installing startgnome into the chroot...
Installing gnome-session-wrapper into the chroot...
Installing croutonclip into the chroot...
Installing croutonnotify into the chroot...
Installing croutonurlhandler into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
chroot: failed to run command '/prepare.sh': No such file or directory
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/gnome...

If known, describe the steps to reproduce the issue:

  • download crouton file
  • run sudo sh ~/Downloads/crouton -t gnome

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (7 by maintainers)

Most upvoted comments

Hello Everyone! I just tried the powerwash. And guess what, it is working smoothly… Not sure why it happened…but yes the Linux is installed now.