Support Center > Search Results > SecureKnowledge Details
"Uninstall Failed: (Reason: Failed locating backup archive.)" when uninstalling a package using CPUSE
Symptoms
  • Uninstallation of a package using CPUSE fails with:
    "Uninstall Failed: (Reason: Failed locating backup archive.)"

  • /opt/CPInstLog/DeploymentAgent.log shows that uninstall of the package failed.

    Example:

    [DATE - TIME]: ------ Extracting Configuration: ------
    [DATE - TIME]: Extracting /opt/CPda/repository/CheckPoint#CPUpdates#All#6.0#4#0#BUNDLE_R77_30_T159_HF_961#6/Check_Point_R77_30_T159_HF_961_Bundle_FULL.tgz to /var/log/tmp/bundle_uninstall_tmpdir_CheckPoint#CPUpdates#All#6.0#4#0#BUNDLE_R77_30_T159_HF_961#6_Kpwm7h (nice -n 19 gtar -zxvf /opt/CPda/repository/CheckPoint#CPUpdates#All#6.0#4#0#BUNDLE_R77_30_T159_HF_961#6/Check_Point_R77_30_T159_HF_961_Bundle_FULL.tgz -C /var/log/tmp/bundle_uninstall_tmpdir_CheckPoint#CPUpdates#All#6.0#4#0#BUNDLE_R77_30_T159_HF_961#6_Kpwm7h).
    [DATE - TIME]: Adding execution permissions to bundle scripts (/bin/chmod +x /var/log/tmp/bundle_uninstall_tmpdir_CheckPoint#CPUpdates#All#6.0#4#0#BUNDLE_R77_30_T159_HF_961#6_Kpwm7h/scripts/*).
    [DATE - TIME]: ------ Reading Configuration: ------
    [DATE - TIME]: Package Check_Point_R77_30_T159_HF_961_Bundle_FULL.tgz is a bundle - performing bundle uninstall validation...
    [DATE - TIME]: ------ Uninstalling: ------
    [DATE - TIME]: Error: can't find backup file: /var/log/CPda/backup/fw1_backup_HOTFIX_R77_30_T159_HF_961.tgz
    [DATE - TIME][HIGH MSG_ERROR_BACKUP_FILE_NOT_FOUND]: Uninstall of package Check_Point_R77_30_T159_HF_961_Bundle_FULL.tgz Failed
Cause

CPUSE fails to uninstall an existing hotfix because at least one of the required backup packages is missing from /var/log/CPda/backup/ directory.


Solution
Note: To view this solution you need to Sign In .