package apache2 2.4.58-1ubuntu8.10 failed to install/upgrade: The post-installation script from the apache2 package returned error code 1.
This bug report will be marked for expiration in 40 days if no further activity occurs. (find out why)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| apache2 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Bug Description
Could not install 'apache2'
The upgrade will continue but the 'apache2' package may not be in a working state. Please consider submitting a bug report about it.
ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: apache2 2.4.58-1ubuntu8.10
ProcVersionSign
Uname: Linux 6.8.0-64-generic x86_64
000-default.conf: Error: [Errno 40] Слишком много уровней символьных ссылок: '/etc/apache2/
Apache2ConfdDir
Apache2Modules:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
httpd (pid 1709) already running
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckR
Date: Sat Jan 24 13:27:07 2026
ErrorMessage: подпроцесс из пакета apache2 установлен сценарий post-installation возвратил код ошибки 1
InstallationDate: Installed on 2025-11-02 (82 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.22.6ubuntu6.5
apt 2.8.3
SourcePackage: apache2
Title: package apache2 2.4.58-1ubuntu8.10 failed to install/upgrade: подпроцесс из пакета apache2 установлен сценарий post-installation возвратил код ошибки 1
UpgradeStatus: No upgrade log present (probably fresh install)
error.log:
[Mon Jan 05 12:17:34.582482 2026] [mpm_prefork:
[Mon Jan 05 12:17:34.582505 2026] [core:notice] [pid 1619] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jan 12 21:07:28.943461 2026] [mpm_prefork:
[Mon Jan 12 21:07:49.648437 2026] [mpm_prefork:
[Mon Jan 12 21:07:49.648730 2026] [core:notice] [pid 1709] AH00094: Command line: '/usr/sbin/apache2'
| summary: |
- package apache2 2.4.58-1ubuntu8.10 failed to install/upgrade: подпроцесс - из пакета apache2 установлен сценарий post-installation возвратил код - ошибки 1 + package apache2 2.4.58-1ubuntu8.10 failed to install/upgrade: The post- + installation script from the apache2 package returned error code 1. |

thanks for the report. from what i can see, one problem comes from /etc/apache2/ sites-enabled/ 000-default. conf being a symlink to itself? (Error: [Errno 40] Слишком много уровней символьных ссылок: '/etc/apache2/ sites-enabled/ 000-default. conf')
is this a symlink to itself? did you set this configuration up manually? (no problem if this was just a mistake, i want to make sure this is not a bug in our package automation)
the installation then crashes with this error: mod-php8. 3
info: Executing deferred 'a2enmod php8.3' for package libapache2-
ERROR: Module php8.3 does not exist!
does /usr/lib/ apache2/ modules/ libphp8. 3.so exist on your system? If no, did you delete it? It should be provided by the package libapache2- mod-php8. 3.