[wily] nginx fails to install on ARM64

Bug #1491978 reported by Manoj Iyer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nginx (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Installing nginx on ARM64 in wily fails:

Setting up nginx-core (1.9.3-1ubuntu1) ...
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.
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.9.3-1ubuntu1) | nginx-full (>= 1.9.3-1ubuntu1) | nginx-light (>= 1.9.3-1ubuntu1) | nginx-extras (>= 1.9.3-1ubuntu1); however:
  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.9.3-1ubuntu1.1~) | nginx-full (<< 1.9.3-1ubuntu1.1~) | nginx-light (<< 1.9.3-1ubuntu1.1~) | nginx-extras (<< 1.9.3-1ubuntu1.1~); however:
  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
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for systemd (224-2ubuntu2) ...
Errors were encountered while processing:
 nginx-core
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@localhost:~$

Tags: arm64 wily
Revision history for this message
Thomas Ward (teward) wrote :

Hello.

Can you check in /var/crash/ to see if there is an entry for nginx-core or similar, and run apport-bug on that crash file please, so that debug information is attached to this bug?

Changed in nginx (Ubuntu):
status: New → Incomplete
Thomas Ward (teward)
tags: added: arm64 wily
Revision history for this message
Manoj Iyer (manjo) wrote :

Thomas,

Appreciate your quick response. I have added the logs I found under /var/* related to nginx. I think the error is because nginx-core is not built for ARM64 ? or there is a package dependency issue ?

Revision history for this message
Thomas Ward (teward) wrote :

This isn't a bug, nor a problem with the package.

Something else is listening on port 80, and therefore you can't start nginx. (It by default binds to port 80).

Whatever the other process is (possibly Apache), you should shut it off, run the installation (or apt-get install -f), and then mess with configuration files so things aren't all trying to listen on port 80 at once.

Changed in nginx (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.