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

Packaged Passenger can't be installed #2994

Closed
7 tasks done
vholer opened this issue Feb 27, 2019 · 1 comment
Closed
7 tasks done

Packaged Passenger can't be installed #2994

vholer opened this issue Feb 27, 2019 · 1 comment

Comments

@vholer
Copy link
Contributor

vholer commented Feb 27, 2019

Description
When adding support for Rack 2.x #1273, conflict on system packages thin, ruby-rack, ruby-rack-protection and ruby-sinatra was added. This should avoid using of the wrong combination of gems versions, stick only with those suggested and installed via install_gems command. Unfortunately, this conflict prevents installation of the Passenger on Debians, as they depend on system ruby-rack package.

The following packages have unmet dependencies:
 passenger : Depends: ruby-rack but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Maybe we can conflict with the packaged gems via Provides. The OpenNebula server package can provide virtual packages ruby-rack, ruby-rack-protection, ruby-sinatra to meet the requirements of Passenger, but avoid installation of the distribution packages.

The workaround for now is to install Passenger via gem install passenger, and build the Apache module (passenger-install-apache2-module) outside the packager.

Expected behavior
Passenger from the packages can be installed.

Details

  • Affected Component: Packages
  • Version: 5.8.0, development

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@vholer
Copy link
Contributor Author

vholer commented Mar 8, 2019

Fixed in the packages https://github.com/OpenNebula/packages/commit/c6ce77b0cfc66716ae71a9a5d5ce1f90706f4dc3 following the proposed solution.

Docs PR to be merged: OpenNebula/docs#526

@vholer vholer closed this as completed Mar 8, 2019
rsmontero pushed a commit that referenced this issue Mar 26, 2024
(cherry picked from commit 3df4cbb1d30ec9de20e83fca1bcf57b8eb5be9ea)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant