Hello team,
I am receiving the error while setting the tools on Ubutntu for DevSecOps course.
https://learn.kodekloud.com/user/courses/devsecops-kubernetes-devops-security
Error:
E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (2: No such file or directory)
install-script.sh: line 24: pip3: command not found
install-script.sh: line 28: jc: command not found
install-script.sh: line 28: jq: command not found
Failed to enable unit: Unit file kubelet.service does not exist.
…----------------#################..-.-KUBERNETES-.-..#################----------------…
install-script.sh: line 34: kubeadm: command not found
install-script.sh: line 37: containerd: command not found
Failed to restart containerd.service: Unit containerd.service not found.
install-script.sh: line 42: kubeadm: command not found
cp: cannot stat ‘/etc/kubernetes/admin.conf’: No such file or directory
install-script.sh: line 47: kubectl: command not found
install-script.sh: line 48: kubectl: command not found
untaint controlplane node
install-script.sh: line 52: kubectl: command not found
install-script.sh: line 53: kubectl: command not found
install-script.sh: line 57: kubectl: command not found
…----------------#################..-.-Docker-.-..#################----------------…
install-script.sh: line 61: /etc/docker/daemon.json: No such file or directory
Failed to restart docker.service: Unit docker.service not found.
Failed to enable unit: Unit file docker.service does not exist.