Skip to content

Instantly share code, notes, and snippets.

@wildjcrt
Created March 16, 2016 07:40
Show Gist options
  • Save wildjcrt/9558a562abd31208093a to your computer and use it in GitHub Desktop.
Save wildjcrt/9558a562abd31208093a to your computer and use it in GitHub Desktop.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
nginx
1 upgraded, 0 newly installed, 0 to remove and 126 not upgraded.
Need to get 628 kB of archives.
After this operation, 2,304 kB of additional disk space will be used.
Get:1 http://nginx.org/packages/mainline/ubuntu/ trusty/nginx nginx amd64 1.9.12-1~trusty [628 kB]
Fetched 628 kB in 2s (279 kB/s)
(Reading database ... 115044 files and directories currently installed.)
Preparing to unpack .../nginx_1.9.12-1~trusty_amd64.deb ...
Unpacking nginx (1.9.12-1~trusty) over (1.8.0-1+trusty1) ...
dpkg: error processing archive /var/cache/apt/archives/nginx_1.9.12-1~trusty_amd64.deb (--unpack):
trying to overwrite '/etc/default/nginx', which is also in package nginx-common 1.8.0-1+trusty1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.9.12-1~trusty_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment