happened during release upgrade
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: apache2 2.4.52-1ubuntu4.2
ProcVersionSignature: Ubuntu 5.15.0-56.62~20.04.1-generic 5.15.64
Uname: Linux 5.15.0-56-generic x86_64
000-penselaranja.com.br-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/000-penselaranja.com.br-le-ssl.conf'
000-penselaranja.com.br.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/000-penselaranja.com.br.conf'
Apache2ConfdDirListing: False
Apache2Modules:
Error: command ['/usr/sbin/apachectl', '-D DUMP_MODULES'] failed with exit code 1: apache2: Syntax error on line 141 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp7.4.so into server: /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file: No such file or directory
Action '-D DUMP_MODULES' failed.
The Apache error log may have more information.
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sat Dec 3 09:31:55 2022
ErrorMessage: installed apache2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-06-10 (906 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: apache2
Title: package apache2 2.4.52-1ubuntu4.2 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2022-12-03 (0 days ago)
dev.penselaranja.com.br-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/dev.penselaranja.com.br-le-ssl.conf'
eider.blog.br-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.blog.br-le-ssl.conf'
eider.blog.br.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.blog.br.conf'
eider.com.br-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.com.br-le-ssl.conf'
eider.com.br.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.com.br.conf'
eider.photography-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.photography-le-ssl.conf'
eider.photography.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eider.photography.conf'
eideroliveira.com-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eideroliveira.com-le-ssl.conf'
eideroliveira.com.br-le-ssl.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eideroliveira.com.br-le-ssl.conf'
eideroliveira.com.br.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eideroliveira.com.br.conf'
eideroliveira.com.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/eideroliveira.com.conf'
modified.conffile..etc.apache2.apache2.conf: [modified]
modified.conffile..etc.apache2.mods-available.ssl.conf: [modified]
modified.conffile..etc.apache2.mods-available.status.conf: [modified]
modified.conffile..etc.apache2.sites-available.000-default.conf: [deleted]
modified.conffile..etc.apache2.sites-available.default-ssl.conf: [deleted]
mtime.conffile..etc.apache2.apache2.conf: 2020-11-22T17:13:57.139473
mtime.conffile..etc.apache2.mods-available.ssl.conf: 2020-06-10T18:06:26.970364
mtime.conffile..etc.apache2.mods-available.status.conf: 2020-06-10T16:32:50.141997
Thanks for taking the time to report this bug and trying to make Ubuntu better.
This seems to be a duplicate of this other bug:
https:/ /bugs.launchpad .net/ubuntu/ +source/ apache2/ +bug/1986959
There you can find a workaround reported by a user. As stated above, marking this one as duplicate.