Red Hat Bugzilla – Bug 173589
"Error creating feature" dialog pops up when accessing Update Manager
Last modified: 2007-11-30 17:11:17 EST
Description of problem:
When I go to access the update manager, I get a couple of error dialogs about
missing features. This appears to prevent me installing new features using the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Help menu -> Software Updates -> Find and Install
Dialog box pops up twice, saying:
Error creating feature:
[/usr/share/eclipse/features/org.eclipse.jdt.source_3.1.1/ (No such file or
"rm -rf .eclipse workspace" and trying again does not make any difference
This is actually because you don't have eclipse-jdt-devel and/or
eclipse-rcp-devel and/or other *-devel packages installed. Try installing those
and see if it fixes it.
I had to install eclipse-jdt-devel, eclipse-rcp-devel and eclipse-pde-devel.
But it shouldn't be necessary to install all these packages.
(In reply to comment #2)
> I had to install eclipse-jdt-devel, eclipse-rcp-devel and eclipse-pde-devel.
> But it shouldn't be necessary to install all these packages.
Why not? Eclipse is trying to validate that it has the contents of those
packages and it's throwing an error otherwise.
Perhaps there's something wrong with our MANIFEST.MF files or something?
Patching those to be relevant to just subsets of the SDK sounds like a nightmare
to me. The Update Manager in general causes a lot of problems for us ...
> Why not?
Well, simply because there's no point in separating eclipse into separate
packages if you end up (pointlessly) having to install (nearly) all of them in
(In reply to comment #4)
> > Why not?
> Well, simply because there's no point in separating eclipse into separate
> packages if you end up (pointlessly) having to install (nearly) all of them in
> all cases.
While I agree, I'll have to spend some time working on this to figure out a
solution. Does the update manager absolutely not work if you don't have these
(In reply to comment #5)
> Does the update manager absolutely not work if you don't have these
> packages installed?
No, it doesn't. It refuses to install a feature (SchemeWay) which installs fine
after I installed those packages, so it's not a problem with the feature I was
trying to install. It just gives some generic error about "configuration
problem" and grays out the Finish button.
I spent some time looking into this today. It appears that the problem is that
the platform configuration xml file lists the source features as sub-features
<feature id="<blah>" version="3.1.1" url="features/<blah>_3.1.1/">
There is also mention of these features in the SDK feature.xml:
<includes id="blah" version="3.1.1"/>
At this point I'm thinking we'll need some sort of script that merges SDK
features into these two files in their respective %post sections. Thoughts?
I've built packages for both rawhide (eclipse-3.1.1-1jpp_9fc) and FC4
(eclipse-3.1.1-1jpp_1fc.FC4.8 ... will appear in updates-testing at some point
today) that contain my proposed fix. When you get a chance, please test these
to see if they fix this problem. Thanks.
This is fixed in testing-updates with version