• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue nginx webserver - error while installing

Chris1904

New Pleskian
Hi everyone,

I generally don't need any help as everything seems pretty straight forward and very, very easy to use. :)

Unfortunately, the error I receive when installing the nginx webserver from the Plesk Installer I receive this error and the error log is:

Code:
[2017-04-16 00:12:51.607585] Installation started in background
[2017-04-16 00:12:51.607636]
Getting bootstrapper packages to installation list:
[2017-04-16 00:12:51.607669] Following bootstrapper packages will be installed: (empty)
[2017-04-16 00:12:51.607684] ----------------
[2017-04-16 00:12:51.607696] Getting packages to installation list:
[2017-04-16 00:12:51.607726] Following packages will be installed: sw-nginx-1.11.10-ubuntu16.04.17040416.amd64
[2017-04-16 00:12:51.607740] ----------------
[2017-04-16 00:12:51.607767] Checking whether the package dependencies are resolved.
[2017-04-16 00:12:51.607791] autoinstaller: read output of DEBIAN_FRONTEND=noninteractive LANG=C apt-get --assume-yes --show-upgraded --purge --no-reinstall -o APT::Get::List-Cleanup=true -o Dpkg::options::=--force-confdef -o Dpkg::options::=--force-confold -o APT::Get::AllowUnauthenticated=false -o Acquire::Retries=3 -t 'xenial*' --just-print install sw-nginx=1.11.10-ubuntu16.04.17040416
[2017-04-16 00:12:52.250208] (regen obsoletes cache)
[2017-04-16 00:12:52.250290] Check package set before installation
[2017-04-16 00:12:52.250551] The following packages from not selected components will be installed because they are required by other components' packages you selected for installation:
[2017-04-16 00:12:52.281678] Installing packages
[2017-04-16 00:12:52.284184] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_17_0_17', sequence='prep', stage='execute', sequence_order='-1', operation='install', exec_cmd='touch /tmp/pp-bootstrapper-mode.flag; touch /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', output: ~empty
[2017-04-16 00:12:52.288235] Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
 gstreamer1.0-plugins-base libcdparanoia0 libdouble-conversion1v5 libevdev2
 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libinput10
 libluajit-5.1-2 libluajit-5.1-common libmtdev1 libproxy1v5 libqt5core5a
 libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5
 libqt5qml5 libqt5quick5 libqt5sql5 libqt5sql5-sqlite libqt5svg5
 libqt5webkit5 libqt5widgets5 libuv1 libvisual-0.4-0 libwacom-bin
 libwacom-common libwacom2 libxcb-icccm4 libxcb-image0 libxcb-keysyms1
 libxcb-randr0 libxcb-render-util0 libxcb-util1 libxcb-xkb1
 libxkbcommon-x11-0 nginx-common plesk-py27-pip plesk-py27-setuptools
 plesk-py27-virtualenv plesk-wheel-cffi plesk-wheel-cryptography
 plesk-wheel-psutil qttranslations5-l10n
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
 sw-nginx
N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B/565 kB of archives.
After this operation, 1792 kB of additional disk space will be used.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 175274 files and directories currently installed.)
Preparing to unpack .../sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb ...
Unpacking sw-nginx (1.11.10-ubuntu16.04.17040416) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb (--unpack):
 trying to overwrite '/lib/systemd/system/nginx.service', which is also in package nginx-common 1.10.0-0ubuntu0.16.04.4
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-ubuntu16.04.17040416_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_17_0_17', sequence='pkgs', stage='rollback', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; touch /var/lock/parallels-panel-upgrade-failure.flag; /etc/init.d/psa restart; :'', m_arch='', output: ~empty
[2017-04-16 00:12:53.472580] Error: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Please contact product technical support.

I don't seem to get any smarter from this. What could be causing this issue?\

Thanks so much for any help!

Chris
 
Hi Chris1904,

such issues/errors/problems:
Code:
Unpacking sw-nginx (1.11.10-ubuntu16.04.17040416) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb (--unpack):
 trying to overwrite '/lib/systemd/system/nginx.service', which is also in package nginx-common 1.10.0-0ubuntu0.16.04.4
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-ubuntu16.04.17040416_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
... are ( mostly ) temporary failures and ( normally ) could be solved with the example commands ( for Debian/Ubuntu - based systems ) ( over the command line, logged in as user "root" over SSH ):
Code:
apt-get clean
apt-get update
aptitude upgrade


You have as well the possibility to (re-)install depending packages with "dpkg", to solve issues/errors/problems with your package management on your server:

Suggested example command ( for Debian/Ubuntu - based systems ) ( over the command line, logged in as user "root" over SSH ):
Code:
dpkg -i /var/cache/apt/archives/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb

( or, if you downloaded a package manually into a folder of your choice )
dpkg -i /COMPLETE/PATH/TO/THE/FOLDER/sw-nginx_1.11.10-ubuntu16.04.17040416_amd64.deb



In addition, pls. be informed about the following Debian/Ubuntu commands:
Code:
Configure packages, which have not been installed correctly, or where the installation process
got interrupted and which are therefore unfinished

dpkg --configure -a

Code:
Re-install packages, if you experience issues/errors/problems during an update/upgrade/patch process

aptitude reinstall PACKAGE-NAME
 
Back
Top