Robin Axelsson wrote:
> Does anyone know how to properly run 'pkg fix' from an 'alternate' boot
> environment?
beadm mount <be-to-be-fixed> /mnt
pkg -R /mnt fix
beadm unmount /mnt
Note, though, that some of the bugs that prevented the update from being
completely successful will also make the fix unsuccessful. If you can get
the new BE to boot at least into single user mode, then you'll probably be
better off running pkg fix from that environment. Depending on what needs
fixing, you may need to run "beadm create" to clone off a new BE and fix
that one after mounting it somewhere.
Danek