Answer the question
In order to leave comments, you need to log in
Is there an error during the NGINX upgrade process?
Now it costs nginx/1.6.2, Debian 8
Writes when updating.
~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
nginx
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/461 kB of archives.
After this operation, 1,023 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 38042 files and directories currently installed.)
Preparing to unpack .../nginx_1.8.0-1~jessie_amd64.deb ...
Unpacking nginx (1.8.0-1~jessie) over (1.6.2-5) ...
dpkg: error processing archive /var/cache/apt/archives/nginx_1.8.0-1~jessie_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx-full 1.6.2-5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.8.0-1~jessie_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
deb http://nginx.org/packages/debian/ jessie nginx
deb-src http://nginx.org/packages/debian/ jessie nginx
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question