users@glassfish.java.net

Re: issues with pkg (update center client) tool?

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Tue, 06 Oct 2009 12:14:43 -0700

One thing we can try to do is to make the switch to new build repository
version the day before the scheduled promotion - that way there is (in
theory) no nightly build which contains out-of-sync client package. On
the other hand, this would increase RE adrenaline level a bit :-)

Jakub Podlesak wrote:
> On Mon, Oct 05, 2009 at 11:46:54AM -0700, Snjezana Sevo-Zenzerovic wrote:
>
>> Jakub,
>>
>> sorry, you became a victim of UC client upgrade in progress :-(
>>
>
> Ok, no problem, thanks for clarification. I blamed the collab.net issues
> to be the root cause, and just wanted to know what could i expect in this area.
> I am happy things will get stabilized soon, so that our automated testing proces
> will not need any changes.
>
> Kind regards,
>
> ~Jakub
>
>
>
>> Nightly builds are AFAIK generally available, but when it comes to IPS
>> related functionality you may run into issues with the nightly since
>> updated IPS packages are published to external repository only for
>> promoted builds. In this particular case, we upgraded UC client version
>> used for internal build repository and as the result the nightly build
>> distribution has pkg-java package of the higher version than the one
>> which is "allowed" by pkg-toolkit-incorporation package which is
>> currently published on external repository... Things will get back to
>> normal when we push the same version of the package to external
>> repository which is slated for Wednesday, after the build promotion.
>>
>> In the meantime, if you need to install additional addon package on top
>> of your nightly build installation, you should be able to use
>> updatecenter section of AdminGUI without bootstraping the pkg client...
>>
>> Thanks,
>>
>> Snjezana
>>
>> Jakub Podlesak wrote:
>>
>>> On Mon, Oct 05, 2009 at 11:22:52AM +0200, Jakub Podlesak wrote:
>>>
>>>
>>>> Hi all
>>>>
>>>> i am trying to use the latest-glassfish.zip file [1] in order to install
>>>> and run GlassFishv3. When i unzip the archive and try to launch
>>>> ./bin/pkg tool, i get the following output:
>>>>
>>>> The software needed for this command (pkg) is not installed.
>>>>
>>>> When this tool interacts with package repositories, some system
>>>> information
>>>> such as your system's IP address and operating system type and version
>>>> is sent to the repository server. For more information please see:
>>>>
>>>> http://wiki.updatecenter.java.net/Wiki.jsp?page=UsageMetricsUC2
>>>>
>>>> Once installation is complete you may re-run this command.
>>>>
>>>> Would you like to install this software now (y/n): y
>>>>
>>>> Proxy: Using system proxy settings.
>>>> Install image: /export/home/japod/test/glassfishv3
>>>> Installing pkg packages.
>>>> Unrecognized exception: Package pkg-toolkit-incorporation contains
>>>> constraint that requires downgrade of installed pkg
>>>> pkg://dev.glassfish.org/pkg-java_at_1.122,0-38.2471:20090930T091727Z: Pkg
>>>> pkg-java: Optional min_version: 1.122-37 max_version: 1.122-37 defined
>>>> by: pkg:/pkg-toolkit-incorporation
>>>> com.sun.pkg.client.Constraint$DowngradeConflict: Package
>>>> pkg-toolkit-incorporation contains constraint that requires downgrade of
>>>> installed pkg
>>>> pkg://dev.glassfish.org/pkg-java_at_1.122,0-38.2471:20090930T091727Z: Pkg
>>>> pkg-java: Optional min_version: 1.122-37 max_version: 1.122-37 defined
>>>> by: pkg:/pkg-toolkit-incorporation
>>>> at com.sun.pkg.client.Constraint.checkForWork(Constraint.java:365)
>>>> at com.sun.pkg.client.Image$ImagePlan.evaluateFmri(Image.java:465)
>>>> at com.sun.pkg.client.Image$ImagePlan.evaluate(Image.java:530)
>>>> at com.sun.pkg.client.Image.makeAndEvaluateImagePlan(Image.java:1548)
>>>> at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1526)
>>>> at com.sun.pkg.client.Image.installPackages(Image.java:1592)
>>>> at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:219)
>>>> at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:154)
>>>> at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:104)
>>>>
>>>>
>>>> Is this a known issue? What to do next to get the pkg tool installed?
>>>>
>>>> Thanks,
>>>>
>>>> ~Jakub
>>>>
>>>> [1]http://download.java.net/glassfish/v3/nightly/latest-glassfish.zip
>>>>
>>>>
>>> Sorry for confusion, taken the file from an internal storage (reluctant to
>>> publish
>>> the address here), and now relalized, that the latest-glassfish.zip file
>>>
>> >from the url above
>>
>>> is from Sept 28, while my zip is dated Oct 4th. Are the latest GFv3
>>> nightlies
>>> only available for internal usage?
>>>
>>> Thanks,
>>>
>>> ~Jakub
>>>
>>>
>>>
>>>> --
>>>> Jakub Podlešák
>>>> Software Engineer at SUN Microsystems And CZJUG Co-Leader
>>>> http://blogs.sun.com/japod
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
>
>