Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
BryanQuigley opened this issue Oct 14, 2016 · 1 comment
Closed

Comments

@BryanQuigley
Copy link

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.
Reported also https://bugs.launchpad.net/juju/+bug/1633542

@evilnick
Copy link
Member

The information is now available in docs, the warning message is being updated too.
Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants