关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

解决 Debian 11 "Cannot write to ‘-’ (Broken pipe)."

发布时间:2023-05-05 13:07:15
1491984010112764.jpg

新安装的 Debian 11 在使用第三方软件源的时候,需要首先添加第三方软件源的密钥。比如说我要把 ODOO 13 的源加入系统,需要运行:

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -

这时候 Debian 11 可能会报错:

E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
connected.
HTTP request sent, awaiting response... 200 OK
Length: 3112 (3.0K) [application/octet-stream]
Saving to: ‘STDOUT’
-  0%[  ]   0  --.-KB/s    in 0s
Cannot write to ‘-’ (Broken pipe).

系统提示没有安装该操作需要的gnupg, gnupg2 and gnupg1包,因此我们按照先提示安装上面提到的软件:

apt install gnupg 

然后再重新运行上面的命令,就可以了。



/template/Home/8a/PC/Static