[Satellite 6] Yum commands are failing with [Error -3] Error performing checksum
Environment
- Red Hat Satellite 6.X.
Issue
- Yum commands are failing with Error [Error performing checksum] Trying other mirror:
# yum repolist
Loaded plugins: product-id, security, subscription-manager
rhel-5-Server- rpms | 2.1 kB 00:00
rhel-5-server-satellite-tools-6.1-rpms | 2.1 kB 00:00
rhel-5-server-satellite-tools-6.1-rpms/primary | 6.7 kB 00:00
https://satellite.example.com/pulp/repos/ExampleOrg/Main_Servers/Patch_Cycle/content/dist/rhel/server/5/5Server/i386/sat-tools/6.1/os/repodata/b5581ac29136afb029bc784cdc43301f8eea0565ff5105aaf5fc5c88d44a15ab-primary.xml.gz: [Errno -3] Error performing checksum Trying other mirror.
rhel-5-server-satellite-tools-6.1-rpms/primary | 6.7 kB 00:00
https://satellite.example.com/pulp/repos/ExampleOrg/Main_Serverst/Patch_Cycle/content/dist/rhel/server/5/5Server/i386/sat-tools/6.1/os/repodata/b5581ac29136afb029bc784cdc43301f8eea0565ff5105aaf5fc5c88d44a15ab-primary.xml.gz: [Errno -3] Error performing checksum Trying other mirror.
repo id repo name Status
rhel-5-server-rpms Red Hat Enterprise Linux 5 Server(RPMS) 10,902
rhel-5-server-satellite-tools-6.1-rpms Red Hat Satellite Tools 6.1(for RHEL 5 Server)(RPMS) 0
repolist: 10,982
Resolution
- Set the proper release version from the
Satellite Web UIorCLI:
Satellite Web UI -> Hosts -> Content Hosts -> Select the host -> Details -> Content Host Content -> Set the desired relase version.
- To determine which
release versionsare available:
# subscription-manager release --list
- To set the
release versionusing the CLI, use the following command:
# subscription-manager release --set=<RELEASE-VERSION>
# yum clean all
Root Cause
Incorrect release versionwas set.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
