[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Updates found but no sites in the P2 UI list

Hi, Miles.
It's not clear to me from your description which updates button you are pressing.
Are you are pressing the Installed Software Page->Updates... button, or if you are pushing the update status bar button that shows when automatic updates are found.

If the former, then i think there must still be repo references that are getting added back. After the updates are found, are repos showing up in the manage sites dialog?
If the latter, this could be a bug in the caching of found updates in the UI. We flush the updates cache whenever new updates are found or the profile changes, but I do not think we currently flush the cache when repos are removed. If it involves automatic updates, then also please let me know what the automatic update preferences are set to.

We should probably move this discussion to a bug report. If you could open a bug with these details, we'll figure out what's going on.

susan
Inactive hide details for "Daffin, Miles (IT)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>"Daffin, Miles (IT)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>




          "Daffin, Miles (IT)" <Miles.Daffin@xxxxxxxxxxxxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          11/06/2008 02:47 AM
          Please respond to P2 developer discussions



To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc:
Subject: [p2-dev] Updates found but no sites in the P2 UI list


Hi All,

I just tried updating an Eclipse 3.4.0 install (Win XP, Build id: I20080617-2000) from a local repository containing updates to some proprietary stuff. The only site in the list was the local repository. I had removed all other sites. I was therefore surprised to see that updates for lots of Ganymede features were found. I cancelled the update, removed the last site reference from the list, refreshed and pressed the update button again. The same long list of Ganymede updates was found again.

I thought that update searches were constrained to the list of sites that the user actively adds and selects (using the manage sites dialog). How could updates for anything be found if no sites were present in the list? I have been using the install for testing internal eclipse and Ganymede mirrors. Could it be that the features found in my test were in a local cache left over after an earlier aborted update attempt, when these mirrors were on the list of repositories? If so does this point to a problem with the update/install algorithm? (If a site is removed then related material in the cache should be removed too, no?)

Regards,

Miles

Miles Daffin
Morgan Stanley | Technology

20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5119
Fax: +44 20 7056-4572

Miles.Daffin@xxxxxxxxxxxxxxxxx
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev

GIF image

GIF image

GIF image