Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » can't update features in buckminster
can't update features in buckminster [message #554497] Mon, 23 August 2010 12:01 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Hi,

I have a working Buckminster installation that I use with Hudson. All nice and dandy. Alongside the normal Bucky features I need to install my own headless plugin, to do some custom build steps.

The problem is that now when I need to update my feature, I get an error:

Cannot complete the install because of a conflicting dependency.
[0]Software being installed: Erlide core (headless) 0.8.6.201008231151 (org.erlide.headless.feature.group 0.8.6.201008231151)
[0]Software currently installed: Erlide core (headless) 0.8.6.201007231400 (org.erlide.headless.feature.group 0.8.6.201007231400)
[0]Only one of the following can be installed at once:
[0.2]Erlang Interface 0.8.2.201008170742 (org.erlide.jinterface 0.8.2.201008170742)
[0.2]Erlang Interface 0.8.2.201007231400 (org.erlide.jinterface 0.8.2.201007231400)
[0.2]Erlang Interface 0.8.2.201008231151 (org.erlide.jinterface 0.8.2.201008231151)
[0.2]org.erlide.jinterface 0.8.1.201005250801
[0]Cannot satisfy dependency:
[0.2]From: Erlide core (headless) 0.8.6.201007231400 (org.erlide.headless.feature.group 0.8.6.201007231400)
[0.2]To: org.erlide.jinterface [0.8.2.201007231400]
[0]Cannot satisfy dependency:
[0.2]From: Erlide core (headless) 0.8.6.201008231151 (org.erlide.headless.feature.group 0.8.6.201008231151)
[0.2]To: org.erlide.jinterface [0.8.2.201008231151]


I tried to uninstall the old version, doesn't work either (albeit silently).

What is the problem? (Can it be related to the fact that the update site where I installed from doesn't have that version available?)

What can I do to be able to update?

best regards,
Vlad

[Updated on: Mon, 23 August 2010 12:02]

Report message to a moderator

Re: can't update features in buckminster [message #554500 is a reply to message #554497] Mon, 23 August 2010 12:34 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
I tried this with a fresh buckminster and with a stable update site and it's the same: I can't update and I can't uninstall my feature...

There's no message in the log. What am I missing?

regards,
Vlad
Re: can't update features in buckminster [message #554503 is a reply to message #554497] Mon, 23 August 2010 12:35 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Vlad,

do you happen to use nested features? As far as I know it is not
possible to update nested features, since the outer feature references a
concrete version of the contained features.
Do you use the automatic provisioning of the hudson plugin with a custom
json file? If so, have you tried simply deleting buckminster and let the
plugin install it again from scratch?

Best regards,
Johannes
Re: can't update features in buckminster [message #554506 is a reply to message #554503] Mon, 23 August 2010 12:49 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Hi,

No, the headless feature is standalone. (It is included in the full SDK feature, but that one isn't used in this setting)

I use a standalone buckminster installation, because I had some problems with letting hudson install it.

Of course I can reinstall buckminster from scratch, but it feels like one should be able to update or uninstall the features. BTW, I tried to use the director app directly on the buckminster dir, but didn't work either (this may be caused by the wrong command line)

regards,
Vlad
Re: can't update features in buckminster [message #554516 is a reply to message #554506] Mon, 23 August 2010 13:06 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Am 23.08.2010 14:50, schrieb Vlad Dumitrescu:
> Of course I can reinstall buckminster from scratch, but it feels like
> one should be able to update or uninstall the features. BTW, I tried to
> use the director app directly on the buckminster dir, but didn't work
> either (this may be caused by the wrong command line)

How exactly did you try to update if not with the director? I'm not so
sure if the Buckminster install command is even able to do this. The
director should be the safer bet in any case...

You say maybe caused by the wrong command line? What did you try and
what was the response for that? Maybe I can help with fixing the
commandline if that turns out to be the problem.

Best regards,
Johannes
Re: can't update features in buckminster [message #554518 is a reply to message #554516] Mon, 23 August 2010 13:19 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
> How exactly did you try to update if not with the director?

With 'buckminster install' and 'buckminster uninstall'. They should call the director under the hood, don't they?

> The director should be the safer bet in any case...

I managed to update with the director, but I still have to do uninstall first. (It didn't work at first because I had several versions of this feature installed, I had to uninstall all of them first).

It's working now, but it's highly unexpected. If I can update from the UI, I should be able to do it headless too, right?

Thanks for the help!
regards,
Vlad
Re: can't update features in buckminster [message #554520 is a reply to message #554518] Mon, 23 August 2010 13:23 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Am 23.08.2010 15:19, schrieb Vlad Dumitrescu:

Hi Vlad,

please see comments inline

>> How exactly did you try to update if not with the director?
>
> With 'buckminster install' and 'buckminster uninstall'. They should call
> the director under the hood, don't they?
>

The buckminster install and uninstall is originally based on the old
update manager and I don't think that it has the same functionality as
the p2 director.

>> The director should be the safer bet in any case...
>
> I managed to update with the director, but I still have to do uninstall
> first. (It didn't work at first because I had several versions of this
> feature installed, I had to uninstall all of them first).
>
> It's working now, but it's highly unexpected. If I can update from the
> UI, I should be able to do it headless too, right?
>

Yes. But the director has no explicit update. An update is expressed by
-u installable.unit.id -i installable.unit.id
So uninstall + install in the same invocation. The director merges that
into an update operation.

Hope that helps
Re: can't update features in buckminster [message #554524 is a reply to message #554520] Mon, 23 August 2010 13:32 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Thank you for the explanation!
/Vlad
Re: can't update features in buckminster [message #554537 is a reply to message #554520] Mon, 23 August 2010 13:51 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3229
Registered: July 2009
Senior Member
Hi Vlad and Johannes,


On 08/23/2010 03:23 PM, Johannes Utzig wrote:
> Am 23.08.2010 15:19, schrieb Vlad Dumitrescu:
>> With 'buckminster install' and 'buckminster uninstall'. They should call
>> the director under the hood, don't they?
>>
Yes, they do. But there is one difference. With the director, you can provide a whole slew of things to be installed in
one single command and they can be installed from several repositories. p2 will do one single plan and then install all
of it. With Buckminster install, the whole installation process is repeated for each thing that is installed so it's
generally much slower and sometimes less reliable. The end result should be the same but there are corner cases where p2
will make different decisions depending on how much it has access to.

>
> The buckminster install and uninstall is originally based on the old
> update manager and I don't think that it has the same functionality as
> the p2 director.
>
>>> The director should be the safer bet in any case...

Absolutely. The motivation for Buckminster install was to provide a smooth migration path when moving from the old
update manager to p2. It's still there because we don't want to break peoples builds but today it's just a very thin
layer on top of the director.

I definitely agree with Johannes. Use the director instead.

- thomas
Re: can't update features in buckminster [message #724448 is a reply to message #554537] Mon, 12 September 2011 11:40 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Thank you, Thomas!

regards,
Vlad
Previous Topic:(no subject)
Next Topic:How to get target platform path and set it as property form an action
Goto Forum:
  


Current Time: Fri Nov 21 08:40:23 GMT 2014

Powered by FUDForum. Page generated in 0.07665 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software