-
Notifications
You must be signed in to change notification settings - Fork 367
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
google-chrome-beta_current_amd64.deb' is not a Debian format archive #114
Comments
me also |
Does anyone have any suitable workarounds for this at the moment? |
Same for me... Would appreciate if anyone has a solution? |
same |
1 similar comment
same |
So it looks like the chrome download is returning a 404 intermittently so the ".deb" file actually contains an error message rather than what it should. My hacky work around was to grab a copy of the deb and upload it to Github. Then I forked the buildpack and modded it to download the .deb file from there: https://github.com/Ottermad/heroku-buildpack-google-chrome |
thanks it worked! |
Hello, we have a hard time with this. Could you please provide us with a possible ETA for a fix ? Or if we can help in any way ? :) Thank you so much for you work ! |
safe ? |
+1 |
@Ottermad - you're a hero |
Hi Team, |
@Ottermad thanks! Would you mind maybe sending a PR? Or maybe @joshwlewis (who is working at Heroku and has the most commits in this repo) has a different approach in mind? Maybe we should just update the URL to the "new" URL for the deb package (idk what it is, but there sure is one, right?). I'm happy to help but would rather hear from someone at Heroku that has the power to decide what's the approach that we should move forward with. Thanks! |
He (@Ottermad) is self hosting the file so unless there is another trusted, shared, resource that can host the file it wouldnt be appropriate to point it to his file. If Heroku can self host the file then that would be OK, but surely the file itself should be available via the usual source shortly? |
I mean, there must be a way right now to install Chrome on Debian, right? If yes, there is an official URL somewhere. That's this theory that I am referring to. Or Heroku could possibly host it too, but it might not be an always current version. |
For now, I just forked @Ottermad's repo and compared the sha of the saved .deb with the one downloaded from the official servers. |
So the 404 being returned by the official URL seems to be intermitted so I guess the cURL could be modified to check for the 404 and retry a couple of times if it receives a 404? |
@Ottermad, you are my hero! |
It does not seem intermittent for my company's CI/CD on Heroku, we have dozens of failed runs with this error and no successful ones. Whilst if I go to the link manually it downloads fine every time. I would instead suspect there is a networking or distribution issue (via a CDN at Google? Or perhaps a gateway/caching proxy at Heroku?), that means some locations can get the package normally, and others cannot. |
Is it fixed yet? |
The situation looks to have been resolved, @elionntechguy, at least the url is not 404'ing any more.
|
Thank you, i was waiting all day for a fix! |
I have no idea what the original problem was, just glad it's back and I can deploy to Heroku again :) -starts quietly paniccing over NPM upstreams now...- |
When pushing changes to heroku, google chrome build pack gives the error:
remote: dpkg-deb: error: '/tmp/codon/tmp/cache/apt/cache/archives/google-chrome-beta_current_amd64.deb' is not a Debian format archive
remote: ! Push rejected, failed to compile Google Chrome app.
remote:
remote: ! Push failed
tried the beta channel as well as the stable channel, same issue
The text was updated successfully, but these errors were encountered: