Created 01-02-2019 09:21 AM
When I installed the ambari on Amazon Linux2 , I got the following error.
I need help..
Thank you
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; color: #f4f4f4; background-color: #000000; background-color: rgba(0, 0, 0, 0.85)} span.s1 {font-variant-ligatures: no-common-ligatures}
Error: Package: hadoop_2_5_3_0_37-2.7.3.2.5.3.0-37.el6.x86_64 (HDP-2.5-repo-1)
Requires: redhat-lsb
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Created 01-02-2019 09:23 AM
Hadoop package has a dependency on "redhat-lsb" you can find it by running the following command:
# repoquery --requires 'hadoop_2_5_3_0_37-2.7.3.2.5.3.0-37.el6.x86_64' > /tmp/dependencies.txt # grep 'redhat-lsb' /tmp/dependencies.txt
.
So please make sure that your Amazon Linux2 instance has access to redhat repo and the package redhat-lsb is installed.
Usually the mentioned package "redhat-lsb-core" should come from the redhat base repo:
Example:
# yum whatprovides redhat-lsb # yum install redhat-lsb redhat-lsb-core
.
Created 01-02-2019 04:11 PM
Thank you for your answer 🙂
I wanna know how to install redhab-lsb package on amazon linux 2
[root@amb1 yum.repos.d]# yum whatprovides redhat-lsb
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
12 packages excluded due to repository priority protections
No matches found
Created 01-02-2019 10:38 PM
As i mentioned in my previous update you should have your RedHat Base repo setup on your VM where you are trying to install the "redhat-lsb" package because that package is available in redhat base repo.
I currently do not have redhat6 VM available with me however you should see some repo file inside
Following example is for CentOS (noit for redhat)
# ls -l /etc/yum.repos.d/CentOS-Base.repo # less /etc/yum.repos.d/CentOS-Base.repo
.
So please consult with your OS admin or cloud admin to get the missing RedHat Base Repo installed on your host so that you can install "redhat-lsb" packages/