I have successfully launched new AWS RDS PostgreSQL v10 instance and need to install PostgreSQL v10 client on Amazon Linux EC2 instance.
I have tried to install
The way I resolved the issue was by running
yum clean all
before
yum install -y postgresql10
on Amazon Linux