package nginx-full (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I says it cannot install dependencies, I try to install dependencies (nginx-core, nginx) but I can't install them because of the same error.
ProblemType: Package
DistroRelease: Ubuntu 16.04.2 LTS
Package: nginx-core, nginx (not installed)
Architecture: intel i5
Date: Tues July 4 2:15:32 2017
When I input apt-cache policy pkgname:
N: Unable to locate package pkgname
Error:
Setting up nginx-core (1.10.3-
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2017-07-05 00:52:25 EDT; 8ms ago
Process: 26345 ExecStartPre=
Jul 05 00:52:24 brandon-
Jul 05 00:52:25 brandon-
Jul 05 00:52:25 brandon-
Jul 05 00:52:25 brandon-
Jul 05 00:52:25 brandon-
Jul 05 00:52:25 brandon-
Jul 05 00:52:25 brandon-
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package nginx-core (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-core (>= 1.10.3-
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-core (<< 1.10.3-
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
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
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nginx-full (not installed)
ProcVersionSign
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
AptOrdering:
nginx-common: Install
nginx-full: Install
nginx-common: Configure
nginx-full: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Mon Jul 3 12:01:52 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-02 (244 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: nginx
Title: package nginx-full (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in nginx (Ubuntu): | |
status: | New → Incomplete |
It looks like this is due to a modification made at some point to your site config which added a bad directive. This ultimately isn't a bug in the packaging but more likely an issue with your config.