package nginx-core (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nginx (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Please help to solve the issue
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: nginx-core (not installed)
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Tue Feb 6 11:44:58 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-01-22 (15 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: nginx
Title: package nginx-core (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
From terminal log:
Feb 06 11:44:57 kashyap nginx[15033]: nginx: [emerg] bind() to [::]:80 fail...e) service: Control process exited, ...=1[0m service: Unit entered failed state.[0m service: Failed with result 'exit...'.[0m
Feb 06 11:44:57 kashyap nginx[15033]: nginx: [emerg] bind() to 0.0.0.0:80 f...e)
Feb 06 11:44:57 kashyap nginx[15033]: nginx: [emerg] bind() to [::]:80 fail...e)
Feb 06 11:44:58 kashyap nginx[15033]: nginx: [emerg] bind() to 0.0.0.0:80 f...e)
Feb 06 11:44:58 kashyap nginx[15033]: nginx: [emerg] bind() to [::]:80 fail...e)
Feb 06 11:44:58 kashyap nginx[15033]: nginx: [emerg] still could not bind()
Feb 06 11:44:58 kashyap systemd[1]: [0;1;39mnginx.
Feb 06 11:44:58 kashyap systemd[1]: [0;1;31mFailed to start A high performance web ...r.[0m
Feb 06 11:44:58 kashyap systemd[1]: [0;1;39mnginx.
Feb 06 11:44:58 kashyap systemd[1]: [0;1;39mnginx.