-
Notifications
You must be signed in to change notification settings - Fork 219
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
No package matching 'docker-ce' is available #58
Comments
Have you run |
Yes. This failed initially, I SSH'd into the server, ran an apt-get update and retried the role with the same result.
This behavior was not present a week or so ago. Docker might have changed their naming scheme for their Ubuntu packaging.
…On July 19, 2019 2:57:09 PM EDT, Nick Janetakis ***@***.***> wrote:
Have you run `apt-get update` on your host at least once before running
this role?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#58 (comment)
-- Andrew Cziryak
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Looks like something recently changed but Seems like maybe they decided to split |
I'm not convinced there's an issue with the role. The role is running to completion for me on Ubuntu 16.04 with no extra things being done outside of this role other than doing standard things you would do on a host such as enabling third party apt repos. You can see the result of the run at: https://travis-ci.org/nickjj/ansible-docker/builds/561203274 When you ran the role, did the tasks that set up Docker's repo run successfully? |
It did. I'll attempt a redeploy today and see if anything changes.
…On July 20, 2019 8:45:02 AM EDT, Nick Janetakis ***@***.***> wrote:
I'm not convinced there's an issue with the role.
The role is running to completion for me on Ubuntu 16.04 with no extra
things being done outside of this role other than doing standard things
you would do on a host such as enabling third party apt repos.
When you ran the role, did the tasks that set up Docker's repo run
successfully?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#58 (comment)
-- Andrew Cziryak
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|
Well, I have it in the scrollback of my terminal, and have made sure my playbooks are at the same revision as yesterday, but I'm no longer seeing the error. I'll let you know if this comes up again, but I'm no longer seeing this issue. Thanks for taking the time to look into it. |
FWIW, I ran into the same issue today, and think i'm looking at PEBCAK. I deployed a DO droplet that was 32 bit and ran into this error. Once I deployed a 64 bit image, it worked just fine. |
Expected Behavior
All packages required for docker are installed.
Actual behavior
TASK [docker : Install Docker] ***************************************************************************************************************************************************************************************************************
fatal: [example.com]: FAILED! => {"changed": false, "msg": "No package matching 'docker-ce' is available"}
Manual test
Workaround
apt install docker-ce-cli
EDIT
Host OS: Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-154-generic i686)
The text was updated successfully, but these errors were encountered: