[Stable PPA] unmet dependencies installing nginx on 16.04 arm64
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:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmppe3wml
gpg: keyring `/tmp/tmppe3wml
gpg: requesting key C300EE8C from hkp server keyserver.
gpg: /tmp/tmppe3wmlv
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://
Hit:2 http://
Get:3 http://
Hit:4 https:/
Get:5 http://
Hit:6 http://
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
Depends: nginx-full (< 1.10.1-
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:
- 2016-06-20
- Last query:
- 2016-06-20
- Last reply:
- 2016-06-20
| 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
| 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.
500 http://
1.
500 http://
500 http://
1.
500 http://
nginx-light:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-extras:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-full:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-common:
Installed: 1.10.1-0+xenial0
Candidate: 1.10.1-0+xenial0
Version table:
*** 1.10.1-0+xenial0 500
500 http://
100 /var/lib/
1.
500 http://
500 http://
1.
500 http://
| 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.
| 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
Depends: nginx-full (< 1.10.1-
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~
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.
500 http://
1.
500 http://
500 http://
1.
500 http://
nginx-light:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-extras:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-full:
Installed: (none)
Candidate: 1.10.0-
Version table:
1.
500 http://
500 http://
1.
500 http://
nginx-common:
Installed: 1.10.1-0+xenial0
Candidate: 1.10.1-0+xenial0
Version table:
*** 1.10.1-0+xenial0 500
500 http://
100 /var/lib/
1.
500 http://
500 http://
1.
500 http://
| 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.
| Thomas Ward (teward) said : | #7 |
This issue should now be resolved, as I have put arm64 builds into the Stable PPA now.
| Stephen Winiecki (swinieck) said : | #8 |
Thanks Thomas. I successfully installed the stable ppa on an arm64 16.04 platform
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.
500 http://
1.1.19-1 0
500 http://
nginx-light:
Installed: (none)
Candidate: 1.10.3-0+trusty0
Version table:
1.
500 http://
1.1.19-1 0
500 http://
nginx-extras:
Installed: (none)
Candidate: 1.10.3-0+trusty0
Version table:
1.
500 http://
1.1.19-1 0
500 http://
nginx-full:
Installed: (none)
Candidate: 1.10.3-0+trusty0
Version table:
1.
500 http://
1.1.19-1 0
500 http://
100 /var/lib/
nginx-common:
Installed: (none)
Candidate: 1.10.3-0+trusty0
Version table:
1.
500 http://
1.1.19-1 0
500 http://
100 /var/lib/
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-
Depends: nginx-full (>= 1.10.3-0+trusty0) but it is not going to be installed or
E: Unable to correct problems, you have held broken packages.
Is this linked to the issue above?
