Public bug reported:

During an Ubuntu release upgrade on a headless server, nginx-core failed
to configure. The upgrade reported errors processing:

- nginx-core
- nginx
- python3-certbot-nginx

The reported package error was:

package nginx-core 1.18.0-6ubuntu14.21 failed to install/upgrade:
installed nginx-core package post-installation script subprocess
returned error exit status 1

The release upgrader then reported:

Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an
error code (1)

Expected result: The release upgrade completes and the packages
configure successfully.

Actual result: Package configuration fails with the errors above.

I selected “Send report” in the release upgrader, which collected and
uploaded problem information before directing me to this report. I
expected the diagnostic logs to be attached automatically. The final
console output does not show the underlying reason the nginx-core post-
installation script failed.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nginx-core 1.18.0-6ubuntu14.21
ProcVersionSignature: Ubuntu 5.4.0-216.236-generic 5.4.291
Uname: Linux 5.4.0-216-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.10
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Sep 17 17:41:37 2026
ErrorMessage: installed nginx-core package post-installation script subprocess 
returned error exit status 1
Python3Details: /usr/bin/python3.10, Python 3.10.14, python3-minimal, 
3.10.6-1~22.04.1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.6
 apt  2.4.14
SourcePackage: nginx
Title: package nginx-core 1.18.0-6ubuntu14.21 failed to install/upgrade: 
installed nginx-core package post-installation script subprocess returned error 
exit status 1
UpgradeStatus: Upgraded to jammy on 2026-09-17 (0 days ago)

** Affects: nginx (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package jammy need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167554

Title:
  package nginx-core 1.18.0-6ubuntu14.21 failed to install/upgrade:
  installed nginx-core package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/2167554/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to