Kaspersky Secure Mail Gateway

Detecting objects that are incompatible with the update

July 10, 2024

ID 269608

To check if a computer on which you are updating KSMG has incompatible objects:

  1. On the computer with the KSMG 2.0.1 installed, connect to the KSMG virtual machine management console under the root user account using the private SSH key.

    You will enter Technical Support Mode.

  2. In the upgrade package, locate the check_fs_and_packages.py script and copy the script to the cluster node that you are upgrading.
  3. Make the script file executable using the following command:

    chmod +x ./check_fs_and_packages.py

  4. Run the check_fs_and_packages.py script with root privileges:

    ./check_fs_and_packages.py

If no incompatible objects are found, the following message is displayed: Incompatible objects not found. You can start installing the upgrade package.

If objects incompatible with the installation are found, the following message is displayed: Objects that are not compatible with the upgrade package were found on the computer, and one or two files are generated:

  • incompatible_files_and_directories.txt containing a list of incompatible files or directories.
  • incompatible_packages.txt containing a list of incompatible packages.

You must delete incompatible objects before updating the application.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.