Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

When I installed the ambari on Amazon Linux2 , I got the following error.

avatar
Explorer

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

3 REPLIES 3

avatar
Master Mentor

@ChanHyuk Park

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

.

avatar
Explorer

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

avatar
Master Mentor

@ChanHyuk Park

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/

.