cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
572
Views
0
Helpful
6
Replies

N540X-16Z4G8Q2C-D upgrade problem

Hi,

When I try to update NCS, I get the following errors:

RP/0/RP0/CPU0:ios#install package replace /harddisk:/ncs540l-x64-7.7.21.iso synchronous
Fri Mar 1 11:28:51.176 UTC
Starting:
install package replace /harddisk:/ncs540l-x64-7.7.21.iso
Packaging operation 14.1.1
Press Ctrl-C to return to the exec prompt. This will not cancel the install operation

Current activity: Initializing ....
Current activity: Veto checkRP/0/RP0/CPU0:Mar 1 11:29:33.826 UTC: instorch[198]: %INFRA-INSTALL-3-ACTION_FAILED : Packaging operation 14.1.1 failed - Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.7.21.iso'

Current activity: Undo package install ........

Packaging operation 14.1.1: 'install package replace /harddisk:/ncs540l-x64-7.7.21.iso' failed - Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.7.21.iso'. Automatically recovered after failure, ready for next user request.
RP/0/RP0/CPU0:ios#

RP/0/RP0/CPU0:ios#sh install log detail
Fri Mar 1 11:31:54.930 UTC
2024-03-01 11:28:52 UTC Transaction 14 started
2024-03-01 11:28:52 UTC Atomic change 14.1 started
2024-03-01 11:28:52 UTC Packaging operation 14.1.1 started
2024-03-01 11:28:52 UTC Replace
2024-03-01 11:28:52 UTC /harddisk:/ncs540l-x64-7.7.21.iso
2024-03-01 11:29:34 UTC Packaging operation 14.1.1 failed: Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.7.21.iso'
2024-03-01 11:29:34 UTC Packaging operation 14.1.1 aborted: Automatically recovered after failure
2024-03-01 11:29:34 UTC Atomic change 14.1 aborting: Automatic recovery after failure
2024-03-01 11:29:34 UTC Transaction 14 aborting: Automatic recovery after failure
2024-03-01 11:31:07 UTC Atomic change 14.1 aborted: Automatically recovered after failure
2024-03-01 11:31:07 UTC Transaction 14 aborted: Automatically recovered after failure
RP/0/RP0/CPU0:ios#

I tried to do it according to the instructions below

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/system-setup/70x/b-system-setup-cg-70x-ncs540/b-system-setup-cg-70x-ncs540_chapter_01001.html#id_121027 


Procedure
Step 1

Copy the ISO (or GISO) image to the /harddisk: location on the router.

Step 2

Upgrade the system to replace the current software with the .iso image.

Example:
Router#install package replace /harddisk:/ncs540l-x64-x.x.x.iso
Step 3

Activate the new .iso image on the router by applying the changes.

Example:
Router#install apply {reload | restart} [noprompt]
Note


You can use a single command to perform both the packaging operation and activating the applying the changes using install replace /harddisk:/ncs540l-x64-x.x.x.iso noprompt command.

 

Current software: Cisco IOS XR Software, Version 7.2.2 LNT

Can anyone help with this?

6 Replies 6

tkarnani
Cisco Employee
Cisco Employee

Hi Patryk,

from 722 >> 7721 is not supported. i have attached the document

there was a change in the kernel, this is potentially why you are seeing this error.

Can you help me with this?

So first I need to jump to one of the versions below

7.3.2/7.4.x/7.5.x/7.6.x/7.7.x

correct? 

Unfortunately, when I tried to install an intermediate version (7.4.2), the effect is the same.

RP/0/RP0/CPU0:ios#install package replace /harddisk:/ncs540l-x64-7.4.2.iso synchronous
Mon Mar 4 10:15:16.279 UTC
Starting:
install package replace /harddisk:/ncs540l-x64-7.4.2.iso
Packaging operation 9.1.1
Press Ctrl-C to return to the exec prompt. This will not cancel the install operation

Current activity: Initializing ....
Current activity: Veto checkRP/0/RP0/CPU0:Mar 4 10:16:01.715 UTC: instorch[344]: %INFRA-INSTALL-3-ACTION_FAILED : Packaging operation 9.1.1 failed - Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.4.2.iso'

