Brock Pytlik wrote:
Shawn Walker wrote:
...image-update will not upgrade to [email protected] even though test2 is the preferred publisher. It didn't make any sense to me that install and one case for image-update would update a package despite whatever publisher was originally used for installation while another case would not.

I'm fine with that working as specified as long as if I'd said pkg install pkg://test1/[email protected], the image-update didn't take me off test1. If your change continues that behavior, I don't object to it.

But install will take you off test1, and image-update will take you off test1 today depending on what order you set the preferred publishers. That was the whole point of this fix.

To be clear, today if you:

* Assume publisher test1 has [email protected] and publisher test2 has [email protected]

pkg set-publisher -P test1
pkg install [email protected]
pkg set-publisher -P test2
pkg image-update

...then image-update *will* take you off test1, *even* if you did pkg install pkg://test1/[email protected].

The bug here is that if the installed publisher of a package doesn't match the preferred publisher at the time of installation, image-update will not cross publisher boundaries.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to