Committing the Active Package Set, on page 56
Committing the Active Package Set, on page 56
Examples
In the following examples, a package is deactivated from the router. The changes are committed and the
inactive package is removed from the router.
Deactivating the Package: Example
RP/0/RSP0/CPU0:router(admin)# install deactivate disk0:asr9k
-diags-.7.2
Install operation 27 'install deactivate disk0:asr9k-diags-3.7.2' started by
user 'lab' at 23:29:37 UTC Sat Apr 15 2009.
The install operation will continue asynchronously.
Info: The changes made to software configuration
Info: across system reloads. Use the command 'admin install commit' to make
Info: changes persistent.
Info: Please verify that the system is consistent following the software
Info: change using the following commands:
Info: show system verify
Info: install verify packages
Install operation 27 completed successfully at 23:30:22 UTC Sat Apr 15 2009.
Committing the Active Software Set: Example
RP/0/RSP0/CPU0:router(admin)# install commit
Install operation 29 'install commit' started by user 'lab' at 23:39:21 UTC
Sat Apr 15 20090.
Install operation 29 completed successfully at 23:39:24 UTC Sat Apr 15 2009.
Displaying the Inactive Packages: Example
RP/0/RSP0/CPU0:router(admin)# show install inactive summary
Default Profile:
SDRs:
Owner
Inactive Packages:
disk0:asr9k-diags-3.7.2
Removing the Inactive Package from the Router: Example
The following example shows how to remove an inactive package. In this example, the operation is run in
test mode. The operation is confirmed and the package is removed.
RP/0/RSP0/CPU0:router(admin)# install remove disk0:asr9k-diags-3.7.2 test
Install operation 30 'install remove disk0:hfr-diags-3.7.2 test' started by
user 'lab' at 23:40:22 UTC Sat Apr 15 2009.
Warning: No changes will occur due to 'test' option being specified. The
Warning: following is the predicted output for this install command.
Info: This operation will remove the following package:
Info: disk0:asr9k-diags-3.7.2
Info: After this install remove the following install rollback points will
Info: no longer be reachable, as the required packages will not be present:
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
68
Upgrading and Managing Cisco IOS XR Software
Deactivating and Removing Cisco IOS XR Software Packages