[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache2/PHP7 fails in Buster



On Thursday 16 January 2020 12:48:50 Roberto C. Sánchez wrote:

> On Thu, Jan 16, 2020 at 12:43:17PM -0500, Greg Wooledge wrote:
> > Well, it seems it's failing because it tries to enable the php7.3
> > module -- which it can't do, because the module's not THERE.
> >
> > If it were me, I would attempt to purge this package (not just
> > remove), and then reinstall it.
>
> The --reinstall should have handled that.

But unless its been fixed, that won't work, where the purge then install 
usually does. Its miss-worked that way since wheezy, here.

> > If purging fails because of a2enmod being unable to find the module
> > and manipulate it in various ways, then it might be necessary to
> > short-circuit the prerm/postinst/etc. scripts so that they do
> > nothing, just so you can purge everything.
> >
> > The normal way to do that with a prerm or postinst script is to
> > stick "exit 0" near the top of it.
>
> That would be a good approach.
>
> Regards,
>
> -Roberto


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: