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
Apt installation of the CLI fails on Ubuntu 16.04 #1327
Comments
|
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/155275176 The labels on this github issue will be updated when the story is started. |
|
same here |
|
Are these failures consistent? Or is the reason for failure the inconsistent part? |
|
they are consistent. seems like |
|
+1 this issue: It doesn't work when allowing insecure packages either: Note that the second failed attempt IP is different. |
|
Working around this, I ended up using the s3 repository directly: I don't know if this is recommended as a long term solution, but it worked for me in the short term. |
|
It looks like the issue is with a recent update of the |
|
@flavorjones has found a solution. It seems that the update to |
|
Using following worked for me: wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | apt-key add - apt-get update apt-get install cf-cli |
Command
When trying to install on the
ubuntu:16.04Docker image ifapt-get upgrade -yis run then the CLI can not be installed. We have also seen timeout failures when runningapt-get updatewhen the/etc/apt/sources.list.d/cloudfoundry-cli.listexists, even without an upgrade.Prepare the environment:
Run the installation commands:
What occurred
The installation fails intermittently. Sometimes while running
apt-get updateOther times while running
apt-get install cf-cliWhat you expected to occur
apt-get updateandapt-get install cf-clishould succeed without needing to specify--allow-unauthenticatedCLI Version
n/a
CC API Endpoint Version
n/a
CF Trace
n/a
Platform & Shell Details
Docker image
ubuntu:16.04usingbash4.3-14ubuntu1.2Any other relevant information
Based on the listing of files at https://cf-cli-debian-repo.s3.amazonaws.com/ it appears that the following files are missing:
http://packages.cloudfoundry.org/debian/dists/stable/InReleasehttp://packages.cloudfoundry.org/debian/dists/stable/main/binary-all/Packages.gzThe text was updated successfully, but these errors were encountered: