Apache upgrade problem with OSSEC wui
As company compliance to Requirement 10 of PCI DSS, I recently installed a File Integrity Monitoring system using OSSEC HIDSi and it's been up and running. We are also required to conduct internal vulnerability scan with our network to comply with Requirement 11 and so I used Nexpose Rapid7. After scanning, report says that Linux server running OSSEC is vulnerable through its outdated Apache server (version 2.22) and suggest to upgrade it to version 2.4. Apache server is required for the OSSEC wui as well as PHP module (libapache2-
$ sudo apt-get --purge remove libapache2-mod-php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
php5-cli php5-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libapache2-
0 upgraded, 0 newly installed, 1 to remove and 74 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y\
(Reading database ... 166673 files and directories currently installed.)
Removing libapache2-mod-php5 ...
Purging configuration files for libapache2-mod-php5 ...
$ sudo apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-
E: Unable to correct problems, you have held broken packages.
From what I understand, libapache2-mod-php5 only works with Apache 2.2, so I cannot upgrade Apache to 2.4? Is there any workaround here?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply: