Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Juju as documented in the website, but I get the error "sample.lxc" has an unknown provider type "local".

I followed the whole process and I installed juju 1.11.0-precise-i386.

share|improve this question
up vote 2 down vote accepted

The local provider has not yet landed in 1.11.x (it's in progress) . In order to use LXC as a provider you will need to use Juju .7. The way we're currently doing this is you can install juju along with juju-core and use alternatives to switch back and forth:

According to the get started page.

You can switch between the default (0.7) version and 1.10 versions by using the following:

sudo update-alternatives --set juju /usr/lib/juju-0.7/bin/juju

or to the new 1.10.0 release using:

sudo update-alternatives --set juju /usr/lib/juju-1.10.0/bin/juju

But to do this you need to install Juju .7 as well, which is packaged as juju. So you'll need to install that.

The team knows that this is a terrible user experience, but once the local provider lands in newer versions of Juju we will revise the documentation to be more sleek. The local provider should be finished in the next month or two.

share|improve this answer
Thanks for the explanation, i was able to switch the juju-0.7 and everything worked fine – El nino Jun 19 '13 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.