clemlabprojects / ambari

Fork of Apache Ambari maintained by Clemlab Company
https://www.clemlab.com
Apache License 2.0
44 stars 19 forks source link

Using the source repository version 1.2.2.0 and Python 3, I encountered an error during installation. #94

Open sachindhiman85 opened 1 month ago

sachindhiman85 commented 1 month ago

when I tried to install server or agent, its looking for python2 but I am using version 1.2.2.0 and Python 3.

root@ambari-server-test:~# cd /etc/apt/sources.list.d/ root@ambari-server-test:/etc/apt/sources.list.d# cat ambari.list deb https://clemlabs.s3.eu-west-3.amazonaws.com/ubuntu22/ambari-release/2.7.9.0.0-110/AMBARI AMBARI main root@ambari-server-test:/etc/apt/sources.list.d# cat odp.list deb https://clemlabs.s3.eu-west-3.amazonaws.com/ubuntu22-python3/odp-release/1.2.2.0-138/ODP ODP main deb https://clemlabs.s3.eu-west-3.amazonaws.com/ubuntu22/odp-utils/1.2.2.0/ODP-UTILS ODP-UTILS main root@ambari-server-test:/etc/apt/sources.list.d# python3 --version Python 3.12.3 root@ambari-server-test:/etc/apt/sources.list.d# sudo apt install -y ambari-server Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: ambari-server : Depends: python2 (>= 2.6) but it is not installable E: Unable to correct problems, you have held broken packages. root@ambari-server-test:/etc/apt/sources.list.d#

lucasbak commented 3 weeks ago

Hi @sachindhiman85 ,

It's because you are using python 2 version of Ambari.

Regards