I forgot one thing. Before I did the release upgrade, I also stopped all of the services that I disabled with the following one liner:
sudo systemctl stop cron \ sudo systemctl stop amavis \ sudo systemctl stop amplify-agent \ sudo systemctl stop atd \ sudo systemctl stop clamav-daemon \ sudo systemctl stop clamav-freshclam \ sudo systemctl stop dovecot \ sudo systemctl stop fail2ban \ sudo systemctl stop irqbalance \ sudo systemctl stop kmod \ sudo systemctl stop mono-xsp4 \ sudo systemctl stop nginx \ sudo systemctl stop opendkim \ sudo systemctl stop opendmarc \ sudo systemctl stop php7.4-fpm \ sudo systemctl stop postfix \ sudo systemctl stop postgrey \ sudo systemctl stop redis-server \ sudo systemctl stop smbd \ sudo systemctl stop nmbd \ sudo systemctl stop spamass-milter \ sudo systemctl stop spamassassin \ sudo systemctl stop tlp \ sudo systemctl stop unbound \ sudo systemctl stop create-cacheram-folders.service \ sudo systemctl stop webmin.service \ sudo systemctl stop wg-quick@wg-client0.service \ sudo systemctl stop dphys-swapfile \ sudo systemctl stop netdata \ sudo systemctl stop policyd-rate-limit Then I proceeded with the Release upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2056662 Title: package apache2 2.4.52-1ubuntu4.7 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1 - Crash on "do-release-upgrade" from Ubuntu 20.04 to Ubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2056662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs