Bug 6533 - SUNWinstalladm-tools was the wrong version of opensolaris.org
: SUNWinstalladm-tools was the wrong version of opensolaris.org
Status: RESOLVED FIXED
Product: installer
installadm
: unspecified
: i86pc/i386 OpenSolaris
: P1 critical (vote)
: ---
Assigned To: Sundar Yamunachari
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-02-10 19:31 UTC by Mary Ding
Modified: 2009-02-24 11:40 UTC (History)
5 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Mary Ding 2009-02-10 19:31:54 UTC
This had been reported by serveral internal and external users who want to
check out sparc AI on x86 machines.

I am able reproduce this fairly easily as follow:

1.  Install 2008.11.08 on an x86 machine.

2.  In our AI instructions, we tell user to install the SUNWinstalladm-tools
from opensolaris.org, this is what I did:

Sun Microsystems Inc.    SunOS 5.11    snv_101a    November 2008
jack@opensolaris:~$ su
Password:
jack@opensolaris:~# cat /etc/release
                      OpenSolaris 2008.11 snv_101a_rc1b X86
       Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
            Use is subject to license terms.
                           Assembled 05 November 2008
jack@opensolaris:~# pkg authority
AUTHORITY                           URL
opensolaris.org (preferred)        http://pkg.opensolaris.org/
jack@opensolaris:~#
 pkg info SUNWinstalladm-tools
pkg: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

    SUNWinstalladm-tools
jack@opensolaris:~#  pkg install SUNWinstalladm-tools
DOWNLOAD                                    PKGS    FILES     XFER (MB)
Completed                                    8/8   1093/1093     5.95/5.95

PHASE                                        ACTIONS
Install Phase                              1390/1390
PHASE                                          ITEMS
Reading Existing Index                 9/9
Indexing Packages                 8/8
jack@opensolaris:~# pkg info SUNWinstalladm-tools
      Name: SUNWinstalladm-tools
    Summary: Automatic Installation Server Setup Tools
     State: Installed
    Authority: opensolaris.org
    Version: 0.5.11
 Build Release: 5.11
    Branch: 0.101
Packaging Date: Wed Nov 19 22:34:44 2008
      Size: 349.93 kB
      FMRI: pkg:/SUNWinstalladm-tools@0.5.11,5.11-0.101:20081119T223444Z
jack@opensolaris:~#


Instead of getting the SUNWinstalladm-tools for 2009.0906.106a,  I got the
wrong one that does not have the sparc AI support.

For some reason, I cannot set my package authority to opensolaris.org/dev and
it fails as follow:

jack@opensolaris:~# pkg set-authority -P -O http://opensolaris.org/dev
opensolaris.org
pkg: Could not refresh the catalog for opensolaris.org
jack@opensolaris:~# 

However, I can use ipkg.sfbay/dev and it works:

jack@opensolaris:~# pkg set-authority -P -O http://ipkg.sfbay/dev
opensolaris.org
jack@opensolaris:~# pkg authority
AUTHORITY                           URL
opensolaris.org (preferred)         http://ipkg.sfbay/dev/
jack@opensolaris:~#  pkg install SUNWinstalladm-tools
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       15/15     0.05/0.05 

PHASE                                        ACTIONS
Removal Phase                                  14/14 
Install Phase                                  12/12
Update Phase                                   15/15
PHASE                                          ITEMS
Reading Existing Index                           9/9 
Indexing Packages                                1/1
jack@opensolaris:~#  pkg info SUNWinstalladm-tools
          Name: SUNWinstalladm-tools
       Summary: 
         State: Installed
     Authority: opensolaris.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.101
Packaging Date: Sat Jan 31 22:03:37 2009
          Size: 357.68 kB
          FMRI: pkg:/SUNWinstalladm-tools@0.5.11,5.11-0.101:20090131T220337Z
jack@opensolaris:~# 


Now I do get the correct one. THis needs to be fixed because this will cause
problems.
Comment 1 Mary Ding 2009-02-10 19:51:47 UTC
I made a typo and I should use http://pkg.opensolaris.org/dev and it works:

jack@opensolaris:~# pkg set-authority -P -O http://pkg.opensolaris.org/dev
opensolaris.org
jack@opensolaris:~# pkg authority
AUTHORITY                           URL
opensolaris.org (preferred)         http://pkg.opensolaris.org/dev/
jack@opensolaris:~# pkg install SUNWinstalladm-tools
No updates available for this image.   
jack@opensolaris:~# pkg uninstall SUNWinstalladm-tools
PHASE                                        ACTIONS
Removal Phase                                  85/85 
PHASE                                          ITEMS
Reading Existing Index                           9/9 
Indexing Packages                                1/1
jack@opensolaris:~# pkg info SUNWinstalladm-tools
pkg: no packages matching the following patterns you specified are
installed on the system.  Try specifying -r to query remotely:

        SUNWinstalladm-tools
jack@opensolaris:~# pkg install SUNWinstalladm-tools
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       43/43     0.12/0.12 

PHASE                                        ACTIONS
Install Phase                                  85/85 
PHASE                                          ITEMS
Reading Existing Index                           9/9 
Indexing Packages                                1/1
jack@opensolaris:~# pkg info SUNWinstalladm-tools
          Name: SUNWinstalladm-tools
       Summary: 
         State: Installed
     Authority: opensolaris.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.101
Packaging Date: Sat Jan 31 22:03:37 2009
          Size: 357.68 kB
          FMRI: pkg:/SUNWinstalladm-tools@0.5.11,5.11-0.101:20090131T220337Z
jack@opensolaris:~#
Comment 2 David Comay 2009-02-11 23:00:25 UTC
Is there any reason to keep this bug open?  The authority must be specified
correctly - in this case, http://pkg.opensolaris.org/dev - otherwise, the
correct version of the package will not install.
Comment 3 Clay Baenziger 2009-02-15 17:33:51 UTC
Hi David,
   Yes, the AI instructions at
http://www.opensolaris.org/os/project/caiman/auto_install/AI_install_server_setup.html
are incorrect since the rollback of the fix for 6420 - Streamline AI Install
Server Instructions. I've assigned the bug to Sundar since he has his own plan
for that document. I may be wrong, but I believe that's the only documentation
for AI right now where this is specified.

Thank you,
Clay
Comment 4 Sundar Yamunachari 2009-02-24 11:40:16 UTC
The instructions are updated to download SUNWinstalladm-tools from /dev
repository and will have latest pushed package.

Fixed in the documentation