Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363628

Summary: Error Message for Unsupported Operating System is Not User Friendly When Installing New Software
Product: [Eclipse Project] Equinox Reporter: Steven Hung <sghung>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: ericdp, remy.suen, stephen.francisco
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Steven Hung CLA 2011-11-11 17:10:55 EST
Build Identifier: Eclipse Helios SR2 20110218-0911

In my feature.xml, I have added the "os" attribute to my <feature>. I export the feature as a deployable feature to be installed via the p2 update site method. 

When I try to install the plug-in, it gives me a validation error on the unsupported platform (expected). However, the error message is very unclear.

It will say:

Cannot complete the install because dependencies are not satisfiable
[Feature name] cannot be installed in this environment because its filter is not applicable 

As a user, this message is confusing, because it doesn't clearly explain what is wrong. I would expect it to mention that the os isn't supported.

Reproducible: Always
Comment 1 Eric Peters CLA 2012-04-19 13:41:53 EDT
This is very important to adopter products who support MAC OS.
Comment 2 Steve Francisco CLA 2012-04-26 10:32:01 EDT
This is a dup of bug #336658 and it's also similar to bug #332164 (both not resolved).  The problem of vague failures from P2 operations is long-standing and not easily fixed (as described in 332164)

*** This bug has been marked as a duplicate of bug 336658 ***