Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331530 - [director] director doesn't uninstall bundles
Summary: [director] director doesn't uninstall bundles
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: Juno   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 07:07 EST by Paul Webster CLA
Modified: 2011-06-21 19:01 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2010-12-01 07:07:58 EST
I run the director to remove 2 IUs (they are duplicate non-singleton libraries):

bash-3.2$ eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director -repository file:$(pwd)/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile -u org.apache.batik.util/1.6.0.v201011041432,org.apache.batik.util.gui/1.6.0.v201011041432

Uninstalling org.apache.batik.util 1.6.0.v201011041432.
Uninstalling org.apache.batik.util.gui 1.6.0.v201011041432.
Operation completed in 3887 ms.

OK, so far, so good.

But if I then run that eclipse install, it says those 2 bundles are still there and RESOLVED, and the director still lists them:

bash-3.2$ eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director -repository file:$(pwd)/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile -list | grep batik.util
org.apache.batik.util=1.6.0.v200805290154
org.apache.batik.util=1.6.0.v201011041432
org.apache.batik.util.gui=1.6.0.v200805290154
org.apache.batik.util.gui=1.6.0.v201011041432
org.apache.batik.util.gui.source=1.6.0.v200805290154
org.apache.batik.util.source=1.6.0.v200805290154

PW
Comment 1 Pascal Rapicault CLA 2011-06-12 00:11:12 EDT
Do you remember how the batik bundles got there in the first place?
Comment 2 Paul Webster CLA 2011-06-13 07:39:52 EDT
At the time we were switching the orbit repositories we were mirroring into our build repo location, so our build repo had both versions of the css bundles available.

PW
Comment 3 Paul Webster CLA 2011-06-21 12:17:33 EDT
This is apparently still a problem/still happening, http://www.eclipse.org/forums/index.php/t/214045/

PW
Comment 4 Pascal Rapicault CLA 2011-06-21 19:01:36 EDT
(In reply to comment #3)
> This is apparently still a problem/still happening,
> http://www.eclipse.org/forums/index.php/t/214045/
> 
> PW

This is similar to this discussion: http://dev.eclipse.org/mhonarc/lists/p2-dev/msg04210.html