-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
How to override installation of a software package. #7968
Comments
You can specify versions of containerd and docker-ce with
by adding the above lines into inventory/<my_cluster>/group_vars/k8s_cluster/k8s-cluster.yml for example. |
I will check & let you know , if it works |
After I made above changes , I am getting below errors :- FAILED! => { |
@vishumindtree containerd v1.4.9 support has been added since #7970 after you tried. |
@oomichi It seems as if containerd v1.4.9 is hardcoded. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
How can we override software installation version via extravars to avoid below software version conflicts :-
"msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'containerd.io=1.4.4-1' 'docker-ce-cli=5:19.03.15
3-0ubuntu-bionic' 'docker-ce=5:19.03.153-0ubuntu-bionic'' failed: E: Packages were downgraded and -y was used without --allow-downgrades.\n","rc": 100,
"stderr": "E: Packages were downgraded and -y was used without --allow-downgrades.\n",
"stderr_lines": [
"E: Packages were downgraded and -y was used without --allow-downgrades."
],
"stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following package was automatically installed and is no longer required:\n docker-scan-plugin\nUse 'sudo apt autoremove' to remove it.\nThe following packages will be upgraded:\n docker-ce docker-ce-cli\nThe following packages will be DOWNGRADED:\n containerd.io\n2 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 6 not upgraded.\n",
"stdout_lines": [
"Reading package lists...",
"Building dependency tree...",
"Reading state information...",
"The following package was automatically installed and is no longer required:",
" docker-scan-plugin",
"Use 'sudo apt autoremove' to remove it.",
"The following packages will be upgraded:",
" docker-ce docker-ce-cli",
"The following packages will be DOWNGRADED:",
" containerd.io",
"2 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 6 not upgraded."
The text was updated successfully, but these errors were encountered: