My company manages some RHEL 7 systems for various customers. One customer in particular has a package installed from a non-default repository on their system. Several weeks ago, that repository suddenly and unexpectedly went offline. Now the customer wants a new system spun up with that same package installed. However, we can't obtain a copy of that package - the upstream repo is offline, and we clear out
/var/cache/yum daily via an automated process (using
yum clean) to save disk space on production systems. We're in contact with the vendor to obtain a copy of the package with no luck so far.
Assuming the Yum cache does not contain a copy, is there any way to retrieve or reconstruct an RPM package after it has been installed through Yum?
Obviously the best answer in my particular scenario is to tell the customer that there's nothing we can do until the vendor gets their act together, but let's say for the sake of this question that the customer is hypothetically our biggest customer and they'll leave us if we don't get a new system spun up with their software installed, so we must obtain a copy of the package or else our company risks going under. (In reality I'm just curious if there's a way to do this, my livelihood doesn't actually depend on it.)