联系管理员

开通文章发布权限

扫码 添加微信
微信图片
电话: QQ:3810899917

-bash: gpg: command not found curl: (23) Failed writing body

报错:root@unc003:~# curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg -bash: gpg: command not found curl: (23) Failed writing body

报错:root@unc003:~# curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg -bash: gpg: command not found curl: (23) Failed writing body
报错原因:
这个错误是因为系统中没有安装 gpg 工具。我们需要先安装 gpg 才能继续。

apt update 
apt install -y gnupg

评论

快捷导航

把好文章收藏到微信

打开微信,扫码查看

关闭

还没有账号?立即注册