Robin Axelsson wrote: > The pkg fix was not successful at all even though it said so, it didn't > "fix" anything, the same errors remain. > > I don't understand how I can use 'pkg fix' when booting the BE in > single-user as you suggest. When I do that it will only say: > > pkg: Requested "fix" operation would affect files that cannot be modified in > live image. > Please retry this operation on an alternate boot environment.
Right. This is where you'd say beadm create new-be beadm mount new-be /mnt pkg -R /mnt fix ... beadm unmount new-be beadm activate new-be reboot This creates a clone of the current BE, which is compatible with the current pkg(5) bits, and won't have the problem of having to modify files in use. Danek