-
Notifications
You must be signed in to change notification settings - Fork 932
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
Error while installing cli on debian #2376
Comments
Same issue when installing on debian bullseye. We suspect the OS used to build the debian package was changed to Ubuntu 22+ which uses the xstd compression which is not supported everywhere, hence why it breaks on non Ubuntu 22 OS. |
Same problem here. Distributor ID: Debian Get:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf8-cli amd64 8.6.0 [7082 kB] |
Hi, thanks for bringing this to our attention. @xandroc and I were able to reproduce this issue on a Debian container. As a workaround for now, you should be able to install the previous version by running Our post-release QA is performed on the Ubuntu container and works as expected. We will look into this issue. |
Thanks, this is what we have done for now, |
Should be solved with v8.6.1 Feel free to reopen if you have any questions. |
Describe the bug and the command you saw an issue with:
the following code to install cf cli stopped working since last version,
I have check and the documentation for installation didn't changed.
curl -s https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | apt-key add - &&
echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list &&
apt-get update &&
apt-get install -y cf8-cli
What happened:
our code started to fail since last version of CLI, here is the error we get:
Get:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf8-cli amd64 8.6.0 [7082 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 7082 kB in 4s (1920 kB/s)
dpkg-deb: error: archive '/var/cache/apt/archives/cf8-cli_8.6.0_amd64.deb' uses unknown compression for member 'control.tar.zst', giving up
dpkg: error processing archive /var/cache/apt/archives/cf8-cli_8.6.0_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/cf8-cli_8.6.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c curl -s https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | apt-key add - && echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list && apt-get update && apt-get install -y cf8-cli' returned a non-zero code: 100
Build step 'Execute shell' marked build as failure
Expected behavior:
CLI installed
Exact Steps To Reproduce:
run installation code as above on debian
Provide more context:
the code is part of our docker file
The text was updated successfully, but these errors were encountered: