You have been subscribed to a public bug:

Hi,

We're in the process of installing and testing the Go ported version of
Juju. It is currently installed on a server alongside the Python version
(juju-0.7). We have services already deployed using the Python version
so we need to make that the default while we test, and eventually
transition across to the Go version.

As per the docs, https://juju.ubuntu.com/get-started/, it seems to
indicate that we can use the following command to make 0.7 the default:

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

Unfortunately, juju-core stomps on /usr/bin/juju and setting the
alternative wipes out the Go version's binary.

[hloeung@darkon tmp]$ sudo update-alternatives --set juju 
/usr/lib/juju-0.7/bin/juju
[sudo] password for hloeung: 
update-alternatives: warning: forcing reinstallation of alternative 
/usr/lib/juju-0.7/bin/juju because link group juju is broken
update-alternatives: warning: not replacing /usr/bin/juju with a link
update-alternatives: warning: not replacing /usr/share/man/man1/juju.1.gz with 
a link

[hloeung@darkon tmp]$ dpkg-query -L juju-core
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/juju.1.gz
/usr/share/doc
/usr/share/doc/juju-core
/usr/share/doc/juju-core/copyright
/usr/share/doc/juju-core/changelog.Debian.gz
/usr/bin
/usr/bin/jujud
/usr/bin/juju
[hloeung@darkon tmp]$ 

Any chance we could have this fixed?


Thanks,

Haw

** Affects: juju-core (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: canonical-webops-juju
-- 
Cannot switch between juju-0.7 and juju-core
https://bugs.launchpad.net/bugs/1178506
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to juju-core in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to