Hi,
from your log:
/var/lib/dpkg/info/libapache2-mod-php5.prerm: 11: 
/var/lib/dpkg/info/libapache2-mod-php5.prerm: php5query: not found

This file is part of "php5-common"

It seems that due to a set of no-dependency/forced installs/removals you
reached a point where the uninstall of libapache2-mod-php5 fails due to
the other package being missing.

Please install the missing package and remove things in order (as it
would be done by the dependencies).

That should resolve your issue.

P.S. I also see php7.2-common in your logs, that would only exist in
bionic/cosmic - something is odd in your php dependencies for sure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745678

Title:
  package libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.22 failed to
  install/upgrade: subprocess installed pre-removal script returned
  error exit status 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1745678/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to