• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Question Ubuntu 14.04.6 LTS‬ and aum : Depends: libapache2-mod-security2 but it is not installed

Andrew Stefaniuk

New Pleskian
Hello Group;
I have the following;
Ubuntu 14.04.6 LTS‬
Product Plesk Onyx
Version 17.8.11 Update #53

I am attempting to run the /opt/psa/bin/distupgrade.helper.ubt14-ubt16.x64.sh script so I can again Update Plesk,
but keep runing into:

"The following packages have unmet dependencies:
aum : Depends: libapache2-mod-security2 but it is not going to be installed
You might want to run 'apt-get -f install' to correct these:"

If I run apt-get -f install

I get the following:

"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)"

Can anyone send me a link on solving this issue.I've seen a lot for Unbuntu 16 but not 14 and inregardsto the distro upgrade

Thanks
Andrew
 
Try to remove (maybe with force) all libapache2-mod-security packages if installed on your system.
 
Thanks IgorG
I was able to run the distro update, however It ran into an issue at the end and now all the website are down....thoughts

Processing triggers for dbus (1.10.6-1ubuntu3.4) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_PHP%5f7.2.18_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_PHP%5f7.1.29_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP70%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP56%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP55%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP54%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP53%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PHP52%5f17_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PSA%5f17.8.11_dists_xenial_extras_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/autoinstall.plesk.com_ubuntu_PSA%5f17.8.11_dists_xenial_all_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_i18n_Translation-en - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_binary-i386_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_multiverse_binary-amd64_Packages - open (2: No such file or directory)
E: Could not open file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-backports_restricted_binary-amd64_Packages - open (2: No such file or directory)
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some error during dist-upgrade middle stage have occurred.
Check /var/log/plesk/install/plesk-distupgrade.log for error details.
Visit Dist-Upgrade Support for information about troubleshooting and recovering from failed dist-upgrade.
STOP Distupgrade
 
Back
Top