top | item 6763447

(no title)

mattrad | 12 years ago

I've just tried to update to stable using the instructions there, and when I ran apt-get install nginx, it returned:

dpkg: error processing /var/cache/apt/archives/nginx_1.4.4-1~precise_i386.deb (--unpack): trying to overwrite '/usr/sbin/nginx', which is also in package nginx-full 1.1.19-1ubuntu0.2 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/nginx_1.4.4-1~precise_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

Any suggestions on how to fix this? Ta.

discuss

order

oakwhiz|12 years ago

What I did to fix this error was first back up my configuration, then uninstall packages nginx, nginx-common, and nginx-full. Then I installed nginx again and there were no problems.

mattrad|12 years ago

That's done it! Where's the HN tip jar? :)