Unable to installl ERLANG because of current RABBITMQ version update - 2 Jun 2020

51 views
Skip to first unread message

Mrudang Vora

unread,
Jun 6, 2020, 6:09:23 PM6/6/20
to rabbitmq-users

Was trying to install the erlang package for rabbitmq using quick install method.

Have tried it few months before in another server but it ran perfectly.

 

Server: Amazon AMI 2

  1. Package: https://packagecloud.io/rabbitmq/erlang/install#bash-rpm

 

  1. Here, I edited the file to get the package for el7 rather than el6

nano /etc/yum.repos.d/rabbitmq_erlang.repo

[rabbitmq_erlang]

name=rabbitmq_erlang

baseurl=https://packagecloud.io/rabbitmq/erlang/el/7/$basearch

repo_gpgcheck=1

gpgcheck=0

enabled=1

gpgkey=https://packagecloud.io/rabbitmq/erlang/gpgkey

sslverify=1

sslcacert=/etc/pki/tls/certs/ca-bundle.crt

metadata_expire=300

 

[rabbitmq_erlang-source]

name=rabbitmq_erlang-source

baseurl=https://packagecloud.io/rabbitmq/erlang/el/7/SRPMS

repo_gpgcheck=1

gpgcheck=0

enabled=1

gpgkey=https://packagecloud.io/rabbitmq/erlang/gpgkey

sslverify=1

sslcacert=/etc/pki/tls/certs/ca-bundle.crt

metadata_expire=300

 

  1. yum install erlang

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd

rabbitmq_erlang/x86_64/signature                                                                                                                                                                                      |  833 B  00:00:00

rabbitmq_erlang/x86_64/signature                                                                                                                                                                                      | 1.0 kB  00:00:00 !!!

Not using downloaded rabbitmq_erlang/repomd.xml because it is older than what we have:

  Current   : Tue Jun  2 17:59:05 2020

  Downloaded: Tue Jun  2 17:58:29 2020

rabbitmq_erlang-source/signature                                                                                                                                                                                      |  819 B  00:00:00

rabbitmq_erlang-source/signature         

Resolving Dependencies

--> Running transaction check

---> Package erlang.x86_64 0:23.0.2-1.el6 will be installed

--> Finished Dependency Resolution

 

 

Hence, I am unable to install el 7 package for the same.

Request you to help asap.

Mrudang Vora

unread,
Jun 7, 2020, 2:17:34 AM6/7/20
to rabbitmq-users
Resolved using manual rpm installation from bintray repo

STEPS:

https://bintray.com/rabbitmq-erlang/rpm/erlang


Check the link in this page for el7 package and wget the same in tmp folder


cd /tmp/


mkdir rabbitmq-erlang-installer


wget https://bintray.com/rabbitmq-erlang/rpm/download_file?file_path=erlang%2F23%2Fel%2F7%2Fx86_64%2Ferlang-23.0.2-1.el7.x86_64.rpm


rpm -ivh download_file\?file_path\=erlang%2F23%2Fel%2F7%2Fx86_64%2Ferlang-23.0.2-1.el7.x86_64.rpm

Michael Klishin

unread,
Jun 9, 2020, 4:28:04 PM6/9/20
to rabbitm...@googlegroups.com
Package Cloud yum instructions should work just fine. We cannot suggest much without details as to what the error messages were. Please always share some context, we do not guess on this list.


From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Mrudang Vora <mruda...@gmail.com>
Sent: Sunday, June 7, 2020 9:17:34 AM
To: rabbitmq-users <rabbitm...@googlegroups.com>
Subject: [rabbitmq-users] Re: Unable to installl ERLANG because of current RABBITMQ version update - 2 Jun 2020
 
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/f138d2f1-22de-443f-b43f-af3131460aefo%40googlegroups.com.

Mrudang Vora

unread,
Jun 11, 2020, 3:09:33 PM6/11/20
to rabbitm...@googlegroups.com
Hello Michael,
Thanks for the response and suggestions.

Had written the steps I followed to install erlang for rabbitmq and highlighted the error in bold due to which i was unable to install it via package cloud yum package.

Also, was able to install manually using bintray package. I mentioned all the steps as an alternative solution i could workaround.

But, would be more precise next time.

Thanks for your response again.

Michael Klishin

unread,
Jun 12, 2020, 2:07:10 AM6/12/20
to rabbitm...@googlegroups.com
I see it now, yum metadata is out of date. You need to run

yum update

every time the list of repositories has changed (similarly with apt on Debian, when source list files are updated).

Sent: Thursday, June 11, 2020 22:09
To: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com>
Subject: Re: [rabbitmq-users] Re: Unable to installl ERLANG because of current RABBITMQ version update - 2 Jun 2020
 
Reply all
Reply to author
Forward
0 new messages