Changing the name of a YUM repository (or aliasing it)?

by user34295   Last Updated November 14, 2017 19:00 PM

I'm trying to install Vesta panel on Amazon Red Hat AMI.

At some point of install script Vesta try to install its software:

yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \
        install $software

... disabling all repository and enabling some like *base and *updates.

My AMI repositories are:

*epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64
nginx/x86_64 nginx repo
rhui-REGION-client-config-server-7/x86_64 Red Hat Update Infrastructure 2.0 Client Configuration Server 7
rhui-REGION-rhel-server-releases/7Server/x86_64 Red Hat Enterprise Linux Server 7 (RPMs)
rhui-REGION-rhel-server-rh-common/7Server/x86_64 Red Hat Enterprise Linux Server 7 RH Common (RPMs)
vesta/x86_64 Vesta - cmmnt

Problem is vesta is disabling all repository - I think because it's assuming that requirements (i.e. php-common, which is in rhui-REGION-client-config-server-7/x86_64) are in the base repository.

Is there a way to rename the rhui-REGION-client-config-server-7/x86_64 into base or make an alias to it?

EDIT: repository file item:

name=Red Hat Enterprise Linux Server 7 (RPMs)

Related Questions

Kernel upgrade and Oracle prerequisites error

Updated July 06, 2018 11:00 AM

Can't send mail from amazon ec2 instance

Updated April 22, 2016 08:00 AM

AWS Lowest latency infrastructure

Updated November 06, 2017 07:00 AM