Open zyclove opened 4 months ago
yum install ambari-server
Last metadata expiration check: 0:32:57 ago on Sun Feb 18 09:50:58 2024. Error: Problem: conflicting requests
[root@ip-10-7-12-214 ~]# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-15"
[root@ambari-server ~]# python --version
Python 2.7.9
[root@ambari-server ~]# postgres --version
postgres (PostgreSQL) 15.5
what's wrong with 'yum install ambari-server' ? Isn’t Amazon Linux 2023 supported yet? @lucasbak
Hi @zyclove
Which Operating system is it ? Which rpms do you use ?
Amazon Linux 2023
ambari : https://clemlabs.s3.eu-west-3.amazonaws.com/centos8/ambari-release/2.7.9.0.0-26/repos-ambari.tar.gz
It's because we have a dependency on postgresql-server >= 8.1
Can you make yum search postgresql-server
$ yum search postgresql-server Last metadata expiration check: 0:00:38 ago on Sun Feb 18 11:39:53 2024. No matches found. $ yum search postgresql15-server Last metadata expiration check: 0:00:45 ago on Sun Feb 18 11:39:53 2024. ======================================================================== Name Exactly Matched: postgresql15-server ========================================================================= postgresql15-server.x86_64 : The programs needed to create and run a PostgreSQL server ============================================================================ Name Matched: postgresql15-server ============================================================================= postgresql15-server-devel.x86_64 : PostgreSQL development header files and libraries
@lucasbak
@zyclove
We dont support Officially Amazon Linux. However as it is deprecated we can remove postgresql-server dependency from Ambari RPM. Give a try to https://clemlabs.s3.eu-west-3.amazonaws.com/centos8/ambari-release/2.7.9.0.0-38/repos-ambari.tar.gz
hi , Can the pyhon2 version be monitored directly through python --verson instead of rpm -q python2?
Since amazon-linux-2023 no longer supports Python2.
python2 is installed through source code compilation, not through rpm package; so it will still report that Python2 dependency is not satisfied.
@lucasbak
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
./configure --enable-optimizations
make altinstall
python --version is 2.7.18
In addition, is there any version support for python3 now?
https://github.com/apache/ambari/commits/trunk/
hi, could you merge this into your Python3 branch?
https://github.com/clemlabprojects/ambari/tree/2.7.9.0-python3 Can you provide the version of this branch? Can it be used in production?
@lucasbak
Hi @zyclove,
As lot of our clients are still in use of python2, we need to support both in //. We already ported python3 however we need more test coverage as we have a lot more components to migrate. We will keep you up to date as soon as we have packaged ready. We almost done.
Best regards
hi , Can the pyhon2 version be monitored directly through python --verson instead of rpm -q python2?
Since amazon-linux-2023 no longer supports Python2.
python2 is installed through source code compilation, not through rpm package; so it will still report that Python2 dependency is not satisfied.
@lucasbak
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz ./configure --enable-optimizations make altinstall python --version is 2.7.18
Hi, could you the Python dependency check here support non-rpm package installation of Python2?
Change to Centos 8 , but with the error. (https://clemlabs.s3.eu-west-3.amazonaws.com/centos8/ambari-release/2.7.9.0.0-38/repos-ambari.tar.gz)
@lucasbak
@zyclove
We are working hard to deliver you best packaging possible on the most supported system. We will keep you up to date as soon as python3 ambari is ready. We are currently finishing the last tests
hi, no permission to download hdp-utils installation package.
https://www.clemlab.com/docs/1.2.2.0/getting-ready/setup-local-repository/setting-up-offline-repository https://clemlabs.s3.eu-west-3.amazonaws.com/centos8/odp-utils/1.2.2.0-105/repos-utils.tar.gz