Hello friends,
I am using pkg to install my software. From time to time $app gets an update and something breaks. What are your ways to rollback to the $old_app_version ?
In my setup nearly everything is isolated in a jail .
One approach for me is
snapshot the jail
run pkg upgrade
if the new code is unstable , I revert to the old snapshot and everything should run as before.
But in reality sometimes I just don't do the snapshot and then I have a broken application. Often I can't uninstall the software an go back to the old version , because it was removed from the pkg mirror ? What I mean by that is, pkg install app_oldversion is not there anymore.
Is there a way to download the dependencies and secure and store them on the day I have installed it ? That way I can always go back to the old version.
thanks for your comments !
best regards , sebastian
I am using pkg to install my software. From time to time $app gets an update and something breaks. What are your ways to rollback to the $old_app_version ?
In my setup nearly everything is isolated in a jail .
One approach for me is
snapshot the jail
run pkg upgrade
if the new code is unstable , I revert to the old snapshot and everything should run as before.
But in reality sometimes I just don't do the snapshot and then I have a broken application. Often I can't uninstall the software an go back to the old version , because it was removed from the pkg mirror ? What I mean by that is, pkg install app_oldversion is not there anymore.
Is there a way to download the dependencies and secure and store them on the day I have installed it ? That way I can always go back to the old version.
thanks for your comments !
best regards , sebastian