Closed mkirkhart closed 7 years ago
The same issue occurs with Debian stretch.
@mkirkhart,
The 'gtk-extra' target gets pulled in by the 'xfce' target and that's where the 'netsurf-gtk' package is installed.
If, after the crouton installation fails, you modify the prepare.sh
script to remove 'netsurf-gtk' and then let the prepare.sh
script continue, it may succeed. See this https://github.com/dnschneid/crouton/issues/2260#issuecomment-166209184 for a similar situation where it was done.
I've submitted a pull request for a change that is intended to continue when installation of netsuft-gtk fails:
Thanks for the fix, too bad ^W does not work very well inside of a Chrome window (same command to close the window).
Deleting:
# if netsurf-gtk is not available (in certain debian and kali releases)
if install netsurf-gtk; then
netsurf='/usr/bin/netsurf-gtk'
for link in x-www-browser gnome-www-browser; do
if ! update-alternatives --query "$link" | grep -q "$netsurf"; then
update-alternatives --install "/usr/bin/$link" "$link" "$netsurf" 10
fi
done
And netsurf-gtk from the line above that has got my installation rolling again.
@solsticesolutions
I modified prepare.sh and deleted the same lines as you mentioned, after my crouton installation failed. However, when I updated the installation (crouton -r kali-rolling -u), still the same error. Then I reopened prepare.sh, which turned back into the original status (still containing these netsurf-gtk lines).
I tried many times and still the same error, and I don't know if my command is wrong or what.
Could you tell me your detail command? or Do you find my command's fault?
P.S. Kali-rolling was installed on the sd card
Thank you
Are you running update after changing the file? Doing that will download a new prepare.sh.
Instead use the normal command to enter your chroot. Sudo enter kali-rolling. It will be different in your case because of the location.
There will be a prompt that asks if you want to finish the setup process. Say yes! Then it should complete the installation. It has quite a few more files to download. On Apr 8, 2016 5:58 AM, "msdos41" notifications@github.com wrote:
@solsticesolutions https://github.com/solsticesolutions
I modified prepare.sh and deleted the same lines as you mentioned, after my crouton installation failed. However, when I updated the installation (crouton -r kali-rolling -u), still the same error. Then I reopened prepare.sh, which turned back into the original status (still containing these netsurf-gtk lines).
I tried many times and still the same error, and I don't know if my command is wrong or what.
Could you tell me your detail command? or Do you find my command's fault?
P.S. Kali-rolling was installed on the sd card
Thank you
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/dnschneid/crouton/issues/2513#issuecomment-207442507
netsurf-gtk is not available in the repositories for certain most-recent releases of kali, debian and ubuntu.
various options to fix this are being discussed: https://github.com/dnschneid/crouton/pull/2516
For the moment, here is one possible recipe to workaround: omit xfce when creating the chroot, and install it afterward:
sudo sh -e crouton -r kali-rolling -t extrension,xiwi sudo enter-chroot sudo apt-get install xfce4 xfce4-goodies xfce4-artwork xubuntu-icon-theme exit sudo startxiwi -F startxfce4
I also have a workaround for this. What i did was I created a chroot with only xiwi as a target then I entered the chroot and added the debian jesse repo to my sources, then downloaded netsurf from there. After updating the chroot with xfce I am happy to say its working.
To recap: Note: Run steps 1-2 and steps 10-11 from chromeos shell (not crosh), Run steps 3+4 and 7-9 from the inside the chroot, Steps 5 and 6 are for working with the text editor nano.
1. sudo crouton -r kali-rolling -n kali -t xiwi
2. sudo enter-chroot -n kali
3. cd /etc/apt
4. sudo nano sources.list
5. add the following line: deb http://ftp.us.debian.org/debian jessie main
6. save (ctrl + o) and exit (ctrl + x) nano
7. sudo apt-get update
8. sudo apt-get install netsurf-gtk
9. exit
10. sudo crouton -u -n kali -t xfce
11. sudo start xfce4
Done!
Let me know if there are any questions!
Also thanks to @donkeywrong for bringing an issue with step 5 to my attention.
I got up to step 5. asfter i added jessie, i saved nano. but when i went back to crosh shell to enter sudo apt-get update, crosh shell didn't recognize the command. What do I do?
UPDATE: I got it. After completing step 5, i reopened crosh shell and repeated step 2, then skipped to step 6
help i would like to install kali-rolling on xfce however it unable to locate netsurf please instruct me on how to properly install this.
@msdos41 - Take a look above - https://github.com/dnschneid/crouton/issues/2513#issuecomment-230125641
@donkeywrong Hmm thanks for bringing that up, I've updated my fix to reflect this. You got it working now right? Also @mrspedro Take a look at my earlier comment (direct link in the above comment), I've posted a detailed guide on a fix.
@DennisLfromGA i have already try that however it didn't work. i would like to try the prepare.sh but i don't know how to get there. can someone tell me step by step.
@Penguination Step 10 fails for me. i get this"The following packages have unmet dependencies: libc6-dev : Breaks: libc6-dev:i386 (!= 2.22-13) but 2.19-18+deb8u4 is to be installed libc6-dev:i386 : Depends: libc6:i386 (= 2.19-18+deb8u4) but 2.22-13 is to be installed Depends: libc-dev-bin:i386 (= 2.19-18+deb8u4) Depends: linux-libc-dev:i386 but it is not going to be installed Breaks: libc6-dev (!= 2.19-18+deb8u4) but 2.22-13 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Failed to complete chroot setup. Unmounting /mnt/stateful_partition/crouton/chroots/kali..." please help me fix this
I compiled a version from my fork that just doesn't install netsurf.
https://sourceforge.net/projects/kalicrouton/files/kalicrouton/download
sudo sh -e ~/Downloads/kalicrouton -r kali-rolling -t xfce
I'll work on fixing the larger issue, and requesting a merge when I have time, but for now this should work.
Anyone know who/where to reach out to get this server rebooted?
Err:1 http://ca.mirror.babylon.network/kali kali-rolling/main armhf libpthread-stubs0-dev armhf 0.3-4 503 Error [IP: 149.56.229.30 80] Err:2 http://ca.mirror.babylon.network/kali kali-rolling/main armhf xorg-sgml-doctools all 1:1.11-1 503 Error [IP: 149.56.229.30 80] Err:3 http://ca.mirror.babylon.network/kali kali-rolling/main armhf x11proto-core-dev all 7.0.29-1 503 Error [IP: 149.56.229.30 80]
Something else I noticed is that you may need the crouton extension in the chrome browser if you're trying to install on a chromebook using the crouton method
@Penguination I am getting an Error: not connected. Unable to start display, make sure the crouton extension is installed and enabled
when attempting step 11.
Make sure you download the crouton extension on google chrome on your chrome OS https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom
The 'Crouton Integration' extension from the Chrome Web Store mentioned above is required when you install the 'xiwi' target/xmethod.
Any update on this?
@mikesackett85
solsticesolutions had the right idea. as soon as i removed those lines from the prepare.sh script it worked right away.
Great news, I will go that route. Thank you!
Sorry for the noob question here but I'm just wondering which prepare.sh file to edit, I grabbed the master zip file and then attempted to edit the first one that I found but there weren't any lines calling for the installation of netsurf.
@mikesackett85,
The prepare.sh
script is built on-the-fly depending on which targets you specify and will be placed in the root directory of your chroot.
When the crouton install fails, just go back into your chroot using enter-chroot
and answer 'n' when asked if you want to let it finish. You'll then drop to a shell and you can edit /prepare.sh
to remove 'netsurf-gtk'.
You can exit then and re-enter the chroot using enter-chroot to let it finish the setup.
Hope this helps, -DennisL
Pengiunation's comment got it to work for me. Thank you so much! It's a big relief to have installing a new distro take 2 hours instead of 3 days.
Merged in the fix for this, so you shouldn't need to manually modify things anymore. Sorry this took so long!
sudo sh ~/Downloads/crouton -r kali-rolling -t xfce
Please describe your issue:
I noticed the kali sana release is no longer supported, and saw that kali-rolling (the new release) was added to the list of chroots. Unfortunately, when I went to install it, the installation failed when attempting to download the netsurf-gtk package. Upon further investigation, this package was removed from the kali-rolling package repositories. (http://pkg.kali.org/news/251836).
If known, describe the steps to reproduce the issue:
To reproduce, simply attempt to install kali-rolling, using the above command.