Ubuntu 12.04 installation nginx start using the default Apt-get source to install the installation version of 1.1.9
Later want to update Nginx version, directly apt-get remove Nginx and then continue to install the error, as follows:
----------------------------------------------------------------------Dpkg:error processing/var/cache/apt/ Archives/nginx_1.8.1-1~precise_amd64.deb (--unpack): Trying to overwrite '/etc/default/nginx ', which was also in package n Ginx-common 1.1.19-1ubuntu0.8dpkg-deb:error:subprocess paste was killed by signal (broken pipe) Errors were encountered W Hile processing:/var/cache/apt/archives/nginx_1.8.1-1~precise_amd64.debe:sub-process/usr/bin/dpkg returned an Error code (1)
Then I uninstalled the dependency package,
Apt-get Autoremove Nginx
Continuing installation issues are resolved
This article is from the "Loyalty" blog, make sure to keep this source http://xinsir.blog.51cto.com/5038915/1759817
Dpkg-deb:error:subprocess paste was killed by signal (broken pipe)