I've figured out why. Copying /etc/passwd file from a different system changes the ownership of some files, causing the update program unable to access them even when zfssnap is added.
I just wrote a script to prevent overwriting any entry as well as any copy that might lead to conflict(i.e. same user or same uid). Seems like the update is working now, hopefully it won't cause trouble on building ON. Tian On Mon, Jan 25, 2010 at 11:30 AM, Danek Duvall <[email protected]> wrote: > Tian He wrote: > > > So I added the zfssnap entry to file /mnt/b128/etc/passwd and tried > again, > > the same error occurred again, anything else that I missed? > > You could try running "pkg -R /mnt/b128 verify SUNWgnome-time-slider" and > see if it still complains. But I can't think of any reason, if that comes > up clean, that the upgrade would fail. I suppose you could always try > removing the package to do the upgrade, but I'd expect that to fail the > same way the upgrade is. > > Danek > _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
