juju-core in the devel ppa does not use alternatives

Bug #1215949 reported by Nick Moffitt
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
juju-core
Triaged
High
Unassigned

Bug Description

I hear a rumour that juju-core deliberately does not use /etc/alternatives. Would it then not be preferrable for the juju-core package to use the conflicts/replaces fields to tell the package manager to uninstall the old juju package, rather than simply letting the juju-core installation fail if the old juju package is installed?

Revision history for this message
Tom Haddon (mthaddon) wrote :

We currently run pyJuju and juju-core environments in Prodstack while we migrate all the pyJuju environments to juju-core. If juju-core conflicted with pyJuju we wouldn't be able to do that.

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

It seems like /etc/alternatives is the only useful option, then.

Revision history for this message
LaMont Jones (lamont) wrote :

Alternatives is the only sensible option here.

summary: - juju-core does not conflict with python juju package
+ juju-core does not use alternatives
description: updated
description: updated
Revision history for this message
James Page (james-page) wrote : Re: juju-core does not use alternatives

juju-core from the stable PPA does use alternatives; in the devel PPA it does not - this need to be fixed up.

Revision history for this message
John A Meinel (jameinel) wrote :

James, do you know what steps we can take to switch the devel ppa to being built in the same fashion as the stable ppa?

Ideally a recipe that would use the exact same steps for building the .deb package. (Even if there is a step in there that has to create or download a tarball.)

summary: - juju-core does not use alternatives
+ juju-core in the devel ppa does not use alternatives
Changed in juju-core:
importance: Undecided → Critical
status: New → Triaged
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
milestone: none → 2.0
milestone: 2.0 → 1.17.0
Revision history for this message
Curtis Hovey (sinzui) wrote :

We can support alternatives for the next devel release. I believe http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/juju-core/saucy/files/head:/debian/ shows the proper use of juju-core.prerm.in and juju-core.postinst.in. We want to update lp~ce-orange-squad/juju-core/unstable-packaging

Mark Ramm (mark-ramm)
Changed in juju-core:
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
Changed in juju-core:
assignee: Curtis Hovey (sinzui) → nobody
milestone: 1.17.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.