quality@glassfish.java.net

Re: [SJSU] Admin GUI Tool Reporting 26 updates but there are none available

From: Tom Mueller <Tom.Mueller_at_Sun.COM>
Date: Mon, 13 Apr 2009 16:31:47 -0500

The situation that led to 1075 is the following:

A pkg foo is installed from repo A.
A newer version of foo is available in repo B.

In this situation, the "N updates are available" message will show that
an update is available, but the Available Updates tab will not show the
update available. Updatetool won't show the update available either.
If you do a "pkg list", it will show a "u" for package foo. But if you
run "pkg image-update", foo will not be updated.

This is because of the "sticky" behavior of pkg(5). Once a package is
installed from a repo, updates will only come from that repo unless they
are explicitly installed from some other repo.

Essentially, the algorithm for the "N updates are available" message is
like a "pkg list" and the Available Updates tab does a "pkg image-update
-n".

Tom

Anissa Lam wrote:
>
> There is no GF bugs filed regarding this, actually i wasn't aware of
> this issue, issue 1075
> <https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=1075>
> because i wasn't on the cc list. Thanks for pointing this out.
> I am not able to reproduce what Omar saw on my Mac. Omar, please
> file a bug against admin console, and refer to UC 1075 in the comment
> as well.
>
> thanks
> Anissa.
>
> Tom Mueller wrote:
>> Anissa,
>> This looks like UC2 issue 1075
>> <https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=1075>,
>> which was marked as invalid because it is actually a problem in the
>> admin console code. Do you know if a GlassFish bug was ever filed
>> for this?
>>
>> Thanks.
>> Tom
>>
>> Anissa Lam wrote:
>>>
>>> Do you install b44 at the same location where you install b42 ?
>>> If you run bin/updatetool, what does it show you ?
>>>
>>> thanks
>>> Anissa
>>>
>>> Omar Martinez wrote:
>>>> When entering glassfish’s admin gui after installing b44, it
>>>> displays 26 available updates, but when clicking on “There are 26
>>>> update(s) available” it displays an empty list.
>>>>
>>>> I uninstalled glassfish b42 and installed glassfish b44.
>>>> Operating System Windows XP Media Center Edition Service Pack 3
>>>> Internet Browser: IE8 or Mozilla
>>>> In Admin GUI,
>>>> 1) Enter Admin GUI
>>>> 2) Click on "There are 26 update(s) available"
>>>> 3) No available Updates, the attached update displays the available
>>>> updates.
>>>>
>>>> Is this a bug?
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: quality-help_at_glassfish.dev.java.net