juju not on path after ppa install

Bug #1182774 reported by David Fischer
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Critical
Martin Packman

Bug Description

$ sudo apt-get install juju
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
juju est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

$ juju
Le programme 'juju' n'est pas encore installé. Vous pouvez l'installer en tapant :
sudo apt-get install juju

$ which juju
(nothing)

$ dpkg -s juju
... Version: 0.7+bzr628+bzr629~raring1 ...

$ dpkg -s juju-0.7
... Breaks: juju (<< 0.7-0ubuntu1~) ...

$ uname -a
Linux GaViD 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Tags: apt-get juju
Revision history for this message
David Fischer (david-fischer-ch) wrote :

On another system (all Ubuntu 13.04 LTS) :

$ sudo apt-get upgrade
...
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/juju_0.7+bzr627~raring1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Marco Ceppi (marcoceppi) wrote :

I was able to upgrade juju-0.7 without issue, it's installed:

$ dpkg -s juju
Package: juju
Status: install ok installed
Version: 0.7+bzr628+bzr629~raring1
Depends: juju-0.7

marco@home:/tmp/charm-tools$ dpkg -s juju-0.7
Package: juju-0.7
Status: install ok installed
Architecture: all
Source: juju
Version: 0.7+bzr628+bzr629~raring1
Replaces: juju (<< 0.7-0ubuntu1~)
Breaks: juju (<< 0.7-0ubuntu1~)

However, it no longer shows in update-alternatives, though is available in /usr/lib/juju-0.7+bzr628+bzr629~raring1/bin/juju

Changed in juju:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Martin Packman (gz) wrote :

The funny version after having needed to merge an upstream non-release version to fix the packaging then broke the generated maintainer scripts that handle update-alternatives. This should be avoided by r42 in lp:~juju/ubuntu/raring/juju/0.7 and I've triggered a rebuild to confirm.

Changed in juju:
status: Confirmed → In Progress
assignee: nobody → Martin Packman (gz)
summary: - JuJu not found after having installed juju packages.
+ juju not on path after ppa install
Revision history for this message
Martin Packman (gz) wrote :

The newly built juju - 0.7+bzr628+bzr631~... versions appear fixed to me. If you have a borked version installed, you may need to `sudo apt-get remove juju juju-0.7` then install juju again, rather than just upgrading.

Changed in juju:
status: In Progress → Fix Released
Revision history for this message
David Fischer (david-fischer-ch) wrote :

Thank you very much !

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.