nvtienanh / ansible-kubernetes-bare-metal

Installing a bare-metal Kubernetes cluster with Ansible
18 stars 15 forks source link

"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 7 months ago

dimaromantest commented 7 months ago

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 commented 7 months ago
dimaromantest commented 7 months ago

solved comment this up