• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Resolved Activating/updating Atomicorp ruleset (ModSecurity) results in "unmet dependencies" error

King555

Regular Pleskian
Server operating system version
Ubuntu 18.04.6 LTS x64
Plesk version and microupdate number
18.0.56 Update #1 web admin edition
I'm trying to activate the Atomicorp (basic) ruleset in ModSecurity within Plesk. I got several different error messages within the last months (and I was not the only one, there are many threads about problems), but meanwhile it seems that this is the only message which prevents me from using the Atomicorp ruleset (Comodo works great, but I don't like it):

Code:
The following packages have unmet dependencies:
 libapache2-modsecurity-plesk : Conflicts: libapache2-mod-security2

This is from the log file which is created by the "aum" program.

Is it because Ubuntu 18 is not supported anymore? Plesk has been updated to the latest version today and I already removed and reinstalled ModSecurity. Any ideas?
 
I guess that third-party repositories exist on the server that are incompatible.
If that is the case, one solution might be to
  1. Login to the server via SSH
  2. Check if any 3rdpary repositories are enabled. Disable the according to https://support.plesk.com/hc/en-us/articles/213367169
  3. Remove "libapache2-modsecurity" package from the system:
    # dpkg -P --force-all libapache2-modsecurity
  4. Execute below command to configure packages:
    # apt-get -f install
  5. Reinstall manually Plesk updates:
    # plesk installer update --repatch
 
Probably you mean "libapache2-mod-security2" instead of "libapache2-modsecurity" (because the first one is in my error message). But no matter whether I use dpkg or apt to remove "libapache2-mod-security2", this package is not installed (this is also the case for "libapache2-modsecurity"). Installed is only "libapache2-modsecurity-plesk".

My "/etc/apt/sources.list" contains more entries than mentioned in the support article, but all entries look like the official Ubuntu entries, definitely no 3rd-party entries.

"apt-get -f install" does nothing (nothing to do).
 
Meanwhile it works again. I activated it yesterday and had no problems doing that. Maybe it's because I could install additional updates for Ubuntu 18, because I now have the "TuxCare Extended Lifecycle Support" plugin. So the issue is resolved (for me).
 
Back
Top