hi Bryce

thank you very much for your try to fix this! if i have the possibility
to find a way to reproduce this bug, i will do so ;-)

bye michael


Am 31.08.20 um 20:17 schrieb Bryce Harrington:
> Hi Michael,
>
> We've seen some idiosyncratic corner cases like this with mod_php,
> however I'm not able to replicate this particular one you've seen, so
> need some additional information on how to trigger it.
>
> In a 20.04 LXD container, I tested:
>
> $ sudo apt-get install apache2
> The following NEW packages will be installed:
>    apache2 apache2-bin apache2-data apache2-utils libaprutil1-dbd-sqlite3 
> libaprutil1-ldap libjansson4 liblua5.2-0
> 0 upgraded, 8 newly installed, 0 to remove and 58 not upgraded.
> ...
>
> $ sudo apt-get install libapache2-mod-php7.4
> The following NEW packages will be installed:
>    libapache2-mod-php7.4 php-common php7.4-cli php7.4-common php7.4-json 
> php7.4-opcache php7.4-readline
> 0 upgraded, 7 newly installed, 0 to remove and 58 not upgraded.
> ...
>
> # Verify php module is enabled:
> $ ls -l /etc/apache2/mods-enabled/php*
> lrwxrwxrwx 1 root root 29 Aug 31 17:52 /etc/apache2/mods-enabled/php7.4.conf 
> -> ../mods-available/php7.4.conf
> lrwxrwxrwx 1 root root 29 Aug 31 17:52 /etc/apache2/mods-enabled/php7.4.load 
> -> ../mods-available/php7.4.load
>
> # Purge apache2:
> $ sudo apt purge apache2
> The following packages will be REMOVED:
>    apache2*
>
> # No modules enabled at this point:
> $ ls -ld /etc/apache2/mods-enabled
> ls: cannot access '/etc/apache2/mods-enabled': No such file or directory
>
> # Install apache2 again:
> $ sudo apt install apache2
>
> # Some modules are enabled, but not php*:
> $ ls -l /etc/apache2/mods-enabled | wc -l
> 30
> $ ls -l /etc/apache2/mods-enabled/php*
> ls: cannot access '/etc/apache2/mods-enabled/php*': No such file or directory
>
> # Now try to reinstall the php mod:
> $ sudo apt install libapache2-mod-php7.4 --reinstall
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 58 not upgraded.
> ...
> apache2_switch_mpm Switch to prefork
> apache2_invoke: Enable module php7.4
>
> This is with:
>    apache2                2.4.41-4ubuntu3.1
>    libapache2-mod-php7.4  7.4.3-4ubuntu2.2
>
> Can you see if you can reproduce the failure in a clean LXD container?
> I'm guessing there are some additional missing steps like adjustments to
> the apache or mod_php config files, or perhaps something else needing
> installed in addition to those two?
>
> The error message refers to a "packaging script" returning an error code
> 1.  A question to figure out is which script that is, and what is
> causing it to emit that particular error code.  For LP: #1865218
> (similar but not same as this), the script in question was libapache2
> -mod-php.postinst.extra, so that script would probably be the first
> thing I'd look at, but at this point I don't think we know what to look
> for.  However, if you can help us in reproducing the issue synthetically
> then we can narrow down and isolate it.
>
>
> ** Changed in: php7.4 (Ubuntu)
>         Status: New => Incomplete
>

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

Title:
  package libapache2-mod-php7.4 7.4.3-4ubuntu2.2 failed to
  install/upgrade: »installiertes libapache2-mod-php7.4-Skript des
  Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1893559/+subscriptions

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

Reply via email to