Install from Yum repository fails on Amazon Linux (

469 views
Skip to first unread message

Arni Maack

unread,
Jun 23, 2015, 4:12:26 PM6/23/15
to phusion-...@googlegroups.com

Following the installation instructions from here: https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#installing_or_upgrading_on_red_hat


I've added the yum repository as such:

$ sudo curl --fail -sSLo /etc/yum.repos.d/passenger.repo https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo


Then I try to install passenger via the package:
$ sudo yum install passenger

I get the following error:

Loaded plugins: priorities, update-motd, upgrade-helper

amzn-main/latest                                                         | 2.1 kB     00:00     

amzn-updates/latest                                                      | 2.3 kB     00:00     

https://oss-binaries.phusionpassenger.com/yum/passenger/el/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Trying other mirror.

https://oss-binaries.phusionpassenger.com/yum/passenger/el/latest/SRPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

Trying other mirror.



 One of the configured repositories failed (passenger-source),

 and yum doesn't have enough cached data to continue. At this point the only

 safe thing yum can do is fail. There are a few ways to work "fix" this:


     1. Contact the upstream for the repository and get them to fix the problem.


     2. Reconfigure the baseurl/etc. for the repository, to point to a working

        upstream. This is most often useful if you are using a newer

        distribution release than is supported by the repository (and the

        packages for the previous distribution release still work).


     3. Disable the repository, so yum won't use it by default. Yum will then

        just ignore the repository until you permanently enable it again or use

        --enablerepo for temporary usage:


            yum-config-manager --disable passenger-source


     4. Configure the failing repository to be skipped, if it is unavailable.

        Note that yum will try to contact the repo. when it runs most commands,

        so will have to try and fail each time (and thus. yum will be be much

        slower). If it is a very temporary problem though, this is often a nice

        compromise:


            yum-config-manager --save --setopt=passenger-source.skip_if_unavailable=true


failure: repodata/repomd.xml from passenger-source: [Errno 256] No more mirrors to try.





Amazon Linux info:

https://aws.amazon.com/amazon-linux-ami/2015.03-release-notes/

kernel.x86_64 0:3.14.44-32.39.amzn1 

Hongli Lai

unread,
Jun 23, 2015, 5:46:07 PM6/23/15
to phusion-passenger
On Tue, Jun 23, 2015 at 10:12 PM, Arni Maack <ama...@gmail.com> wrote:
> Following the installation instructions from here:
> https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html#installing_or_upgrading_on_red_hat

The YUM repository is for Red Hat and CentOS only. Amazon Linux is not
supported.

--
Phusion B.V. | Web Application deployment, scaling, and monitoring solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 63501007 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages