Description

On this KB we will confirm the behavior for >request system software rollback after deleting old packages.

Solution

We have confirmed, with the following commands, request system rollback will not be possible:

 

root@juniper> start shell command "pkg setop rm previous"

root@juniper> start shell command "pkg delete old

 

Results below:

 

{master:0}

root@juniper> show version

fpc0:

--------------------------------------------------------------------------

Hostname: juniper

Model: ex2300-48mp

Junos: 20.4R3-S9.3

 

{master:0}

root@juniper> start shell command "pkg setop rm previous"

 

{master:0}

root@juniper> start shell command "pkg delete old"

 

{master:0}

root@juniper> request system software rollback

fpc0:

--------------------------------------------------------------------------

ERROR: Cannot perform a rollback operation


Device was downgrade, and we have tried to perform the system rollback without deleting the packages, and the same worked as expected:


{master:0}

root@juniper>  show version

fpc0:

--------------------------------------------------------------------------

Hostname: juniper

Model: ex2300-48mp

Junos: 20.4R3-S8.1


{master:0}

root@juniper> request system software rollback

fpc0:

--------------------------------------------------------------------------

NOTICE: Initiated a rollback to the 'previous' set of packages: 20.4R3-S9.3

NOTICE: 'pending' set will be activated at next reboot...

Modification History

2023-11-16 : Article Created