Elastic Beanstalk yum error

0

I created a new application and environment in Elastic Beanstalk and getting this error when I try to update with my Django application:

2023/10/25 08:46:48.898308 [INFO] Starting executing the config set Infra-EmbeddedPreBuild.
2023/10/25 08:46:48.898327 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-init -s arn:aws:cloudformation:us-east-1:436816677911:stack/awseb-e-muwcpgbv6n-stack/848514e0-730c-11ee-8d3e-1218e593f0f9 -r AWSEBAutoScalingGroup --region us-east-1 --configsets Infra-EmbeddedPreBuild
2023/10/25 08:46:53.716584 [INFO] Error occurred during build: Yum does not have mariadb-devel available for installation

I am using Python 3.11 running on 64bit Amazon Linux 2023/4.0.5 as my platform version.

Here's my 01_package.config file under the .ebextensions directory:

packages:
  yum:
    python3-devel: []
    mariadb-devel: []
    libcurl-devel: []
    python-pycurl: []
    openssl-devel: []

Any idea on how to resolve this?

Vince
asked 6 months ago331 views
1 Answer
1

you can follow this link

https://stackoverflow.com/questions/62111066/mysqlclient-installation-error-in-aws-elastic-beanstalk

as you can see

mariadb-devel is no longer the name of the package. Instead, use

packages:  
  yum:  
    python3-devel: []
    mariadb105-devel.x86_64: []
profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions