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,如需转载请自行联系原作者
目录
相关文章
|
10月前
已解决 BrokenPipeError: [Errno 32] Broken pipe
已解决 BrokenPipeError: [Errno 32] Broken pipe
3412 0
已解决 BrokenPipeError: [Errno 32] Broken pipe
|
11天前
蓝易云 - LLVM编译报错解决:collect2: fatal error: ld terminated with signal 9 [Killed]
以上就是解决"collect2: fatal error: ld terminated with signal 9 [Killed]"错误的一些方法。
5 0
|
1月前
|
Python
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
【报错】Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘/METADATA‘
25 0
问题提解决: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
|
10月前
|
C语言
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
安装mujoco报错:distutils.errors.DistutilsExecError: command ‘gcc‘ failed with exit status 1
391 0
|
Ubuntu
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
145 0
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
ERROR: Could not install packages due to an Oserror: [Errno 13] Permission denied: RECORD Consider
ERROR: Could not install packages due to an Oserror: [Errno 13] Permission denied: RECORD Consider
951 0
ERROR: Could not install packages due to an Oserror: [Errno 13] Permission denied: RECORD Consider
成功解决OSError: [Errno 22] Invalid argument: ‘checkpoints\20211211.pth.tar‘
成功解决OSError: [Errno 22] Invalid argument: ‘checkpoints\20211211.pth.tar‘