I just did an update of mapserver and updated php5-mapscript and it's tossing an error. If I may say these lists are quite amazing - on the geomoose list they were just talking about the upgrade. I've been following their lead and install php5-mapscript and thats when it tossed an error:

Setting up php5-mapscript (6.4.1-3~precise1) ...
/var/lib/dpkg/info/php5-mapscript.postinst: 11: /var/lib/dpkg/info/php5-mapscript.postinst: php5enmod: not found
dpkg: error processing php5-mapscript (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 php5-mapscript
E: Sub-process /usr/bin/dpkg returned an error code (1)

I guess the big question is this something on my end or a problem with mapserver? I'm on a VM of 12.04 LTS

BTW - thanks for the upgrade to 6.4.1 - I was in the middle of compiling and was going slightly cross eyed.

Randy

-----------------
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 [email protected]
<mailto:[email protected]>
twitter:rjhale
http://about.me/rjhale

On 01/17/2014 05:07 PM, Worth Lutz wrote:
Johan,

I've got something working but have broken some other stuff.  I think that I
should have waited before starting to repair things until I heard from this
list.

But sometimes I get impatient. :)  And Google gives LOTS of answers! :)

Here is what got apache running again on my server:

sudo apt-get update    # this was needed to get rid of the one in ubuntugis
sudo apt-get install apache2=2.2.22-1ubuntu1.4
sudo service apache2 restart

apache2 did NOT restart at this point. There were modules enabled which were
not available. With each restart try I found another one.
Thus:

a2dismod access_compat
a2dismod authn_core
a2dismod authz_core
a2dismod mpm_prefork

Eventually I got rid of the unavailable modules. None of these were enabled
on my other systems so I should be ok.

Hopefully that is all I need to fix.

Thanks for your help. I hope no one else got caught by this. I just have
been waiting for this update of MapServer and wanted to test some things.

Worth

-----Original Message-----
From: Johan Van de Wauw [mailto:[email protected]]
Sent: Friday, January 17, 2014 4:28 PM
To: Worth Lutz
Subject: Re: [Ubuntu] MapServer 6.4 on Ubuntu 12.04

Worth,

pressed the send button a bit too fast. Try
sudo apt-get install apache2=2.2.22-1ubuntu1.4
based on the rollbackupdate link above

On Fri, Jan 17, 2014 at 10:19 PM, Johan Van de Wauw
<[email protected]> wrote:
Jerome,

I think we should not include apache2 in ubuntugis: this is an
important server package with an enormous amount of reverse
dependencies.
Moreover we can not provide the necessary security updates that a
package like apache2 requires.

Since your package seems to break some existing installs I will remove
the package from unstable and move it to testing (so we still have
your changes).

If you still consider the update needed discuss that one definitely on
this list first.

Worth:
I will first remove apache2 from the repository.
Some instructions on rolling back an install:
https://wiki.debian.org/RollbackUpdate

Johan

On Fri, Jan 17, 2014 at 10:08 PM, Worth Lutz <[email protected]> wrote:
Jerome,

I tried to update MapServer and also seem to have also updated apache2
from
the ppa at the same time. I wasn't watching what I was doing.

The apache2 update has broken apache. Luckily this is my sandbox server
with
nothing that important on it.  :)

Is Apache2-v2.4 needed for the update to MapServer??

How do I revert the Apache installation?

Worth

_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki
_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki

_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki

Reply via email to