Is there a way to run yum to update the files on a non working system when booting from a live or rescue iso ?

Thanks