0

I was trying to install Kubernetes on data centre(VSphere) virtual machines, but it always fails at the first attempt with the below error, and when I re-run the same job it works without any error.

I can manage this issue using ignore in the Ansible script but don't want to do that. I want to update my package manager.

Please assist me to resolve this issue. My setup contains 3 virtual machines, one is considered a master and the rest two are worker nodes.

│ fatal: [worker-1]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'http://packages.vmware.com/packages/*** precise Release' does not have a Release file."}
│ fatal: [master]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'http://packages.vmware.com/packages/*** precise Release' does not have a Release file."}
│ fatal: [worker-2]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'http://packages.vmware.com/packages/*** precise Release' does not have a Release file."}
  • To help you better, you should share a [minimal-reproducible-example](https://stackoverflow.com/help/minimal-reproducible-example) – Khaled Sep 02 '22 at 08:34

0 Answers0