Bryce was able to provide a possible reproducer:

# apt install apache2
# rm -rf /usr/share/apache2/default-site/
# apt purge apache2
# apt install apache2

I'm marking this bug as Triaged.

@Katarina, could you confirm whether you've removed /usr/share/apache2
/default-site/ before purging the apache2 package?

The workaround for this bug is to:

# apt purge apache2*
# apt install apache2

** Changed in: apache2 (Ubuntu)
       Status: Incomplete => Triaged

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

Title:
  package apache2 2.4.41-4ubuntu3.1 failed to install/upgrade: installed
  apache2 package post-installation script subprocess returned error
  exit status 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to