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

"Reading state information...", "The following packages will be DOWNGRADED:", " kubectl", "0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded."]} #1

Open
dimaromantest opened this issue Feb 21, 2024 · 2 comments

Comments

@dimaromantest
Copy link

TASK [master : install :: installs the Kubernetes packages] ********************************************************************************************************************
fatal: [master]: FAILED! => {"cache_update_time": 1708529945, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'kubectl=1.28.2-00'' 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 packages will be DOWNGRADED:\n kubectl\n0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages will be DOWNGRADED:", " kubectl", "0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded."]}

@dimaromantest
Copy link
Author

dimaromantest commented Feb 21, 2024

  • name: "install :: installs the Kubernetes packages"
    become: true
    ansible.builtin.apt:
    pkg:
    - kubectl=1.28.*
    force_apt_get: true

@dimaromantest
Copy link
Author

solved comment this up

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

No branches or pull requests

1 participant