0

I have a Red Hat server hosted in Azure and when I try to use yum to install software or do a system update I get the below error,

Errors during downloading metadata for repository 'rhui-rhel-8-for-x86_64-baseos-rhui-rpms':

The system has been registered in subscription manager.

  • Do you have egress firewall rules defined? – Michael Hampton Sep 15 '20 at 19:47
  • The VM can only access RHUI with Azure assigned public IP address, so make sure the traffic from VM is sent to Internet without any intermediates, such as proxy, VPN gateway and so on. These intermediates may alter the source IP address of packets from VM. – fpmurphy Sep 16 '20 at 17:10

1 Answers1

0

Try: yum clean all rm -f /var/lib/rpm/__db* rpm --rebuilddb