Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Updates and p2 Install wizard

forgot to mention...

what the version range of the dependency is still buying you from a UI point of view, is that if something else you wanted to install, say "def" needed "abc-1.7.1" then this upgrade could happen because xyz has the range.



Inactive hide details for Thomas Hallgren ---05/21/2010 02:50:30 AM---Consider the following:Thomas Hallgren ---05/21/2010 02:50:30 AM---Consider the following:



          Thomas Hallgren <thomas@xxxxxxx>
          Sent by: p2-dev-bounces@xxxxxxxxxxx

          05/21/2010 02:50 AM
          Please respond to P2 developer discussions



To: P2 developer discussions <p2-dev@xxxxxxxxxxx>
cc:
Subject: [p2-dev] Updates and p2 Install wizard


Consider the following:

1. I have a feature xyz version 1.0.0 with a requirement to a bundle abc
[1.7.0,2.0.0).
2. I install xyz using the p2 install wizard. The resulting install now
contains xyz-1.0.0 and bundle abc-1.7.0.
3. The bundle abc-1.7.1 is published in a repository that is available
to me.

My xyz-1.0.0 can now use abc-1.7.1 without modification. Great! This is
one of the key motivators for using version ranges. Unfortunately, p2
seems to lack some support for this in the UI:

4. I go to the install wizard. There is no indication that an update is
available for xyz-1.0.0.

Although disappointing, I can live with it knowing to indicate that p2
must resolve all visible features in order to detected underlying
updates and that would take some time. But what's worse is what happens
next:

5. I check my xyz-1.0.0 anyway and click Next. I get this error message:

Cannot complete the request.  See the error log for details.
"Feature xyz" will be ignored because it is already installed.

I know it's installed. I want to update it anyway because I know that
newer content exists that it can make use of. Why am I not allowed to do
that here? Perhaps this is just done when checking if updates are
available? So I try that:

6. I click on "Check of updates..."

I dialog box pops up. "No updates found".

It seems like something is missing because now I'm forced to use the
command line director application to perform my update.

- thomas

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

GIF image

GIF image

GIF image


Back to the top