1

I have an installation of Ubuntu 16.04 on a Raspberry Pi 3 with rbenv installed properly already. I'm trying to install nginx/passenger (integrated version) on it, but the following is happening.

user@pi:~$ sudo apt-get install nginx
[sudo] password for user: 
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-extras (>= 1:1.10.2-8.5.1.2~xenial1) but it is not going to be installed
         Depends: nginx-extras (< 1:1.10.2-8.5.1.2~xenial1.1~) but it is not going to be installed

When I try to install nginx-extras manually it tells me the same about nginx-common. I've installed nginx/passenger on several Ubuntu systems but haven't run into this before - might be Pi related? I've seen lots of links of people having this issue from 9 months ago but I'm not sure why it's still occurring.

I did a sudo apt-get update && sudo apt-get upgrade today just in case. Still nothing.

None of the answers I've found work for me.

I initially added the steps for this answer (which is on the original how-to I followed, except using a passenger source entry for Xenial). I get the above error when I do that.

I then tried this answer but it installs a standalone nginx version which works, but doesn't have Passenger integration.

edit: Definitely on xenial: cat /etc/os-release gives me

NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"

I don't consider this a duplicate since this is an issue that seems to be specific to the Raspberry Pi 3 hardware. I have installed nginx/passenger many times on non-Pi machines, virtual machines, linode instances, etc etc and never had any issues like this. I may be wrong of course!

a user
  • 73

1 Answers1

1

After no luck with other answers, I determined it was probably the ubuntu package combinations available to the raspberry pi version I have. I may be wrong on this, of course :-)

I ended up installing from source using the gem installer found at the Passenger tutorial.

a user
  • 73