What happened?
I'm trying to install kubelet, kubeadm, and kubectl, using apt on Raspbian, following the instructions in the documentation.
I've successfully downloaded the signing key and APT list and I'm not getting any errors from sudo apt update or sudo apt upgrade. But trying sudo apt install -y kubelet kubeadm kubectl gives the following:
$ sudo apt install -y kubelet kubeadm kubectl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kubectl:arm64 is already the newest version (1.30.3-1.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kubelet:arm64 : Depends: socat:arm64 but it is not installable
Depends: ethtool:arm64 but it is not installable
Depends: conntrack:arm64 but it is not installable
Depends: libc6:arm64 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I've manually installed socat, ethtool, conntrack, and libc6 successfully, but the error continues. It looks like the cause is that kubelet depends explicitly on socat:arm64 (which I can't install) and not the more generic socat (which is installed).
This is on a pretty fresh Raspbian install, so I don't believe I've done anything custom.
What did you expect to happen?
APT to install the three packages successfully.
How can we reproduce it (as minimally and precisely as possible)?
Install Raspbian, then follow the instructions in the documentation:
$ sudo apt update
$ sudo apt install -y apt-transport-https ca-certificates curl gpg
$ curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
$ echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
$ sudo apt update
$ sudo apt install -y kubelet kubeadm kubectl
Note that I've used apt instead of apt-get, but there's no difference in effect.
Anything else we need to know?
No response
Kubernetes version
1.30 (but doesn't seem relevant)
Cloud provider
N/A
OS version
Details
# On Linux:
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
$ uname -a
Linux zeus 6.6.31+rpt-rpi-v8 kubernetes/kubernetes#1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
Install tools
Details
Container runtime (CRI) and version (if applicable)
Details
Related plugins (CNI, CSI, ...) and versions (if applicable)
Details
What happened?
I'm trying to install
kubelet,kubeadm, andkubectl, using apt on Raspbian, following the instructions in the documentation.I've successfully downloaded the signing key and APT list and I'm not getting any errors from
sudo apt updateorsudo apt upgrade. But tryingsudo apt install -y kubelet kubeadm kubectlgives the following:I've manually installed
socat,ethtool,conntrack, andlibc6successfully, but the error continues. It looks like the cause is thatkubeletdepends explicitly onsocat:arm64(which I can't install) and not the more genericsocat(which is installed).This is on a pretty fresh Raspbian install, so I don't believe I've done anything custom.
What did you expect to happen?
APT to install the three packages successfully.
How can we reproduce it (as minimally and precisely as possible)?
Install Raspbian, then follow the instructions in the documentation:
Note that I've used
aptinstead ofapt-get, but there's no difference in effect.Anything else we need to know?
No response
Kubernetes version
1.30 (but doesn't seem relevant)
Cloud provider
N/A
OS version
Details
Install tools
Details
Container runtime (CRI) and version (if applicable)
Details
Related plugins (CNI, CSI, ...) and versions (if applicable)
Details