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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.