In order to check that the installation was made correctly and the new Junos that the system will use after the reboot is the correct one, we can use the show system software backup post install command to verify.
Steps to take in order to verify the pending Junos that will run post reboot
Initial SRX state: Hostname: jtac-srx340-r2015 Model: srx340 Junos: 21.2R3-S5.2 <<<< Current Junos version labroot@jtac-srx340-r2015> show system software backup Backup JUNOS package information: File name: /altroot/cf/packages/junos-20.2R3-S2.5 <<<< Old backup Junos version File size: 404714494
> request system software add /var/tmp/junos-srxsme-21.4R3-S1.2.tgz no-copy no-validate Formatting alternate root (/dev/da0s2a)... /dev/da0s2a: 596.0MB (1220680 sectors) block size 16384, fragment size 2048 using 4 cylinder groups of 149.02MB, 9537 blks, 19200 inodes. super-block backups (for fsck -b #) at: 32, 305216, 610400, 915584 Installing package '/altroot/cf/packages/install-tmp/junos-21.4R3-S1.2' ... [] JUNOS 21.4R3-S1.2 will become active at next reboot WARNING: A reboot is required to load this software correctly WARNING: Use the 'request system reboot' command WARNING: when software installation is complete Saving state for rollback ...
> show system software backup Backup JUNOS package information: File name: /altroot/cf/packages/junos-21.4R3-S1.2 <<< pending New Junos to run after reboot File size: 412445557
>request system reboot
> show version Model: srx340 Junos: 21.4R3-S1.2 <<< New running Junos labroot@jtac-srx340-r2015> show system software backup Dec 07 22:57:11 Backup JUNOS package information: File name: /altroot/cf/packages/junos-21.2R3-S5.2 <<< The previous Junos version File size: 412736274