[pkg-discuss] ?: is it possible to select a older build of pkg.opensolaris.org/dev pkg update
Bart Smaalders
bart.smaalders at Sun.COM
Fri Feb 20 10:20:58 PST 2009
Winfried Noske - Sun Ratingen wrote:
> Hi,
>
> yesterday I updated my home-PC (currently running with build 101)
> with build 107 of pkg.opensolaris.org/dev.
> A couple of things seem to be broken (nwam manager has problems, icons
> and menus are missing).
> I currently use build 106 on another system and with this build I don't
> have
> any problems, so I want to know whether it's possible to do a pkg update
> to build 106?
>
> Thanks in advance for your help.
> Regards
>
We don't know how to go backwards, and installing less than
the latest is still a bit of work, so simply reboot your old
boot environment (101) and then:
1) install the latest version of ipkg for your image - you'll get
the right one automatically. This will be automatic at some point.
# pkg install SUNWipkg
2) Create a clone of the 101 boot environment
# beadm create opensolaris-N where N is the next unused number
3) Mount the clone so you can update it
# beadm mount opensolaris-N /mnt
4) Force all the OS packages in the clone to be upgraded to the versions
delivered in 106:
# pkg -R /mnt install pkg:/entire at 0.5.11,5.11-0.106
5) Update the boot archive (not sure this is needed, but JIC
# bootadm update-archive -R /mnt
6) Cause the new boot environment to be selected for booting
# beadm activate opensolaris-N
7) unmount the new environment
# cd /; beadm unmount opensolaris-N
8) Reboot
# reboot
This should do what you want.
- Bart
--
Bart Smaalders Solaris Kernel Performance
barts at cyber.eng.sun.com http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
More information about the pkg-discuss
mailing list