Getting 403 Forbidden error while installing certain rpm from a custom repository.

Solution Verified - Updated -

Issue

  • Yum failed to install certain rpm with the following error:
[MIRROR] the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm: Status code: 403 for https://satellite.example.com:443/streamer/var/lib/pulp/content/units/rpm/84/0cfd31b3d73fbf237b5a0f014c655d16f0b0398a40a548132d3b21e9265d56/the_silver_searcher-2.2.0%5E2020704.5a1c8d8-1.el8.x86_64.rpm?policy=XXXXXXXXXXXXXXXXXXX;signature=XXXXXXXXXXXXXXXXXXX(IP: XXX.XXX.XXX.XXX)
[FAILED] the_silver_searcher-2.2.0^2020704.5a1c8d8-1.el8.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success                                                                      

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
  Cannot download Packages/t/the_silver_searcher-2.2.0%5e2020704.5a1c8d8-1.el8.x86_64.rpm: All mirrors were tried

Environment

  • Red Hat Satellite 6.9 and lower
  • Red Hat Enterprise Linux

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