package nginx-core 1.18.0-6ubuntu14.5 failed to install/upgrade: installed nginx-core package post-installation script subprocess returned error exit status 1
This bug report will be marked for expiration in 43 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
i want to install nginx in ubuntu 18 , but some error :
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
nginx-core
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nginx-core 1.18.0-6ubuntu14.5
ProcVersionSign
Uname: Linux 5.15.0-43-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Tue Sep 17 08:06:47 2024
DpkgHistoryLog:
Start-Date: 2024-09-17 08:06:44
Commandline: apt install nginx
Upgrade: libnginx-
ErrorMessage: installed nginx-core package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-07-22 (787 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.6
SourcePackage: nginx
Title: package nginx-core 1.18.0-6ubuntu14.5 failed to install/upgrade: installed nginx-core package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
From DpkgTerminalLog .txt:
Sep 17 08:06:47 aquadevida- IdeaPad- 5-14ITL05 nginx[10522]: nginx: [emerg] getpwnam( "test_domain" ) failed in /etc/nginx/ nginx.conf: 1 IdeaPad- 5-14ITL05 nginx[10522]: nginx: configuration file /etc/nginx/ nginx.conf test failed
Sep 17 08:06:47 aquadevida-
The getpwnam call tries to find information about the user specified in its argument; in this case, "test_domain". It seems like you may have modified the configuration file by hand, since "test_domain" is not a username that the package would create/use.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, 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://