Description

When attempting to add the Junos OS package "junos-install-mx-x86-64-21.4R3-S5.4.tg" to a device, users may encounter the error message: "Failed to add junos-install-mx-x86-64-21.4R3-S5.4.tg". This error indicates a failure in the process of adding or installing the Junos OS package onto the device.

Symptoms

> request system software add /var/tmp/junos-install-mx-x86-64-21.4R3-S5.4.tgz no-validate reboot

Adding os-zoneinfo-20230821.5fbe894_builder_stable_12_214 ...
Verified py-base signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-base-x86-32-20231005.205050_builder_junos_214_r3_s5 ...
Verified py-extensions signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding py-extensions-x86-32-20231005.205050_builder_junos_214_r3_s5 ...
Verified sflow-mx signed by PackageProductionECP256_2023 method ECDSA256+SHA256
Adding sflow-mx-x86-32-20231005.205050_builder_junos_214_r3_s5 ...
Verified vrr-mx signed by PackageProductionECP256_2023 method ECDSA256+SHA256
ERROR: Failed to add junos-install-mx-x86-64-21.4R3-S5.4.tgz

 

Solution

Possible Causes:
1. Corrupted or Incomplete Package: The Junos OS package file may be corrupted or incompletely uploaded into the router, preventing it from being successfully added to the device.
2. Insufficient Disk Space: The device may lack sufficient disk space to accommodate the new Junos OS package, leading to a failure during the addition process.
3. Compatibility Issues: The Junos OS package may not be compatible with the hardware or software version of the device, causing the addition process to fail.
4. Permission Issues: The user attempting to add the Junos OS package may lack the necessary permissions or privileges to operate.

Troubleshooting Steps:
1. Verify Package Integrity: Ensure that the Junos OS package file is not corrupted or incomplete by validating the MD5 checksum. Download the package again from a reliable source and attempt to add it to the device.
2. Check Disk Space: Verify that the device has sufficient available disk space to accommodate the new Junos OS package. Clear unnecessary files or partitions if needed to free up space.
3. Review Compatibility: Confirm that the Junos OS package is compatible with the hardware platform and software version of the device. Check the release notes and compatibility matrix provided by Juniper Networks for compatibility information.
4. Check Permissions: Ensure that the user attempting to add the Junos OS package has the necessary permissions or privileges to perform the operation. Use a user account with root privileges if required.

Resolution Steps:
1. Retry Adding the Package: After addressing any potential causes identified during troubleshooting, attempt to add the Junos OS package to the device again.
2. Intermediate/Alternative Version: Attempt uploading an intermediary or alternate version and verify if the device upgrades successfully.
3. Validate and No-Validate Knob: During the Junos version upgrade, if encountering any errors, experiment with both the validate and no-validate commands.
4. Contact Support: If the issue persists despite troubleshooting efforts, contact Juniper Networks support for further assistance. Provide detailed information about the error message encountered and the steps taken to troubleshoot the issue.

Note:
By following the troubleshooting steps outlined above, users can effectively diagnose and resolve the "Failed to add junos-install-mx-x86-64-21.4R3-S5.4.tg" error, ensuring a smooth installation process for Junos OS packages on their devices.

Modification History

2024-05-24 : Article Created