• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Plesk failing to update - unmet dependencies in libapache2-mod-security2

IanStratton

New Pleskian
Hi

I've got the failed to update Plesk today.

I'm running:

‪Ubuntu 14.04.5 LTS‬
ProductPlesk Onyx
Version 17.8.11 Update #53

This is the last bit of the error log file:

E: Some index files failed to download. They have been ignored, or old ones used instead.
Warning: there are errors in 'apt-get update'
Retrieving information about the installed license key...
Launching component and product checkers...
Downloading file PSA_17.8.11/examiners/disk_space_check.sh: 0%
Downloading file PSA_17.8.11/examiners/disk_space_check.sh: 100% was finished.
Checking whether the package dependencies are resolved.
E: Unmet dependencies. Try using -f.
---X--- `apt-get` output ---------------------
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
aum : Depends: libapache2-mod-security2 but it is not installed

---------------------- `apt-get` output ---X---
Collecting error details into the log file...

ERROR: Installation will not continue

The apg-get failed with the following message:
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
aum : Depends: libapache2-mod-security2 but it is not installed

Not all packages were installed.
Please contact product technical support.

I've tried
# apt-get -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libmemcached10 libmemcachedutil2 plesk-py27-pip plesk-py27-setuptools
plesk-py27-virtualenv plesk-wheel-cffi plesk-wheel-cryptography
plesk-wheel-psutil
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libapache2-mod-security2
The following NEW packages will be installed
libapache2-mod-security2
0 to upgrade, 1 to newly install, 0 to remove and 94 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/198 kB of archives.
After this operation, 1,091 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libapache2-mod-security2.
(Reading database ... 133397 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-security2_2.7.7-2_amd64.deb ...
Unpacking libapache2-mod-security2 (2.7.7-2) ...
dpkg: error processing archive /var/cache/apt/archives/libapache2-mod-security2_2.7.7-2_amd64.deb (--unpack):
trying to overwrite '/etc/apache2/mods-available/security2.conf', which is also in package libapache2-modsecurity 2.9.2-ubuntu14.04.18021217
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libapache2-mod-security2_2.7.7-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any advice please.
 
Execute the following commands:

# dpkg -i --force-overwrite /var/cache/apt/archives/libapache2-modsecurity_2.9.2-ubuntu14.04.18021217_amd64.deb
# dpkg -i --force-overwrite /var/cache/apt/archives/libapache2-mod-security2_2.7.7-2_amd64.deb

Note: ignore if one of the commands fails.

Install Plesk updates:

# plesk installer update
 
Back
Top