David Martinez
New Pleskian
I get an error installing nginx as reverse proxy
Here is the log output:
Installation started in background
Comprobando si se resuelven las dependencias del paquete.
Instalando paquetes
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sw-nginx
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 1535 kB of archives.
After this operation, 4453 kB of additional disk space will be used.
Get:1 http://autoinstall.plesk.com/ubuntu/NGINX17/ trusty/all sw-nginx amd64 1.11.10-ubuntu14.04.17102311 [1535 kB]
Fetched 1535 kB in 0s (19.4 MB/s)
(Reading database ... 127239 files and directories currently installed.)
Preparing to unpack .../sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb ...
Unpacking sw-nginx (1.11.10-ubuntu14.04.17102311) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb (--unpack):
trying to overwrite '/etc/default/nginx', which is also in package nginx-common 1.4.6-1ubuntu3.8
dpkg-deb (subprocess): decompressing archive member: lzma write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Se ha producido un error cuando se intentaban instalar los paquetes.
¡Importante! Puede que su software no esté operativo.
Contacte con el equipo de soporte técnico del producto.
Any ideas?
Here is the log output:
Installation started in background
Comprobando si se resuelven las dependencias del paquete.
Instalando paquetes
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sw-nginx
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 1535 kB of archives.
After this operation, 4453 kB of additional disk space will be used.
Get:1 http://autoinstall.plesk.com/ubuntu/NGINX17/ trusty/all sw-nginx amd64 1.11.10-ubuntu14.04.17102311 [1535 kB]
Fetched 1535 kB in 0s (19.4 MB/s)
(Reading database ... 127239 files and directories currently installed.)
Preparing to unpack .../sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb ...
Unpacking sw-nginx (1.11.10-ubuntu14.04.17102311) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb (--unpack):
trying to overwrite '/etc/default/nginx', which is also in package nginx-common 1.4.6-1ubuntu3.8
dpkg-deb (subprocess): decompressing archive member: lzma write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/sw-nginx_1.11.10-ubuntu14.04.17102311_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Se ha producido un error cuando se intentaban instalar los paquetes.
¡Importante! Puede que su software no esté operativo.
Contacte con el equipo de soporte técnico del producto.
Any ideas?