[Stable PPA] unmet dependencies installing nginx on 16.04 arm64

Asked by Stephen Winiecki on 2016-06-16

Getting unmet dependencies trying to install on 16.04 arm64

root@ubuntu:/# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
root@ubuntu:/# add-apt-repository ppa:nginx/stable
 This PPA contains the latest Stable Release version of the nginx web server software.

The following releases of Ubuntu (including in-development releases) are supported in this PPA:
* Precise (12.04)
* Trusty (14.04)
* Wily (15.10)
* Xenial (16.04)

The following releases of Ubuntu are no longer supported, and have had their packages removed from the PPA:
* Lucid (10.04)
* Maverick (10.10)
* Natty (11.04)
* Oneiric (11.10)
* Quantal (11.10)
* Raring (13.04)
* Saucy (13.10)
* Utopic (14.10)
* Vivid (15.04)
 More info: https://launchpad.net/~nginx/+archive/ubuntu/stable
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmppe3wmlv9/secring.gpg' created
gpg: keyring `/tmp/tmppe3wmlv9/pubring.gpg' created
gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmppe3wmlv9/trustdb.gpg: trustdb created
gpg: key C300EE8C: public key "Launchpad Stable" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
root@ubuntu:/# apt-get update
Hit:1 http://ppa.launchpad.net/nginx/stable/ubuntu xenial InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [94.5 kB]
Hit:4 https://private-ppa.launchpad.net/bandera-team/16.05/ubuntu xenial InRelease
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial-proposed InRelease [247 kB]
Hit:6 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease
Fetched 341 kB in 2s (127 kB/s)
Reading package lists... Done
root@ubuntu:/# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx : Depends: nginx-full (>= 1.10.1-0+xenial0) but it is not going to be installed or
                  nginx-light (>= 1.10.1-0+xenial0) but it is not going to be installed or
                  nginx-extras (>= 1.10.1-0+xenial0) but it is not going to be installed
         Depends: nginx-full (< 1.10.1-0+xenial0.1~) but it is not going to be installed or
                  nginx-light (< 1.10.1-0+xenial0.1~) but it is not going to be installed or
                  nginx-extras (< 1.10.1-0+xenial0.1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Question information

Language:
English Edit question
Status:
Solved
For:
Nginx Edit question
Assignee:
Thomas Ward Edit question
Solved by:
Stephen Winiecki
Solved:
Last query:
Last reply:
Revision history for this message
Thomas Ward (teward) said :
#1

Can you please put in the output of the following command please as a comment to this question:

apt-cache policy nginx nginx-light nginx-extras nginx-full nginx-common

Revision history for this message
Stephen Winiecki (swinieck) said :
#2

root@ubuntu:/# apt-cache policy nginx nginx-light nginx-extras nginx-full nginx-common
nginx:
  Installed: (none)
  Candidate: 1.10.1-0+xenial0
  Version table:
     1.10.1-0+xenial0 500
        500 http://ppa.launchpad.net/nginx/stable/ubuntu xenial/main arm64 Packages
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages
nginx-light:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-extras:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-full:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-common:
  Installed: 1.10.1-0+xenial0
  Candidate: 1.10.1-0+xenial0
  Version table:
 *** 1.10.1-0+xenial0 500
        500 http://ppa.launchpad.net/nginx/stable/ubuntu xenial/main arm64 Packages
        100 /var/lib/dpkg/status
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages

Revision history for this message
Thomas Ward (teward) said :
#4

It appears that maybe this is a case of your system mis-handling the repository information.

I can confirm that there *are* versions of the packages in the PPAs; I would suggest perhaps just running apt-get one more time and seeing if that gets you more useful repository data.

Revision history for this message
Stephen Winiecki (swinieck) said :
#5

I did apt-get update && apt-get upgrade and still get the same result

root@ubuntu:/# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx : Depends: nginx-full (>= 1.10.1-0+xenial0) but it is not going to be installed or
                  nginx-light (>= 1.10.1-0+xenial0) but it is not going to be installed or
                  nginx-extras (>= 1.10.1-0+xenial0) but it is not going to be installed
         Depends: nginx-full (< 1.10.1-0+xenial0.1~) but it is not going to be installed or
                  nginx-light (< 1.10.1-0+xenial0.1~) but it is not going to be installed or
                  nginx-extras (< 1.10.1-0+xenial0.1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu:/# apt-get upgrade apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version (1.2.12~ubuntu16.04.1).
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ubuntu:/# apt-cache policy nginx nginx-light nginx-extras nginx-full nginx-common
nginx:
  Installed: (none)
  Candidate: 1.10.1-0+xenial0
  Version table:
     1.10.1-0+xenial0 500
        500 http://ppa.launchpad.net/nginx/stable/ubuntu xenial/main arm64 Packages
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages
nginx-light:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-extras:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-full:
  Installed: (none)
  Candidate: 1.10.0-0ubuntu0.16.04.2
  Version table:
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/universe arm64 Packages
nginx-common:
  Installed: 1.10.1-0+xenial0
  Candidate: 1.10.1-0+xenial0
  Version table:
 *** 1.10.1-0+xenial0 500
        500 http://ppa.launchpad.net/nginx/stable/ubuntu xenial/main arm64 Packages
        100 /var/lib/dpkg/status
     1.10.0-0ubuntu0.16.04.2 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages
        500 http://ports.ubuntu.com/ubuntu-ports xenial-security/main arm64 Packages
     1.9.15-0ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages

Revision history for this message
Thomas Ward (teward) said :
#6

Whoops, looks like the PPA where these actually build (not the ppa you add to your repository sources) doesn't have arm64 builds. Guess it's time to start including them. I'll have to make some arm64 builds first and copy them over.

Revision history for this message
Thomas Ward (teward) said :
#7

This issue should now be resolved, as I have put arm64 builds into the Stable PPA now.

Revision history for this message
Stephen Winiecki (swinieck) said :
#8

Thanks Thomas. I successfully installed the stable ppa on an arm64 16.04 platform

Revision history for this message
Roman Brunner (roman-brunner94) said :
#9

I encounter a similar issue as described above when trying to install it for amd64. (Version 1.10.3-0)
The output of apt-cache policy nginx nginx-light nginx-extras nginx-full nginx-common:

nginx:
  Installed: (none)
  Candidate: 1.10.3-0+trusty0
  Version table:
     1.10.3-0+trusty0 0
        500 http://ppa.launchpad.net/nginx/stable/ubuntu/ trusty/main amd64 Packages
     1.1.19-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
nginx-light:
  Installed: (none)
  Candidate: 1.10.3-0+trusty0
  Version table:
     1.10.3-0+trusty0 0
        500 http://ppa.launchpad.net/nginx/stable/ubuntu/ trusty/main amd64 Packages
     1.1.19-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
nginx-extras:
  Installed: (none)
  Candidate: 1.10.3-0+trusty0
  Version table:
     1.10.3-0+trusty0 0
        500 http://ppa.launchpad.net/nginx/stable/ubuntu/ trusty/main amd64 Packages
     1.1.19-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
nginx-full:
  Installed: (none)
  Candidate: 1.10.3-0+trusty0
  Version table:
     1.10.3-0+trusty0 0
        500 http://ppa.launchpad.net/nginx/stable/ubuntu/ trusty/main amd64 Packages
     1.1.19-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status
nginx-common:
  Installed: (none)
  Candidate: 1.10.3-0+trusty0
  Version table:
     1.10.3-0+trusty0 0
        500 http://ppa.launchpad.net/nginx/stable/ubuntu/ trusty/main amd64 Packages
     1.1.19-1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

The error message when trying to install nginx:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx : Depends: nginx-full (< 1.10.3-0+trusty0.1~) but it is not going to be installed or
                  nginx-light (< 1.10.3-0+trusty0.1~) but it is not going to be installed or
                  nginx-extras (< 1.10.3-0+trusty0.1~) but it is not going to be installed
         Depends: nginx-full (>= 1.10.3-0+trusty0) but it is not going to be installed or
                  nginx-light (>= 1.10.3-0+trusty0) but it is not going to be installed or
                  nginx-extras (>= 1.10.3-0+trusty0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Is this linked to the issue above?