0

having servers that do not have an internet connection, what is the proper method for getting all necessary rpms so that a yum update does not fail because of dependency problems?

Is there any other way than using reposync on an internet connected computer that is registered to repositories, and simply having to deal with every rpm from all repositories that you may have some software from? In my case that is currently rhel-8 and epel-8 and rpmfusion-free.

I know how to create a local repository on a linux system, it's a matter of getting all the rpms and intermediate versions of rpms to guarantee a successfull yum update from a clean install from dvd from rhel-8.7-x86_64-dvd.iso. Reposync'ing 5 repo's in total in entirety which will amount to some 100gb of download, just doesn't seem right

7
  • My usual approach is to nominate one server as the yum server, have it reposync all the useful repos down to it, and then just have the remaining servers in the organisation point at this nominated server. Is that approach possible in your situation ?
    – steve
    Mar 1, 2023 at 22:23
  • Does this answer your question? How to update a disconnected CentOS system from a list of installed RPMs? Mar 1, 2023 at 22:25
  • I have servers in a lab that has no internet connection nor have a network connection to any computer that does have an internet connection. So it's a matter of transferring all needed rpms via usb drive.
    – ron
    Mar 1, 2023 at 22:25
  • @ron are you working in an air-gapped environment, or is information allowed to leave the offline computer on a USB drive? Mar 1, 2023 at 22:26
  • yes air-gapped, per definition at en.wikipedia.org/wiki/Air_gap_(networking)
    – ron
    Mar 1, 2023 at 22:27

1 Answer 1

0

air-gapped, per definition at en.wikipedia.org/wiki/Air_gap_(networking)

Well, what's the question then? You're not allowed to carry out information on what is installed on your air-gapped machine to the outside world.

So, you cannot be able to selectively only download the packages you need, since you're not allowed to have that information on the downloading computer.

Hence, you need a full download of all the packages that you might ever need.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .