I get this error while trying to upgrade:
Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ...
Unpacking replacement nginx ...
dpkg: error processing /var/cache/apt/archives/nginx_1.4.5-1~raring_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx-full 1.4.4-4~raring
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.4.5-1~raring_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm using these repos:
deb http://nginx.org/packages/ubuntu/ raring nginx
deb-src http://nginx.org/packages/ubuntu/ raring nginx
Why is this file in nginx and nginx-full? I thought nginx-full depends on nginx?
Does anyone know why this happens and how to resolve it? Thank you!