Description

This article explains the following error message while adding a software package:

ERROR: Another package installation in progress

Due to CLI disconnection, which could be either ssh, telnet, or console access, syslog messages may not be seen after executing the command, "request system software add ...". Therefore, we are unable to determine the estimated time required to complete the package installation and load the new code with a reboot of the RE. This results in loading the package again and getting the above error message.

Steps are provided below to avoid performing unnecessary troubleshooting.

This KB does not apply specifically to Junos 18.3R1.9.

Symptoms

When adding an installation package and there is already an installation in progress, plus the CLI session is closed, the same package was added again. Then we get the below error:

root@root> request system software add re1 no-validate...
Pushing /var/tmp/jinstall-ppc-18.3R1.9-signed.tgz to re1:/var/tmp/jinstall-ppc-18.3R1.9-signed.tgz
ERROR: Another package installation in progress:
user root terminal unknown, process 56095, started at 2022-09-10 14:16 WIT

This error occurs when the previously added package is in progress of installation and then we add the same or a different package.

Solution

In order to check if there is a package waiting for a reboot to be loaded, use one of the following methods:

  • Use >monitor start install, it will start showing the live package installation messages.
  • Use >show log install, it will show installation messages logged till now.


OR
 

Check if there is a software package loaded already with "show version".

user@router> show version 
Hostname: router
Model: mx480
Junos: 19.4R3.11
Pending: 20.4R3.8 --------------> Version 20.4R3.8 is pending a reboot to be loaded. 
JUNOS OS Kernel 64-bit  [20200922.4042921_builder_stable_11]
JUNOS OS libs [20200922.4042921_builder_stable_11]
JUNOS OS runtime [20200922.4042921_builder_stable_11]
JUNOS OS time zone information [20200922.4042921_builder_stable_11]
JUNOS network stack and utilities [20201008.203813_builder_junos_194_r3]
JUNOS libs [20201008.203813_builder_junos_194_r3]

Modification History

.