Trying to install Kali with sudo crouton -r kali-rolling -t xfce works until I get an error during all the extra package downloads.
Setting up fuse (2.9.9-1) ...
dpkg: error processing package fuse (--configure):
installed fuse package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
fuse
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
Attempting to then enter-chroot on the kali asks to run the setup script which also errors out
chronos@localhost / $ sudo enter-chroot kali-rolling
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
WARNING: Unable to register core dump handler.
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] Y
Preparing chroot environment...
WARNING: Unable to register core dump handler.
Setting up fuse (2.9.9-1) ...
dpkg: error processing package fuse (--configure):
installed fuse package post-installation script subprocess returned error exit status 1
Setting up libntfs-3g883 (1:2017.3.23AR.3-3) ...
Setting up libsane-common (1.0.27-3.2) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
fuse
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in kali-rolling
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
Attempt to install Kali with sudo crouton -r kali-rolling -t xfce
Wait for it to finish and check the terminal
Attempt to enter the chroot and run the setup script
Declining to complete the script setup results in this
chronos@localhost / $ sudo enter-chroot kali-rolling
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
WARNING: Unable to register core dump handler.
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] n
Skipping setup. You will be prompted again next time.
UID 1000 not found in kali-rolling
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
Only other thing I can wrong during the install is this at the very start, failing to get a keyring
Installing kali-rolling-amd64 chroot to /usr/local/chroots/kali-rolling
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/kali-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: Checking component main on http://http.kali.org...
I doubt this is the cause of the issue though
my edit-chroot -all output
chronos@localhost / $ sudo edit-chroot -all
name: kali
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali...
WARNING: Unable to register core dump handler.
crouton: version unknown
release: unknown
architecture: unknown
xmethod: xorg
targets: xfce,extension,core,cli-extra
host: version 12447.0.0 (Official Build) dev-channel cave
kernel: Linux localhost 3.18.0-19742-g7eb2b7b38f54 #1 SMP PREEMPT Fri Aug 23 01:23:31 PDT 2019 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
WARNING: Unable to register core dump handler.
crouton: version unknown
release: unknown
architecture: unknown
xmethod: xorg
targets: xfce
host: version 12447.0.0 (Official Build) dev-channel cave
kernel: Linux localhost 3.18.0-19742-g7eb2b7b38f54 #1 SMP PREEMPT Fri Aug 23 01:23:31 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...
My Xenial works fine
You are not the only one, I have exaclty the same problem trying to install kali-rolling.
@AllHailRNJesus What chromebook are you running and on what channel?
@Cyan101 Chromebook acer c740 (I don't know what channel).
Just checked, I am using stable.
Same here running eve on the canary channel
In face, fuse is not the only thing that fails for me. Gnome also fails
sudo enter-chroot -n kali-rolling
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d]
Preparing chroot environment...
dbus[25726]: Unknown username "geoclue" in message bus configuration file
Setting up fuse (2.9.9-1) ...
dpkg: error processing package fuse (--configure):
installed fuse package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of gvfs-fuse:
gvfs-fuse depends on fuse; however:
Package fuse is not configured yet.
dpkg: error processing package gvfs-fuse (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-core:
gnome-core depends on gvfs-fuse (>= 1.38); however:
Package gvfs-fuse is not configured yet.
dpkg: error processing package gnome-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of task-gnome-desktop:
task-gnome-desktop depends on gnome-core; however:
Package gnome-core is not configured yet.
dpkg: error processing package task-gnome-desktop (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fuse
gvfs-fuse
gnome-core
task-gnome-desktop
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in kali-rolling
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
edit-chroot -all
name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20190902190258~master:9a594a66
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: gnome-desktop,xorg
host: version 12457.0.0 (Official Build) canary-channel eve
kernel: Linux localhost 4.4.189-16757-gc8cc94218b14 #1 SMP PREEMPT Mon Aug 26 13:49:46 PDT 2019 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
same problem happens when installing debian bullseye.
Powerwashed my C302 and still have the same issue
chronos@localhost / $ sudo edit-chroot -all
name: kali
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali...
crouton: version 1-20190902190258~master:9a594a66
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: xfce,extension,core,cli-extra
host: version 12239.92.0 (Official Build) stable-channel cave
kernel: Linux localhost 3.18.0-19679-gd1d0bbedf35d #1 SMP PREEMPT Tue Aug 27 17:02:33 PDT 2019 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali...
According to https://superuser.com/questions/790754/errors-were-encountered-while-processing-fuse there could be an error in the post installation scripts syntax, not too sure how to check or anything though
@Cyan101 When i checked out the fuse.postinst file using vim according to the link you provided, i see that the line that they mention over at superuser (which supposedly is the solution):
udevadm test -a -p $(udevadm info -q path -n /dev/fuse) > /dev/null 2>&1
is instead the following:
udevadm test --action -p $(udevadm info -q path -n /dev/fuse) > /dev/null 2>&1
I'm going to try changing --action to -a and see if i can get it to work or not.
Update: changing --action to -a did not do anything
I also found this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935885
bullseye is fixed.
no idea how
@Asternitix did you see what version of fuse was installed when it was fixed? They might have fixed it by updating to a newer version of fuse in bullseye.
According to the link I posted above, the issue is supposedly fixed in the latest version of fuse 2.9.9.2
I assume we will have to wait until crouton kali-rolling is updated.
where is the kali-rolling in crouton? would happily update it and PR myself
Does anyone have any ideas for how to get/update crouton to use the latest version of fuse? I looked around in the code but I couldn't find anything that seemed useful in this regard.
Same, am wondering if it's up to Kali to update their source/apt to the
latest version or what. Not sure how to have crouton install a specific
version either
On Wed, 4 Sep. 2019, 11:29 pm AllHailRNJesus, notifications@github.com
wrote:
Does anyone have any ideas for how to get/update crouton to use the latest
version of fuse? I looked around in the code but I couldn't find anything
that seemed useful in this regard.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/4130?email_source=notifications&email_token=AAVQY3QOKWN4XTQVUGTWEDTQH7H65A5CNFSM4ITCFT3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5367XY#issuecomment-527953887,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVQY3TA7PMXZLLHRUV3KV3QH7H65ANCNFSM4ITCFT3A
.
@Asternitix did you see what version of fuse was installed when it was fixed? They might have fixed it by updating to a newer version of fuse in bullseye.
it isn't fixed, I only used the core target.
Does anyone have any ideas for how to get/update crouton to use the latest version of fuse? I looked around in the code but I couldn't find anything that seemed useful in this regard.
there are some targets that use fuse and some that don't, the targets that do should be modified.
Does anyone have any ideas for how to get/update crouton to use the latest version of fuse? I looked around in the code but I couldn't find anything that seemed useful in this regard.
there are some targets that use fuse and some that don't, the targets that do should be modified.
afaik it's required for kali, not in any targets. Doing a search for fuse in this repo doesn't return much so not too sure how to set a specific version to install in the script. Surprised fuse is optional too
Temporary Fix
sudo enter-chroot -u root -n kali-rolling
http://ftp.us.debian.org/debian/pool/main/f/fuse/libfuse2_2.9.9-2_amd64.deb
http://ftp.us.debian.org/debian/pool/main/f/fuse/fuse_2.9.9-2_amd64.deb
Download these and install them with dpkg -i, don't download them into your downloads as they give a keyring error.
After that exit the chroot and let it unmount, then sudo crouton -u -n kali-rolling to update/run the setup script again.
This still needs a proper fix, kali's source/apt sends the -1 version so might need to add a manual install of -2 version into the kali setup script
thanks.
in debian, dpkg requires forcing, but still works.
Thanx for this Temporary Fix
Most helpful comment
Temporary Fix
sudo enter-chroot -u root -n kali-rollinghttp://ftp.us.debian.org/debian/pool/main/f/fuse/libfuse2_2.9.9-2_amd64.deb
http://ftp.us.debian.org/debian/pool/main/f/fuse/fuse_2.9.9-2_amd64.deb
Download these and install them with
dpkg -i, don't download them into your downloads as they give a keyring error.After that exit the chroot and let it unmount, then
sudo crouton -u -n kali-rollingto update/run the setup script again.This still needs a proper fix, kali's source/apt sends the -1 version so might need to add a manual install of -2 version into the kali setup script