Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install libnginx-mod-http-passenger #2349

Closed
veekram opened this issue Mar 31, 2021 · 1 comment
Closed

Unable to install libnginx-mod-http-passenger #2349

veekram opened this issue Mar 31, 2021 · 1 comment

Comments

@veekram
Copy link

veekram commented Mar 31, 2021

It's been a while I am trying to install phusion passenger. I followed this official documentation from phusion passenger.

Below is my configuration

Configuration:
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename: bionic

Nginx:
nginx version: nginx/1.18.0

I get the following error while trying to install libnginx-mod-http-passenger.
sudo apt-get install -y libnginx-mod-http-passenger

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:
 libnginx-mod-http-passenger : Depends: nginx-common (< 1.14.1) but 1.18.0-3ubuntu1+bionic1 is to be installed
E: Unable to correct problems, you have held broken packages.

Tried upgrading nginx version to 1.19, still no luck.

However downgrading nginx to version 1.14 and following this still works. But I am looking to upgrade nginx to either version 1.18.0 or 1.19.0 and latest stable version of phusion passenger. Anyone faced this as well ?

@CamJN
Copy link
Contributor

CamJN commented Jul 26, 2021

Bionic comes with Nginx 1.14, if you want to use our packaged Nginx module, you must use your distro's provided Nginx package. If for example you have the repo provided by NGINX setup, you will instead need to compile a dynamic module compatible with that Nginx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants