Software update download failed with message: "The required 'x.x.x' base image must be loaded before this image can be loaded."
10632
Created On 03/01/24 00:31 AM - Last Modified 05/01/24 20:43 PM
Symptom
- Base image of a version is already on the firewall.
- When trying to download a software update version, e.g. 10.2.8, error message indicating missing base image is displayed.
The required ’10.2.0’ base image must be loaded before this image can be loaded. You do not have to install or run the base image, only download it.
Environment
- Palo Alto Firewalls
- Supported PAN-OS
- Software Upgrade
Cause
- The firewall has a limited space to load the required image for the target version installation.
Example:
- Firewall is on 10.1.x version
- For upgrade to 10.2.x, both 10.2.0 and 10.2.8 images are downloaded
- When trying to load the 10.2.8 image error message is displayed as the base image is purged due to low disk space.
- Due to this purge, the base image no longer exists and error message is displayed.
- The logs for the same are captured in /opt/panrepo/logs/swm.log
00:09:39 swm.rpo INFO: Fetching: /opt/pancfg/mgmt/uploaded/sw-images/PanOS_vm-10.2.8
00:09:39 swm.rpo DEBUG: Available freespace: 1154, Required: 1350.0
00:09:39 swm.rpo DEBUG: Purging Image: panos-10.2.0
00:09:39 swm.rpo DEBUG: Purging Image Base: 10.2.0
Resolution
- Free the disk space by removing the older/unused software images.
- GUI: Device > Software > Click "x" on the last column for the older images that are not being used.
- The same can also be done on the CLI using "delete software...." command (Use tab for correct command).
- Go to the CLI and delete all other versions apart from the base version and currently installed version (example 10.1.12 and 10.1.0):
- Now try download 10.2.0 and install it.
- After the device reboots to 10.2.0 one can now delete 10.1.12 and 10.1.0
- Finally download 10.2.8, install it and reboot.
Additional Information
PAN-OS Upgrade Guide