Juju 2.x upgrade [ppa] doesn't show a workable way to downgrade to 1.25

Bug #1633542 reported by Bryan Quigley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Critical
Unassigned
juju-release-tools
Incomplete
Undecided
Unassigned

Bug Description

I'm running Juju on Trusty with the Juju Stable PPA (https://launchpad.net/~juju/+archive/ubuntu/stable).

Recently Juju 2.x replaced the Juju 1.25 version (automatic updates) and had this to say on first run:
ubuntu@trusty-admin:~$ juju status
    Welcome to Juju 2.0.0. If you meant to use Juju 1.x you can continue using it
    with the command juju-1 e.g. 'juju-1 switch'.
    See https://jujucharms.com/docs/stable/introducing-2 for more details.

Since Juju 2 is being run for the first time, downloading latest cloud information.
Fetching latest public cloud list...
Your list of public clouds is up to date, see `juju clouds`.
ERROR No model in focus.

Please use "juju models" to see models available to you.
You can set current model by running "juju switch"
or specify any other model on the command line using the "-m" flag."

The juju-1 switch command doesn't exist:
ubuntu@trusty-admin:~$ juju-1 switch
juju-1: command not found

To go back to juju-1.25 I had to remove juju juju-core juju-2.0 and reinstall juju-core.

summary: - Juju 2.x upgrade doesn't show a workable way to downgrade to 1.25
+ Juju 2.x upgrade [ppa] doesn't show a workable way to downgrade to 1.25
Revision history for this message
Bryan Quigley (bryanquigley) wrote :
Changed in juju:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.0.1
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

On trusty, the juju packages use update-alternatives. However, the package in the ppa doesn't support this properly. See bug 1633593

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

@Anastasia, I'm not sure how you feel the juju-1-switch command should be addressed. This bug is mostly a dupe of bug 1633593, apart from that.

Changed in juju-release-tools:
status: New → Incomplete
Revision history for this message
Curtis Hovey (sinzui) wrote :

The install looks like this
    http://paste.ubuntu.com/23324765/

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Note, I filed bug 1634405 for the juju-1 switch verbiage which is REALLY confusing in this case.

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.