Cannot install on Lubuntu 15.10 - missing dependency apache2-mpm-prefork

rdh61 wrote on Sunday, March 27, 2016:

I cannot install the deb package on Lubuntu 15.10 because of a missing dependency: apache2-mpm-prefork. I have installed apache2 but I cannot find a compatible version of apache2-mpm-prefork. What can I do? Thank you.

bradymiller wrote on Monday, March 28, 2016:

Hi,

Thanks for the report. I confirmed this bug on Ubuntu 15.10. Although you won’t install openemr, you can fix the broken installer by doing following:
sudo apt-get install -f
(this will remove the broken openemr install)

Appears that Ubuntu 15.10+ no longer supports apache2-mpm-prefork. I am thinking I will need to change apache2-mpm-prefork to apache2 here:
https://github.com/openemr/openemr/blob/master/contrib/util/ubuntu_package_scripts/production/control#L11
https://github.com/openemr/openemr/blob/master/contrib/util/ubuntu_package_scripts/development/control#L10

Will hopefully get these new packages tested and out over the next week.
(for now, will place a note on installation instructions on wiki that does not support Ubuntu 15.10+ for now)

If you need to install OpenEMR now, then recommend using the standard linux install instructions:
http://www.open-emr.org/wiki/index.php/OpenEMR_4.2.1_Linux_Installation

-brady
OpenEMR

rdh61 wrote on Monday, March 28, 2016:

OK, thanks. Will you post back if and when you manage to sort it?

bradymiller wrote on Monday, March 28, 2016:

Hi Robert,
Will post here when the new package is available.
-brady
OpenEMR

bradymiller wrote on Sunday, April 03, 2016:

Hi Robert,

I just posted a new package that addresses this issue. It tested well on Ubuntu 15.10.

-brady
OpenEMR

robcapps wrote on Monday, April 04, 2016:

Will this work as a straight upgrade from Ubuntu 15.04 to 15.10, or will I have to re-install OpenEMR, then restore from a backup made in 15.04 using the standard restoration procedure?

bradymiller wrote on Tuesday, April 05, 2016:

Hi,

Are you upgrading OpenEMR? If so, then the following should work:
http://www.open-emr.org/wiki/index.php/Ubuntu_Package_Upgrade_to_4.2.1

-brady

robcapps wrote on Tuesday, April 05, 2016:

I’ve already upgraded to 4.2.1, but I’m still “stuck” on Ubuntu 15.04. I was planning/wanting to upgrade Ubuntu to 15.10. It’s good to hear the apache2 issue has been addressed, but it wasn’t clear from your post if “tested well” just referred to a new install of OpenEMR on 15.10, or if upgrading from 15.04 to 15.10 would preserve an existing OpenEMR install. My situation would be the latter. Would it work?

fsgl wrote on Tuesday, April 05, 2016:

If you are on U 15.04/OE 4.2.1 presently, just backup OE & upgrade to U 15.10.

In case of a mishap, install a fresh copy of OE 4.2.1 & use restore script.

If no mishap with U 15.10 upgrade, you’re done.

robcapps wrote on Wednesday, April 06, 2016:

No offense, fsgl; I do appreciate the input. But I was hoping for a very specific answer from someone who I know for certain is actively maintaining the code base (i.e. Brady Miller). Or, failing that, a report from someone who has successfully done exactly what I was hoping to do.

bradymiller wrote on Wednesday, April 06, 2016:

Hi,
I have not specifically tried to upgrade 4.2.1 from Ubuntu 15.04 to 15.10. If somebody has done this, they can weigh in. In theory, there should be no problem with doing this, but recommend as fsgl suggests(and backup before proceeding; also rec consider trying it out on a non-production testing instance). Let us know how it goes.
-brady

robcapps wrote on Thursday, April 07, 2016:

During the automated Ubuntu upgrade (from 15.04 to 15.10), I got a pop-up notice asking to confrm removal of OpenEMR with a default of “no”. I proceeded with the “no”, and got a “failed to install” notice, and the updater froze. I’m going to restart.

bradymiller wrote on Thursday, April 07, 2016:

Hi,

That’s not good news. Very odd that openemr package got flagged like that. What do you see in following files:
/etc/openemr/<only file here; i forgot the name of it>
/var/log/openemr/<only file here; i forgot the name of it>

-brady

robcapps wrote on Thursday, April 07, 2016:

Sorry, it’s too late for that: I just reinstalled OpenEMR after completing the “partial upgrade” (which removed the previous OpenEMR) after restarting, then restored OpenEMR from backup. Which worked. Not as smoothly as I’d hoped, but at least not a pain-in-the-ass complete reinstallation of Ubuntu 15.04 and OpenEMR.

I didn’t see your post until after I’d finished (got a busy clinic day tomorrow/today, and I had to get this thing back up and running).

Again: sorry, Brady. I know it would’ve been worthwhile to check the logs…

bradymiller wrote on Thursday, April 07, 2016:

Glad to hear it’s up and running. If I have time, will try Ubuntu 15.04-15.10 on a virtual appliance.
-brady

rdh61 wrote on Wednesday, April 27, 2016:

Hi again, Any idea when a package that works with 16.04 will be available? Thanks.

fsgl wrote on Wednesday, April 27, 2016:

See this.

bradymiller wrote on Thursday, April 28, 2016:

Hi,

The 16.04 package is going to be challenging. The problem is all the different dependencies on the different versions of ubuntu and debian (php5 vs php7 vs php; note there is also mysql vs mariadb).

First goal is working out the dependencies on all the different ubuntu/debian OS’s(with different combinations of php/php5/php7 and mysql/mariadb):
http://www.open-emr.org/wiki/index.php/OpenEMR_System_Architecture#OpenEMR_Dependencies

-brady
OpenEMR