Nginx update problem

litux nginx-forum at nginx.us
Mon Sep 9 09:51:14 UTC 2013


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:
 /var/cache/apt/archives/nginx_1.4.2-1~squeeze_amd64.deb
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

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242684,242684#msg-242684



More information about the nginx mailing list