package apache2 2.4.48-3.1ubuntu3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
During the do-release-update
ProblemType: Package
DistroRelease: Ubuntu 21.10
Package: apache2 2.4.48-3.1ubuntu3
ProcVersionSign
Uname: Linux 5.11.0-38-generic x86_64
000-default.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/
Apache2ConfdDir
Apache2Modules: httpd (pid 15687) already running
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
Date: Sun Nov 7 08:15:38 2021
ErrorMessage: installed apache2 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-05-26 (1260 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
Python3Details: /usr/bin/python3.9, Python 3.9.7, python3-minimal, 3.9.4-1build1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.18-9
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.20.9ubuntu2
apt 2.3.9
SourcePackage: apache2
Title: package apache2 2.4.48-3.1ubuntu3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to impish on 2021-11-07 (0 days ago)
apache-nut.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/
modified.
modified.
modified.
mtime.conffile.
mtime.conffile.
mtime.conffile.
Thank you for taking the time to file a bug report.
From the logs we can see that in the set up process of the apache package it tried to enabled a module and then it failed because of a "Too many levels of symbolic links: '/etc/apache2/ sites-enabled/ 000-default. conf'". Could you please provide the content of your /etc/apache2/ sites-enabled and /etc/apache2/ sites-available ? Also any custom config you might have if possible. An installation in a clean environment works without issue, so I am wondering what you had in there before upgrading to Impish.
Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://