Skip to content
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

Cannot install CF CLI error: gpg: no valid OpenPGP data found #2598

Open
2 of 4 tasks
dkdralea opened this issue Oct 6, 2023 · 2 comments
Open
2 of 4 tasks

Cannot install CF CLI error: gpg: no valid OpenPGP data found #2598

dkdralea opened this issue Oct 6, 2023 · 2 comments

Comments

@dkdralea
Copy link

dkdralea commented Oct 6, 2023

Please fill out the issue checklist below and provide ALL the requested information.

  • I reviewed open and closed github issues that may be related to my problem.
  • I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
Provide details on what you were trying to do (and why).
Install CF CLI during deployment workflow.

What happened
A clear and concise description of what happen.
Installation of CF CLI fails with error: gpg: no valid OpenPGP data found.

Expected behavior
A clear and concise description of what you expected to happen.
CF CLI installation works.

Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:
wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list &&
sudo apt-get -y update &&
sudo apt-get -y install cf8-cli

Provide more context

  • ubuntu-20.04
  • cf8-cli
@dkdralea dkdralea changed the title gpg: no valid OpenPGP data found Cannot install CF CLI error: gpg: no valid OpenPGP data found Oct 6, 2023
@dkdralea
Copy link
Author

dkdralea commented Oct 6, 2023

Following the workaround from here works, but I feel it's hacky: https://answers.sap.com/questions/13210328/installing-cf-cli-on-ubuntu-20041.html
I can install CF CLI v8 I add --no-check-certificate as below:
wget --no-check-certificate -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -

Can you please have a look at the issue anyway?

@andreasvoigt
Copy link

Maybe connected to #2603 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants