在 k8s 的升级帮助文档中有一段命令用到了 apt-mark unhold
与 apt-mark hold
,请问这2个命令有什么用?
replace x in 1.17.x-00 with the latest patch version
apt-mark unhold kubeadm && \
apt-get update && apt-get install -y kubeadm=1.17.x-00 && \
apt-mark hold kubeadm
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
阻止自动更新(apt upgrade时忽略)。所以更新的时候先unhold,更新完再hold。