RHEL 6 yum offline update gives 404 error

Latest response

I am following the offline update procedure at:

when running step 4, I get a file not found error for a repomd.xml file. I can run a regular "yum update" and the system updates, so I don't think it is a registration or connectivity issue.

Any advice or ideas is appreciated. Thanks!

[root@compy yum.repos.d]# yum update --downloadonly --downloaddir /tmp/rpm_db --installroot=/tmp/rpm_db/
Loaded plugins: nvidia, product-id, refresh-packagekit, rhnplugin, search-
: disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
This system is not registered with RHN Classic or RHN Satellite.
You can use rhn_register to register.
RHN Satellite or RHN Classic support will be disabled.
Setting up Update Process
https://cdn.redhat.com/content/dist/rhel/workstation/6/%24releasever/i386/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article


If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-workstation-rpms. Please verify its path and try again


solved my own issue - I skipped a part of step 3 and didn't run the "tar xf..." command before running step 4. Thanks.