# Nginx update problem

**URL:** <https://www.ruby-forum.com/t/nginx-update-problem/236511>\
**Category:** NGINX\
**Created:** [September 9, 2013, 11:51am UTC](https://www.ruby-forum.com/t/nginx-update-problem/236511 "2013-09-09T11:51:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alcina](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/a587f6/32.png) [@alcina](https://www.ruby-forum.com/u/alcina)\
**Post date:** [September 9, 2013, 11:51am UTC](https://www.ruby-forum.com/t/nginx-update-problem/236511/1 "2013-09-09T11:51:48Z")

</div>

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 [Index of /packages/debian/](http://nginx.org/packages/debian/) squeeze nginx  
deb-src [Index of /packages/debian/](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:

> **[Nginx update problem](https://forum.nginx.org/read.php?2,242684,242684#msg-242684)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![litux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/eb9ed0/32.png) [@litux](https://www.ruby-forum.com/u/litux)\
**Post date:** [September 9, 2013, 2:42pm UTC](https://www.ruby-forum.com/t/nginx-update-problem/236511/2 "2013-09-09T14:42:22Z")

</div>

On 9 Sep2013, at 13:51 , litux [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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 [Index of /packages/debian/](http://nginx.org/packages/debian/) squeeze nginx  
> deb-src [Index of /packages/debian/](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.
