Gateway 11 upgrade Readiness checker script returning Package deviation checks - FAIL error
search cancel

Gateway 11 upgrade Readiness checker script returning Package deviation checks - FAIL error

book

Article ID: 367328

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

The SSG 11.1 Readiness checker script returning Package deviation checks - FAIL error

Getting an error while running readiness script..

[root@xxxxxx]# ./ssg-inplace-upgrade-readiness-checker_v11.1.00.17707.sh

System Check: Starting system pre-check...

System Check: Running on an OVA Gateway.

 

System Check: Validating package deviations..

System Check: The number of installed packages does not match the number of base Gateway packages.

Please check below for more information

 

System Check: 6 additional packages are installed.

They are as follows:

...

 System Check: Some checks failed.

 System Check: Upgrading could lead your system into an unreliable state!!!, so proceed with extreme caution!!

 Do you want to continue with the patch installation? (yes/no):

Environment

API Gateway 11.0

Cause

The user installed extra packages.

Resolution

1. Take a full system backup/snapshot. 

2. Uninstall the extra packages, note that the installation of these extra packages may require inputting certain data. research to find out the details so that you can use them when you re-install at a later step.

3. rerun the Readiness checker script and confirm that the 

System Check: Package deviation checks - PASS

4. reboot

5. The means to install the extra extra packages were likely through the modifications of the /etc/apt/sources.list or some extra file under /etc/apt/sources.list.d/, if so remove the files under /etc/sources.list.d/ and empty out the content of the /etc/apt/sources.list

6. Run the following as root to clean apt cache

apt clean
apt update

7. reboot

8. attempt to apply the OS patch to upgrade

9. reinstall extra pacages using the information capture duing step 2 post-upgrade. 

If you do not know why and how those packages were installed and how to reinstall them, you can proceed with the upgrade. If the upgrade fails, please reach out to Support for further assistance.