Search code examples
rubyruby-on-rails-5passengerfedora

Trying to install epel-release on Fedora 30 -- no match for argument: epel-release


I'm on Fedora 30. I am trying to install "epel-release".

I am following this guide: https://www.phusionpassenger.com/library/install/standalone/install/oss/el7/ -- I am unable to successfully run the command:

$ sudo yum install -y epel-release yum-utils

I get as a result:

No match for argument: epel-release

So, I tried the following commands from this article: https://www.liquidweb.com/kb/enable-epel-repository/

$ cd /tmp
$ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ yum install ./epel-release-latest-*.noarch.rpm

No such luck - this is the output:

Error: 
  Problem: problem with installed package fedora-release-workstation-30-1.noarch
   - package epel-release-7-11.noarch conflicts with fedora-release provided by fedora-release-workstation-30-1.noarch
   - package epel-release-7-11.noarch conflicts with fedora-release provided by fedora-release-workstation-30-4.noarch
   - conflicting requests

I have also tried:

$ sudo dnf install epel-relase

which that didn't work either, here's the results:

No match for argument: epel-release
Error: Unable to find a match 

I have come across several different articles basically saying to either use the first command listed or variations of the second command I've tried - all unsuccessful. side note: Is this because Fedora 30 was just "recently" released?

My end goal is to deploy a Ruby on Rails web app internally using Nginx. For that, I am following this guide: https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/el7/deploy_app.html

Any direction for how to install epel-release would be great as I can't move forward until passenger is installed.


Solution

  • Okay, so turns out that this can be simplified to just:

    $ sudo dnf install passenger
    

    Crazy that they have an entire tutorial for how to install passenger when it can just be simplified to this one line.