dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

简介:

ubuntu 12.04 安装nginx 开始使用默认的apt-get源进行安装 安装版本的1.1.9

后来想更新nginx的版本,直接apt -get remove nginx 然后继续安装报错,如下:

1
2
3
4
5
6
7
----------------------------------------------------------------------
dpkg: error processing  /var/cache/apt/archives/nginx_1 .8.1-1~precise_amd64.deb (--unpack):
  trying to overwrite  '/etc/default/nginx' which  is also  in  package nginx-common 1.1.19-1ubuntu0.8
dpkg-deb: error: subprocess  paste  was killed by signal (Broken pipe)
Errors were encountered  while  processing:
  /var/cache/apt/archives/nginx_1 .8.1-1~precise_amd64.deb
E: Sub-process  /usr/bin/dpkg  returned an error code (1)

后来又卸载了一下依赖包,

1
apt-get autoremove nginx

继续安装问题得到解决










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1759817,如需转载请自行联系原作者
目录
相关文章
|
8月前
已解决 BrokenPipeError: [Errno 32] Broken pipe
已解决 BrokenPipeError: [Errno 32] Broken pipe
2667 0
已解决 BrokenPipeError: [Errno 32] Broken pipe
|
7月前
|
数据库管理
SVN 执行cleanup报错:Cleanup failed to process the following paths : 解决方法
引用:https://www.cnblogs.com/pinpin/p/11395438.html 在SVN更新时提示文件被锁住了,要求执行 clean up操作,执行clean up时又报clean up failed。造成的原因是在某次更新后,点击了cancel按钮,操作没有完成所以会锁住。解决方法如下:
293 0
|
3月前
pip install -U weditor 安装报错 error: subprocess-exited-with-error
pip install -U weditor 安装报错 error: subprocess-exited-with-error
67 0
|
7月前
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
3月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
299 0
|
数据安全/隐私保护
dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2
dpkg-buildpackage: error: debian/rules binary subprocess was killed by signal 2
600 0
|
8月前
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
244 0
|
开发者 Python
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
342 0
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied
成功解决OSError: [Errno 22] Invalid argument: ‘checkpoints\20211211.pth.tar‘
成功解决OSError: [Errno 22] Invalid argument: ‘checkpoints\20211211.pth.tar‘