Bug 14633

Summary: apache2-mpm-itk depencency makes Koha uninstallable on Debian Stretch
Product: Koha Reporter: John.Seymour
Component: PackagingAssignee: John.Seymour
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P4 CC: brendan, f.demians, gmc, gmcharlt, josef.moravec, julian.maurice, library, magnus, mirko, mtompset, robin
Version: MainKeywords: dependency
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Patch to control.ini to add or dependency to libapache2-mpm-itk
Bug 14633 - Patch to control.ini to add or dependency to libapache2-mpm-itk
Bug 14633 - Patch to control.ini to add or dependency to libapache2-mpm-itk
Bug 14633: Patch to control.ini to add or dependency to libapache2-mpm-itk

Description John.Seymour 2015-08-03 03:59:26 UTC
Please replace the dependency on the transitional package apache2-mpm-itk with
a dependency on libapache2-mpm-itk as apache2-mpm-itk has been dropped from Stretch.
Comment 1 Robin Sheat 2015-08-03 04:08:51 UTC
Well have to track back and make sure this is the case in the supported distros (Ubuntu 14.04LTS, Wheezy, and Jessie) too. But even if it's not, doing an 'or' dependency is trivial.

So yeah, important. At least, important before the next Debian release so we have a year or two :)
Comment 2 Ian Palko 2015-12-03 19:40:51 UTC
In trying to set up a test server with Plack (on Ubuntu 15.10 given that 14.04 doesn't have Apache 2.4.10), koha is uninstallable. The package apache2-mpm-itk, has been removed.

Yes, Debian may still work for the next year or more, but without a fix Koha will be broken on the next Ubuntu LTS (16.04) this April. 

Not supporting Ubuntu would certainly be a serious problem.

Perhaps this might suggest an expedited fix.
Comment 3 Ian Palko 2016-01-29 14:44:11 UTC
Perhaps a reminder that the next Ubuntu LTS is due out in less than 3 months, and Koha will be broken on that platform unless the dependency issue is fixed.

Perhaps we could get this patched and signed off before then?
Comment 4 John.Seymour 2016-02-04 06:01:39 UTC Comment hidden (obsolete)
Comment 5 John.Seymour 2016-02-04 06:03:44 UTC
This patch fixes the dependency problem by adding libapache2-mpm-itk as an or dependency for apache2-mpm-itk.
Comment 6 Mirko Tietgen 2016-02-10 10:59:11 UTC
Switching to needs signoff. Please undo if it is not ready for testing.
Comment 7 Mark Tompsett 2016-02-10 20:54:39 UTC
Confirmed that koha-common does not install on Ubuntu 16.04 nightly build.
Comment 8 Mark Tompsett 2016-02-11 03:41:26 UTC Comment hidden (obsolete)
Comment 9 Mark Tompsett 2016-02-11 03:42:03 UTC
Comment on attachment 47630 [details]
Patch to control.ini to add or dependency to libapache2-mpm-itk

This wasn't uploaded as a patch. I corrected that.
Comment 10 Mark Tompsett 2016-02-13 04:26:55 UTC
I am attempting to test this. Had my first failure, but I've got other ideas to try first.
Comment 11 Magnus Enger 2016-03-29 07:15:16 UTC
(In reply to M. Tompsett from comment #10)
> I am attempting to test this. Had my first failure, but I've got other ideas
> to try first.

Did you get to look any more at this?
Comment 12 Mark Tompsett 2016-03-29 12:04:13 UTC
(In reply to Magnus Enger from comment #11)
> Did you get to look any more at this?

No. It didn't seem to work, and I didn't feel like pursuing it further.
Comment 13 Chris Cormack 2016-04-04 09:57:44 UTC Comment hidden (obsolete)
Comment 14 Tomás Cohen Arazi (tcohen) 2016-04-04 13:23:12 UTC
Created attachment 49856 [details] [review]
Bug 14633: Patch to control.ini to add or dependency to libapache2-mpm-itk

The other attachment was not a patch which could be applied by
'git bz'. This corrects that.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

debian/update-control will need to be run after this is applied, but
it works well
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 15 Brendan Gallagher 2016-04-05 15:17:28 UTC
Pushed to Master - Should be in the May 2016 release.  Thanks!
Comment 16 Julian Maurice 2016-04-06 12:54:22 UTC
Patch pushed to 3.22.x, will be in 3.22.6
Comment 17 Frédéric Demians 2016-04-27 15:42:16 UTC
Pushed to 3.20.x, will be in 3.20.11.