跳转到主要内容
首页

用户帐户菜单

  • 登录

主导航

  • 首页
  • 小公司运营
  • 网站建设
  • 创业杂谈
  • 兼职赚钱
  • 小微企业信息化
  • 手册教程
    • 《大伟哥的Drupal 8建站指南》
    • 《通过JohnChow.Com在网上赚钱》
  • 关于

面包屑

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

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

By 大伟哥 | 2022-11-01,周二, 22:58

新安装的 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 

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

  • 添加新评论
  • 581 阅读
Debian
Linux

评论

王光卫博客

2 years 1 month 之前

永久连接

自从有了ubuntu就没接触过Debian了

  • 回复

添加新评论

此字段内容将保密,不会被其他人看见。
关于文本格式
  • 不允许使用HTML标签。
CAPTCHA
8 + 12 =
计算出这道简单的算术题并键入答案。例如、1+3,就输入 4。
发布评论前,请通过下面的验证,以免被当作垃圾评论机器人屏蔽。

搜索

沪ICP备17000093号-1

公安备案沪公网安备 31011402008254号

© 2016-2022 大伟哥博客版权所有