-
Notifications
You must be signed in to change notification settings - Fork 215
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
Installation fails for Heroku 7.68.0 on Debian 11 (stable) #2240
Comments
Thank you for letting us know. We'll look into it. |
This is almost a duplicate of #2213 , but the author closed that issue as completed when they found a workaround by using a later version of Ubuntu. |
I'm impacted by this and decided to go down the rabbit hole with some time available to me. TL;DR it looks like Research: The deb is packed in GHA: Lines 68 to 69 in 9aa4339
Which eventually calls Lines 11 to 14 in 9aa4339
Through some searching on DDG, I eventually found this S.O. Q/A that indicates that
or to pass
However, there's a lot of code stuff to test and change there. Perhaps the shortest solution is to use |
ubuntu-latest points to Ubuntu 22.04 as of this commit, which may use zstd by default for compressing all or a part of deb packages in `dpkg --build` or `dpkg-deb --build`. Debian 11 cannot use zstd, as filed in heroku#2240. So, revert to building on an older Debian/Ubuntu base to maintain compatibility with Debian 11 since it is still supported.
This enables passing options to override what dpkg-deb uses by default, which is zstd on newer versions of Debian/Ubuntu and xz on older versions. Debian 11 can't read zstd so when building on newer Debian base for older, specifying may be necessary. This should aid in the resolution of heroku/cli#2240. Co-authored-by: Mike Donnalley <mdonnalley@salesforce.com>
* feat: option to specify compression used for pack:deb (#1110) This enables passing options to override what dpkg-deb uses by default, which is zstd on newer versions of Debian/Ubuntu and xz on older versions. Debian 11 can't read zstd so when building on newer Debian base for older, specifying may be necessary. This should aid in the resolution of heroku/cli#2240. Co-authored-by: Mike Donnalley <mdonnalley@salesforce.com> * fix: use Flags.option * test: gzip test for pack deb * fix: no -Z option * test: debugging * test: debugging * test: debugging --------- Co-authored-by: Colin Dean <colindean@users.noreply.github.com>
Closing since we are on version 8.9.0. If this is still happening, please feel free to reopen. |
What is the current behavior?
What is the expected behavior?
The Heroku
.deb
would be decompressed and installed.Debian 11.6 "bullseye" (current stable release) includes dpkg 1.20.12, which does not know how to decompress Zstandard (zstd) format. That functionality was added in dpkg 1.21.18, and while Debian testing "bookworm" has included that version and beyond, it is built with a later version of libc6 than is compatible with that on bullseye, and to install on a bullseye system would require replacing a ton of packages with those from "bookworm", which is untenable.
The text was updated successfully, but these errors were encountered: