users@glassfish.java.net

Re: Upgrading Glassfish v3 from the CLI

From: Sam Halliday <sam.halliday_at_gmail.com>
Date: Sat, 27 Feb 2010 08:16:32 -0800 (PST)

Thanks Alexis. If I type

$ bin/pkg set-authority --enable -P -O http://pkg.glassfish.org/v3/stable
stable.glassfish.org
$ bin/pkg image-update
No updates available for this image.

But when I restart the server and look in the admin panel, I see the message

  "There are 56 update(s) available."

The updates appear to be all "dev" updates, so the following updates
everything

$ bin/pkg set-authority --enable -P -O http://pkg.glassfish.org/v3/dev
dev.glassfish.org
$ bin/pkg image-update

The strange thing is that these updates all seem to be the 3.0.1 updates -
shouldn't they be listed under "stable"?


alexismp wrote:
>
> pkg image-update
> For more, check http://blogs.sun.com/alexismp/tags/ips and
> http://blogs.sun.com/uc2/ (pkg is the IPS CLI)
> -Alexis
>
> On 27 févr. 2010, at 15:18, Sam Halliday wrote:
>
>>
>> Dear all,
>>
>> I would like to know how to upgrade glassfish v3 using either the command
>> line tool or the web interface - the upgradetool requires a GUI and I'm
>> running on a headless machine.
>>
>> I have discovered the pkg tool, and it appears to be installed OK. I can
>> see
>> how to install and remove packages using this tool, but I am at a loss as
>> to
>> how to upgrade packages. Could somebody please let me know what command I
>> should type to upgrade all currently eligible packages?
>>
>> Regards, Sam
>> --
>> View this message in context:
>> http://old.nabble.com/Upgrading-Glassfish-v3-from-the-CLI-tp27728276p27728276.html
>> Sent from the java.net - glassfish users mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/Upgrading-Glassfish-v3-from-the-CLI-tp27728276p27728999.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.