Current activity: Undo package install .......

Packaging operation 9.1.1: 'install package replace /harddisk:/ncs540l-x64-7.4.2.iso' failed - Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.4.2.iso'. Automatically recovered after failure, ready for next user requ.
RP/0/RP0/CPU0:ios#
RP/0/RP0/CPU0:ios#sh install log detail
Mon Mar 4 10:17:42.737 UTC
2024-03-04 10:15:18 UTC Transaction 9 started
2024-03-04 10:15:18 UTC Atomic change 9.1 started
2024-03-04 10:15:18 UTC Packaging operation 9.1.1 started
2024-03-04 10:15:18 UTC Replace
2024-03-04 10:15:18 UTC /harddisk:/ncs540l-x64-7.4.2.iso
2024-03-04 10:16:01 UTC Packaging operation 9.1.1 failed: Error while extracting RPMs from the ISO: '/harddisk:/ncs540l-x64-7.4.2.iso'
2024-03-04 10:16:02 UTC Packaging operation 9.1.1 aborted: Automatically recovered after failure
2024-03-04 10:16:02 UTC Atomic change 9.1 aborting: Automatic recovery after failure
2024-03-04 10:16:02 UTC Transaction 9 aborting: Automatic recovery after failure
2024-03-04 10:17:24 UTC Atomic change 9.1 aborted: Automatically recovered after failure
2024-03-04 10:17:24 UTC Transaction 9 aborted: Automatically recovered after failure
RP/0/RP0/CPU0:ios#

When i tried to instal with different commend:

RP/0/RP0/CPU0:ios#install source file:///harddisk:/ncs540l-x64-7.4.2.iso reload synchronous
Tue Mar 5 10:08:11.109 UTC
This install operation will reload the system.
Continue? [yes/no]:[yes]
Starting:
install source file:///harddisk:/ncs540l-x64-7.4.2.iso reload
Atomic change 17.1
Press Ctrl-C to return to the exec prompt. This will not cancel the install operation

Current activity: Initializing ...
Current activity: Veto check .RP/0/RP0/CPU0:Mar 5 10:09:02.869 UTC: instorch[344]: %INFRA-INSTALL-3-ACTION_FAILED : Packaging operation 17.1.1 failed - Failed while checking and downloading any required packages: Any IOS-XR user installable package
RP/0/RP0/CPU0:Mar 5 10:09:02.874 UTC: instorch[344]: %INFRA-INSTALL-3-ACTION_FAILED : Install operation (Packaging operation) 17.1.1 failed - Failed while checking and downloading any required packages: Any IOS-XR user installable package

Current activity: Undo package install ......

Atomic change 17.1: 'install source file:///harddisk:/ncs540l-x64-7.4.2.iso reload' failed - Failed while checking and downloading any required packages: Any IOS-XR user installable package. Automatically recovered after failure, ready for next user request.
RP/0/RP0/CPU0:ios#sh install log detail
Tue Mar 5 10:11:48.588 UTC
2024-03-05 10:08:13 UTC Transaction 17 started
2024-03-05 10:08:13 UTC Atomic change 17.1 started
2024-03-05 10:08:13 UTC Packaging operation 17.1.1 started
2024-03-05 10:08:13 UTC Upgrade
2024-03-05 10:09:02 UTC Packaging operation 17.1.1 failed: Failed while checking and downloading any required packages: Any IOS-XR user installable package
2024-03-05 10:09:03 UTC Packaging operation 17.1.1 aborted: Automatically recovered after failure
2024-03-05 10:09:03 UTC Atomic change 17.1 aborting: Automatic recovery after failure
2024-03-05 10:09:03 UTC Transaction 17 aborting: Automatic recovery after failure
2024-03-05 10:10:11 UTC Atomic change 17.1 aborted: Automatically recovered after failure
2024-03-05 10:10:12 UTC Transaction 17 aborted: Automatically recovered after failure
RP/0/RP0/CPU0:ios#

I have attached 742 upgrade guide, it does not look like 722 > 742 is supported
will need to go from 722 to 7.3.x then to 7.4.x
instead of doing multiple jumps is it possible to do a usb boot? you can download usb boot file extract to a usb and boot the router to 772 directly