Score:0

Setup an empty YUM repo that will download and keep in local the RPM it is asked for

cn flag

I'm trying to understand if its possible to setup the following :

A fresh CentOS 7.9 server (called A) that is configured as YUM repo but with 0 RPM to serve.

Setup this server as a YUM repo on another machine (called B) and when I do yum install XXX the server A will fetch the RPM asked from other more standard repo, store them locally and then send them to B.

The goal is to the end with a mirror that contains all the rpm and dependencies I need for offline installation.

pt flag
https://unix.stackexchange.com/questions/240010/how-to-create-an-on-demand-rpm-mirror may have some useful information.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.