Nginx update problem
sb at nginx.com
Mon Sep 9 12:41:53 UTC 2013
On 9 Sep2013, at 13:51 , litux <nginx-forum at nginx.us> wrote:
> When trying to update the nginx package on debian 8.0 jessie
> This is the error message
> `Preparing to replace nginx 1.4.1-3 (using
> .../nginx_1.4.2-1~squeeze_amd64.deb) ...
> Unpacking replacement nginx ...
> dpkg: error processing
> /var/cache/apt/archives/nginx_1.4.2-1~squeeze_amd64.deb (--unpack):
> trying to overwrite '/etc/logrotate.d/nginx', which is also in package
> nginx-common 1.4.1-3
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)`
> These nginx packages are installed
> ii nginx 1.4.1-3
> all small, powerful, scalable web/proxy server
> ii nginx-common 1.4.1-3
> all small, powerful, scalable web/proxy server - common files
> ii nginx-full 1.4.1-3
> amd64 nginx web/proxy server (standard version)
> These are the apt sources for nginx
> deb http://nginx.org/packages/debian/ squeeze nginx
> deb-src http://nginx.org/packages/debian/ squeeze nginx
> Any ideas how to solve this problem, as I understand can't upgrade the apt
> sources for nginx as these are not working
Debian nginx packages (nginx, nginx-common and nginx-full) conflict with our nginx package.
a) nginx_1.4.2-1~squeeze_amd64.deb was not tested on debian 8.0 jessie, use it at your own risk.
b) remove nginx, nginx-common and nginx-full and try to reinstall.
More information about the nginx