Puppetmaster-passenger will not start after reinstalling due to libapache2-mod-passenger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
passenger (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
As requested by Micah Gersten:
When purging and installing puppetmaster-
Howto reproduce on fresh ubuntu precise machine:
1: aptitude install puppetmaster-
2: aptitude purge puppetmaster-
3: aptitude install puppetmaster-
First install: apache2 is installed togheter with libapache2-
First purge: libapache2-
Second install: libapache2-
The workaround to properly reinstall without running into problems is to completely remove puppetmaster-
1: aptitude install puppetmaster-
2: aptitude purge puppetmaster-
3: aptitude purge libapache2-
4: aptitude install puppetmaster-
As far as I can see the problem is that when puppetmaster-
Hi Glenn
I've been able to reproduce this issue using aptitude, but not apt.
Aptitude automatically removes (rather than purges) libapache2- mod-passenger when you purge puppetmaster- passenger.
As a result when you re-install puppetmaster- passenger (and hence libapache2- mod-passenger) it re-run the postinst script for libapache2- mod-passenger but it incorrect assumes that an upgrade is happening and exits before it re-enables the passenger module.
Marking 'Confirmed' and 'Low' - as you state the workaround of purging libapache2- mod-passenger works fine.
Also re-assigning to the passenger package as this is not a puppet problem.