Steven:

This is what I do before I pkgadd the SUNWinstalladm-tools. I use beadm to create a backup.

i.e.:

beadm create osol_1108_108

beadm activate osol_1108_a08

init 6


After the be is rebooted, then I use pkgadd to pkgadd the latest SUNWinstalladm-tools.


When the new SUNWinstalladm-tools is back published to the repo, then I beadm activate the osol_1108 be back. I will do pfexec pkginstall SUNWinstalladm-tools and it should update it to the latest one.

This is what I did when I tested osol 0904 SUNWinstalladm-tools after it was back published to ipkg.sfbay/dev.

This will be done again when the updated SUNWinstalladm-tools for the June release.



Steven Lau wrote:
Hi Mary,

Thanks for workarounds ..... so my machine will have two SUNWinstalladm-tools (one with IPS format and one with SVR4 format) after I did pkgadd ... BTW, any relationships between SUNWinstall package and SUNWinstalladm-tools package, or they are different animals.

Thx,

-Steven

On 03/13/09 02:25 PM, mary ding wrote:
Steven:


Even if you pkg uninstall SUNWinstalladm-tools and then pkg install SUNWinstalladm-tools, you will not get the latest one until it was back publish to the repo when it is ready for release.

The only workaround is to do pkgadd of the SUNWinstalladm-tools from our AI nightly images.

x86: /net/indiana-build.central/extrapool/nightly_builds/slim_source/packages/i386/nightly-nd

sparc:

/net/indiana-build-sp.central/storage/nightly_builds/slim_source/packages/sparc/nightly-nd

#
# pkgadd -d /tmp SUNWinstalladm-tools

When using SVR4 pkgadd for installation, you need to make sure that
all IPS dependencies SUNWinstalladm-tools package requires are satisfied
(they are if you previously had some older version of SUNWinstalladm-tools
package installed on that system).

On your AI server, you can obtain list of dependencies using IPS pkg(1)
in following way:

# pkg contents -r -t depend -o action.raw SUNWinstalladm-tools
ACTION.RAW
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require
depend [email protected] type=require

Steven Lau wrote:
Hi,

My machine installed with old version of SUNWinstalladm-tools ;

1. If I want to install the latest version of SUNWinstalladm-tools from a repo, do I need to uninstall my existing package first before I do pkg install. Or it would leave 2 versions of packages in my system.

2. If I need to do pkg uninstall first, do I need to reboot the machine first before I pkg install OR it depends on the behavior of package itself.

Thanks,

-Steven

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



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

Reply via email to