Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Error while enabling repo in microdnf

    Posted on

    I am using "registry.access.redhat.com/rhel7-minimal" within a docker container and while trying to install the "unzip"package using microdnf :

    microdnf --enablerepo=rhel-7-server-rpms install unzip shadow-utils --nodocs

    I am getting an error like so:
    (microdnf:8): libdnf-WARNING **: 05:36:59.755: 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: 403 for https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml
    11:06:59
    error: No package matches 'unzip'

    I couldnt find any solutions for this so please help out

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat