mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad interpreter: No such file or directory)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
Fix Released
|
High
|
James Page |
Bug Description
mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad interpreter: No such file or directory)
The mysql charm needs a pre-install hook to install python, similar to what was done @ the mongodb charm:
https:/
2016-02-29 00:25:00 ERROR juju.worker.
root@juju-
/usr/bin/python3
/usr/bin/python3.5
/usr/bin/python3.5m
/usr/bin/
/usr/bin/
/usr/bin/
/usr/bin/python3m
Related branches
- Ryan Beisner (community): Approve
- charmers: Pending requested
-
Diff: 26 lines (+20/-0)1 file modifiedhooks/install (+20/-0)
Changed in mysql (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
Changed in mysql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
I would prefer to make the MySQL charm Python3 compatible. Same with MongoDB
On Sun, Feb 28, 2016 at 7:45 PM Ryan Beisner <email address hidden>
wrote:
> Public bug reported: /code.launchpad .net/~james- page/charms/ trusty/ mongodb/ forward- compat- xenial/ +merge/ 287312 uniter. operation runhook.go:107 juju/agents/ unit- charm/hooks/ install: no such file or directory beis0-machine- 2:/var/ lib/juju/ agents/ unit-mysql- 0/charm/ hooks# python3- jsondiff python3- jsonpatch python3- jsonpointer /bugs.launchpad .net/bugs/ 1551045 /code.launchpad .net/~james- page/charms/ trusty/ mongodb/ forward- compat- xenial/ +merge/ 287312 uniter. operation runhook.go:107 juju/agents/ unit- charm/hooks/ install: no such file or directory beis0-machine- 2:/var/ lib/juju/ agents/ unit-mysql- 0/charm/ hooks# python3- jsondiff python3- jsonpatch python3- jsonpointer /bugs.launchpad .net/charms/ +source/ mysql/+ bug/1551045/ +subscriptions
>
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https:/
>
> 2016-02-29 00:25:00 ERROR juju.worker.
> hook "install" failed: fork/exec /var/lib/
> mysql-0/
>
> root@juju-
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/
> /usr/bin/
> /usr/bin/
> /usr/bin/python3m
>
> ** Affects: mysql (Juju Charms Collection)
> Importance: High
> Assignee: James Page (james-page)
> Status: In Progress
>
>
> ** Tags: uosci
>
> ** Branch linked: lp:~james-page/charms/trusty/mysql/forward-compat-
> xenial
>
> ** Changed in: mysql (Juju Charms Collection)
> Status: New => In Progress
>
> ** Changed in: mysql (Juju Charms Collection)
> Importance: Undecided => High
>
> ** Changed in: mysql (Juju Charms Collection)
> Assignee: (unassigned) => James Page (james-page)
>
> --
> You received this bug notification because you are subscribed to mysql
> in Juju Charms Collection.
> Matching subscriptions: MySQL-Charm
> https:/
>
> Title:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> Status in mysql package in Juju Charms Collection:
> In Progress
>
> Bug description:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https:/
>
> 2016-02-29 00:25:00 ERROR juju.worker.
> hook "install" failed: fork/exec /var/lib/
> mysql-0/
>
> root@juju-
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/
> /usr/bin/
> /usr/bin/
> /usr/bin/python3m
>
> To manage notifications about this bug go to:
> https:/
>