package apache2 2.4.48-3.1ubuntu3 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1

Bug #1950072 reported by TEMPRADO
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 5.11.0-38.42-generic 5.11.22
Uname: Linux 5.11.0-38-generic x86_64
000-default.conf: Error: [Errno 40] Too many levels of symbolic links: '/etc/apache2/sites-enabled/000-default.conf'
Apache2ConfdDirListing: False
Apache2Modules: httpd (pid 15687) already running
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
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.
RelatedPackageVersions:
 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/sites-enabled/apache-nut.conf'
modified.conffile..etc.apache2.apache2.conf: [modified]
modified.conffile..etc.apache2.mods-available.dir.conf: [modified]
modified.conffile..etc.apache2.sites-available.000-default.conf: [modified]
mtime.conffile..etc.apache2.apache2.conf: 2020-12-23T07:18:15.417999
mtime.conffile..etc.apache2.mods-available.dir.conf: 2020-12-23T07:26:46.320730
mtime.conffile..etc.apache2.sites-available.000-default.conf: 2020-12-22T22:11:13.558821

Revision history for this message
TEMPRADO (btemprado33) wrote :
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

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:
http://www.ubuntu.com/support/community

Changed in apache2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.]

Changed in apache2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.