Bug #13623
closedAmazon AMI's running Amazon's RHEL variant are unable to install rudder-agent
Description
Hello Rudder,
We have noticed that we are unable to install the rudder agent on amazon Yum Based AMI's.
We are using the following instructions https://docs.rudder.io/history/4.3/install-agent.html#_install_rudder_agent_on_rhel_like_systems and we choose RHEL_7 as a version for this Redhat Linux veriant.
It seems like libpcre.so.1 does not exist on amazon AMI's and that a newer version of libpcre is no avaiable from the default amazon repos:
Here is the error when isntalling the agent
[root@HOST ~]# yum install rudder-agent
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package rudder-agent.x86_64 1398866025:4.3.4.release-1.EL.7 will be installed
--> Processing Dependency: dmidecode for package: 1398866025:rudder-agent-4.3.4.release-1.EL.7.x86_64
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1398866025:rudder-agent-4.3.4.release-1.EL.7.x86_64
--> Running transaction check
---> Package dmidecode.x86_64 1:2.12-5.8.amzn1 will be installed
---> Package rudder-agent.x86_64 1398866025:4.3.4.release-1.EL.7 will be installed
--> Processing Dependency: libpcre.so.1()(64bit) for package: 1398866025:rudder-agent-4.3.4.release-1.EL.7.x86_64
--> Finished Dependency Resolution
Error: Package: 1398866025:rudder-agent-4.3.4.release-1.EL.7.x86_64 (Rudder_4.3)
Requires: libpcre.so.1()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Here is a list of package contents:
[root@HOST ~]# rpm -ql pcre
/lib64/libpcre.so.0
/lib64/libpcre.so.0.0.1
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcreposix.so.0.0.0
/usr/share/doc/pcre-8.21
/usr/share/doc/pcre-8.21/AUTHORS
/usr/share/doc/pcre-8.21/COPYING
/usr/share/doc/pcre-8.21/ChangeLog
/usr/share/doc/pcre-8.21/LICENCE
/usr/share/doc/pcre-8.21/NEWS
/usr/share/doc/pcre-8.21/README
Hope this helps feel free to contact me for debuging or testing.