Greenplum Upgrade on CentOS 7 with no internet access
search cancel

Greenplum Upgrade on CentOS 7 with no internet access

book

Article ID: 437807

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

The upgrade process is failing due to the server having no outbound internet access. As a result, YUM cannot download required dependency packages such as libicu and libical and we receive the following errors:

Dependent packages)
Upgrade  1 Package

Total size: 774 M
Total download size: 7.1 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
libical-3.0.3-2.el7.x86_64.rpm FAILED
http://olcentgbl.trafficmanager.net/centos/7/os/x86_64/libical-3.0.3-2.el7.x86_64.rpm: [Errno 14] HTTP Error 502 - Bad Gateway
Trying other mirror.
libicu-50.2-4.el7_7.x86_64.rpm FAILED
http://olcentgbl.trafficmanager.net/centos/7/os/x86_64/libicu-50.2-4.el7_7.x86_64.rpm: [Errno 14] HTTP Error 502 - Bad Gateway
Trying other mirror.


Error downloading packages:
  libicu-50.2-4.el7_7.x86_64: [Errno 256] No more mirrors to try.
  libical-3.0.3-2.el7.x86_64: [Errno 256] No more mirrors to try.

Since CentOS 7 has reached end-of-life, the standard CentOS mirrors are no longer available.

How do we complete the Greenplum upgrade in a fully offline environment?

Resolution

To complete this upgrade in your offline environment, you will have to manually download the RPM's needed from the CentOS Vault.

The last version of CentOS 7.9.2009 

1. The following command will list the packages required:

rpm -q --requires ./greenplum-db-6.32.1-rhel7-x86_64.rpm 

 

2. Transfer RPM's to the offline server. Move these files to your Greenplum Coordinator/Master and host servers using your preferred secure transfer method.

 

3. Install the dependencies locally. On each server run the following command as root and use the absolute file path:

sudo yum localinstall <package_name>.rpm

Once each of the missing packages has been installed try the upgrade again.