microdnf gives 404 error while installing packages from satellite server

Solution Unverified - Updated -

Issue

  • microdnf in rhel7-atomic image gives 404 error while installing rpm from satellite server
  • Not able to install packages using microdnf inside rhel7-atomic image with below error:
microdnf:26): libdnf-WARNING **: Skipping refresh of rhel-7-server-rpms: cannot update repo 'rhel-7-server-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 404 for https://satelliteserver/pulp/repos/POST/Production/Host-7Server-U201701/content/dist/rhel/server/7/7.3/x86_64/os/repodata/repomd.xml
error: No package matches 'httpd'

Environment

  • Red Hat Enterprise Linux 7
  • rhel7-atomic / rhel-atomic container image
  • microdnf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content