Chris Ridd wrote:
On 15 Dec 2009, at 21:37, Bart Smaalders wrote:

Chris Ridd wrote:
I just tried image updating my 128a box to 129. I did have some problems after 
updating to 128a with repos without publisher prefixes (my own repo with my own 
packages) and with references to both the dev (preferred) and the release repos.
I thought I'd fixed those, but it involved renaming repos a bit and then deleting the "bad" ones. 
"pkg refresh" works OK, but a "pkg image-update" just now printed:
What happens w/

pkg image-update -nvf

The -f option doesn't check SUNWipkg... we've got a couple of bugs
in this area, exacerbated by the fact that people are changing
publishers due to the origin changes in 127.

$ pfexec pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/
canopus                               origin   online   http://localhost/
extra                                 origin   online   
https://pkg.sun.com/opensolaris/extra/
$ pfexec pkg image-update -nvf
Solver: [ Variables: 1861 Clauses: 13722 Iterations: 3 State: Succeeded]
Timings: [phase 1: 7.23429989815, phase 2: 0.186830997467, phase 3: 
13.3667299747, phase 4: 5.79566121101, phase 5: 0.0161428451538]
Package version changes:
pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T015251Z -> 
pkg://opensolaris.org/[email protected],5.11-0.129:20091205T092945Z
pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T041132Z -> 
pkg://opensolaris.org/[email protected],5.11-0.129:20091205T121918Z
pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T042958Z -> 
pkg://opensolaris.org/[email protected],5.11-0.129:20091205T124216Z
pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T011001Z 
-> 
pkg://opensolaris.org/[email protected],5.11-0.129:20091205T083327Z
[...]
pkg://opensolaris-dev/[email protected],5.11-0.128:20091125T022453Z -> 
pkg://opensolaris.org/[email protected],5.11-0.129:20091208T001823Z
[...]

That looks like it will update the affected packages and change the publisher 
name at the same time. Is it safe to do this image-update?

It should be. You can always create an alternate BE using "pfexec beadm create <name>" or create a zfs snapshot so you can rollback.

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

Reply via email to