Unable to download new version

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Unable to download new version

L0 Member

PA-440 running 10.1.13 update to 10.2.0, but when I download 10.2.0-h2  ......

admin@PA-440> request system software download version 10.2.0-h2

Download job enqueued with jobid 9
9

admin@PA-440> show jobs id 9

<response status="success"><result>Enqueued Dequeued ID Type Status Result Completed
------------------------------------------------------------------------------------------------------------------------------
2024/04/18 15:02:13 15:02:13 9 Downld FIN FAIL 15:02:47
Warnings:

Details:Successfully downloaded
Preloading into software manager
Traceback (most recent call last):
File "/usr/local/bin/swminternal", line 18, in <module>
swmmain.main(sys.argv[1:])
File "/usr/share/pan-swm/swmmain.py", line 103, in main
UI.runCommand(H)
File "/usr/share/pan-swm/swmcli.py", line 278, in runCommand
cmd(self.extcmds)
File "/usr/share/pan-swm/swmcli.py", line 426, in do_load
swm.swmRepository(self).load(args, not self.options['nocrypt'])
File "/usr/lib64/python3.6/site-packages/swm/repo.py", line 413, in load
self.ensure_freespace_step1(data)
File "/usr/lib64/python3.6/site-packages/swm/repo.py", line 300, in ensure_freespace_step1
for img in self.redundant_bases():
File "/usr/lib64/python3.6/site-packages/swm/repo.py", line 190, in redundant_bases
images.sort(reverse=True)
File "/usr/lib64/python3.6/site-packages/swm/image.py", line 66, in __lt__
return self.release_info['date'] < obj.release_info['date']
TypeError: '<' not supported between instances of 'datetime.datetime' and 'NoneType'

Failed to load into software manager. Please retry.
Post processing failed. Please retry.


</result></response>

 

 

How can I do?

1 accepted solution

Accepted Solutions

Community Team Member

Hi @Albert_Liu ,

 

Looks like you might be running into a bug where Invalid images under /opt/panrepo causes software download failures.  

 

You can reach out to TAC so they can confirm if you're actually hitting this exact bug and provide you with a valid upgrade path for the fix. They can also root into the device and remove the corrupted image after which you can try the software download again.

 

Kind regards,

Kim.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

View solution in original post

1 REPLY 1

Community Team Member

Hi @Albert_Liu ,

 

Looks like you might be running into a bug where Invalid images under /opt/panrepo causes software download failures.  

 

You can reach out to TAC so they can confirm if you're actually hitting this exact bug and provide you with a valid upgrade path for the fix. They can also root into the device and remove the corrupted image after which you can try the software download again.

 

Kind regards,

Kim.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.
  • 1 accepted solution
  • 453 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!