Description

This article explains how to recover if there's an upgrade failure on SRX device

Symptoms

While trying to perform an upgrade getting following error

 

ERROR: Host Upgrade failed!

ERROR: upgrade failed

ERROR: junos-srx-img fails post-install

ERROR: junos-srxmr-x86-64-21.2R3-S7.2-signed fails post-install

Installation failed for package '/var/tmp/junos-srxmr-x86-64-21.2R3-S7.2.tgz

Solution

The upgrade is failing because there is some pending upgrade in the kernel

 

  • To roll back the upgrade log into shell using root credentials

start shell user root

 

  • Then login to the Linux operating system using the root password again:

ssh -JU __juniper_private4__ [email protected]

password:

 

  • Once logged in, issue the following command for rollback:

upgrade_platform -r

 

Exit from the Linux prompt and from the shell prompt. Then run the upgrade once again.

Modification History

2024-09-21 : Article Created