-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InRelease issues with debootstrap #2966
Comments
Just a suggestion, why not try a newer release like trusty or xenial? Hope this helps, |
Get the same problem, that it can't down the distro. |
@FranticAtheist Interesting one! I did some searching and found that there may be a problem with the InRelease files for these older Ubuntu releases. I found this attempt to log the bug: https://bugs.launchpad.net/ubuntu/+bug/1623613 A suggestion: If you haven't already can you try specifying xenial as the release? Using something like:
I know you might not want a xenial chroot but at least that would confirm it's specific to the trusty and precise releases. Also it looks like #2915 is the same or at least a similar issue. |
@octopusnz Thanks for the comment I tried xenial and it worked. |
I emailed the good people at the Ubuntu mirrors team - who have politely reminded me that InRelease files were only added from xenial onwards so won't exist for precise/trusty. See: https://bugs.launchpad.net/launchpad/+bug/1430011 And lots of useful information on the implementation here: http://www.chiark.greenend.org.uk/~cjwatson/blog/no-more-hash-sum-mismatch-errors.html So - the question I have is, what is causing it to look for the InRelease file over and over and then stopping. a) debootstrap I found this exciting piece of code in crouton/installer/ubuntu/bootstrap
Maybe it's getting fixated on the InRelease file - trying a few times and then giving up altogether. I also found this bug here: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1599459 Basically the yarn is, specifying the --debian-installer flag causes debootstrap to fail to fall back to also checking for a Release file. Not sure if that is applicable for crouton but perhaps some wisdom that might help. |
Is this still an issue, or has this been fixed with updated debootstrap? |
I think it may still be an issue but the majority of people that were posting about it here just migrated to xenial which has InRelease files, so all good. The only possible reference to a bug I found in debootstrap itself was related to using the --debian-installer flag - do you know if any of the scripts in crouton invoke debootstrap using that? I don't think that has been investigated by the debootstrap folks as yet so newer versions probably haven't resolved the issue. |
Nope, we don't use that flag... |
Hi, I am a total noob so I most likely did something wrong or forgot something.
I have a chromebook acer 15. in the past I successfully installed a chroot and it worked fine.
I needed to delete the previous chroot.
now when I try to install a chroot with cruoton It has problems downloading ubuntu.
when I enter the command
sudo sh ~/Downloads/crouton -t xfce
in the shell I get this output:Downloading latest crouton installer... ######################################################################## 100.0% Installing precise-amd64 chroot to /usr/local/chroots/precise Downloading latest debootstrap... Download from Debian gitweb failed. Trying latest release... 2016-12-23 02:06:51 URL:http://debian.grena.ge/debian/pool/main/d/debootstrap/ [6171/6171] -> "-" [1] Downloading debootstrap version 1.0.87... 2016-12-23 02:06:52 URL:http://debian.grena.ge/debian/pool/main/d/debootstrap/debootstrap_1.0.87.tar.gz [65875/65875] -> "-" [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 W: Retrying failed download of http://archive.ubuntu.com/ubuntu/dists/precise/InRelease I: Retrieving InRelease W: Retrying failed download of http://archive.ubuntu.com/ubuntu/dists/precise/InRelease I: Retrieving InRelease
I have downloaded the chouton several times with no change. also I took my pc out of develeper mode and back into develeper mode with no change.
thanks in advance to anyone how can help
The text was updated successfully, but these errors were encountered: