• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Unable to install nginx extension

Oliver1

New Pleskian
When I try to install nginx under "Updates and Upgrades" i always get the following error report.


Code:
Installation started in background

Getting bootstrapper packages to installation list:
Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: sw-nginx-1.6.0-1.14060313.ubuntu1404.amd64
----------------
Auflösung der Paketabhängigkeiten wird geprüft.
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=true -o Acquire::Retries=3 -t 'trusty*' --just-print install sw-nginx=1.6.0-1.14060313.ubuntu1404
add to install list psa-phpfpm-configurator-1.0.0-ubuntu14.04.build1200140604.16
(regen obsoletes cache)
Check package set before installation
The following packages from not selected components will be installed because they are required by other components' packages you selected for installation:
Pakete werden installiert
Bootstrapper has finished action (exec time: 0.00022 sec.): parent_name='PLESK_12_0_18', 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=''
Reading package lists...
Building dependency tree...
Reading state information...
psa-phpfpm-configurator is already the newest version.
The following NEW packages will be installed:
sw-nginx
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 0 B/271 kB of archives.
After this operation, 815 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
sw-nginx
Authentication warning overridden.
(Reading database ... 85221 files and directories currently installed.)
Preparing to unpack .../sw-nginx_1.6.0-1.14060313.ubuntu1404_amd64.deb ...
Unpacking sw-nginx (1.6.0-1.14060313.ubuntu1404) ...
dpkg: error processing archive /var/cache/apt/archives/sw-nginx_1.6.0-1.14060313.ubuntu1404_amd64.deb (--unpack):
trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx-common 1.4.6-1ubuntu3.1
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.6.0-1.14060313.ubuntu1404_amd64.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/sw-nginx_1.6.0-1.14060313.ubuntu1404_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bootstrapper has finished action (exec time: 0.00048 sec.): parent_name='PLESK_12_0_18', 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; :'', m_arch=''
Error: Ein Fehler ist aufgetreten bei dem Versuch, Pakete zu installieren.
Achtung! Ihre Software ist vielleicht nicht betriebsbereit.
Bitte kontaktieren Sie den technischen Produktsupport.



I'm running Plesk 12.0.18. Anyone stumbled upon this before? Is there a workaround? Do i have to wait for an update?
 
Try to fix it with something like:

sudo apt-get update
sudo apt-get purge sw-nginx
sudo apt-get install sw-nginx
 
Thank you for your help. The issue was that i installed nginx by command line before. Unfortunatly i haven't uninstalled all nginx parts (only 1) before i tried to install it by plesk.

these commands helped me to find the other nginx-packages
Code:
sudo apt-get install aptitude
aptitude -F' * %p -> %d ' --no-gui --disable-columns search '?and(~i,!?section(libs), !?section(kernel), !?section(devel))'
 
Back
Top