Charm fails on charm helper PPA for phpmyadmin
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | phpmyadmin (Juju Charms Collection) |
High
|
Unassigned | ||
Bug Description
The install hook does:
# Install the totally awesome charm-helper-sh package
add-apt-repository ppa:juju/pkgs
apt-get update
apt-get install -y charm-helper-sh
This is wrong/deprecated, and also doesn't have ppc64le packages, so it fails. We need to remove this and modernize this charm.
| tags: | added: ppc64el |
| tags: | removed: ppc64le |
| Thierry FAUCK (thierry-j) wrote : | #1 |
| Johnny Shieh (jshieh) wrote : | #2 |
First, tried recreating what Thierry reported:
u0016001@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
avahi-daemon libavahi-core7 libdaemon0 libnss-mdns python-boto
python-pyinotify python-
uvtool-libvirt
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
python-colorama python-distlib python-html5lib
Suggested packages:
python-genshi
Recommended packages:
python-dev-all
The following NEW packages will be installed:
python-colorama python-distlib python-html5lib python-pip
0 upgraded, 4 newly installed, 0 to remove and 21 not upgraded.
u0016001@
Downloading/
Downloading charmhelpers-
Running setup.py (path:/
Installing collected packages: charmhelpers
Running setup.py install for charmhelpers
changing mode of build/scripts-
changing mode of build/scripts-
changing mode of build/scripts-
changing mode of /usr/local/
changing mode of /usr/local/
changing mode of /usr/local/bin/chlp to 755
Successfully installed charmhelpers
Cleaning up...
Then, tried recreating what Matt reported:
u0016001@
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp4e057i
gpg: keyring `/tmp/tmp4e057i
gpg: requesting key C8068B11 from hkp server keyserver.
gpg: /tmp/tmp4e057i8
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
u0016001@
E: Malformed line 61 in source list /etc/apt/
E: The list of sources could not be read.
u0016001@
Reading package lists... Error!
E: Malformed line 61 in source list /etc/apt/
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
Will reload fresh system and see if charm can be installed on current version of Trusty.
| Johnny Shieh (jshieh) wrote : | #3 |
URL: https:/
Commands:
sudo add-apt-repository ppa:juju/stable
sudo apt-get update
sudo apt-get install juju-quickstart
juju-quickstart mediawiki-single
sudo apt-get install juju-local
juju bootstrap
Sanity check:
juju deploy wordpress
worked.
Unfortunately, this bug report doesn't directly report what charm was being tested when the error occurred.
Guessing that it might be phypadmin, I go to the charm details at:
https:/
And see the following instructions:
juju deploy mysql
juju deploy phpmyadmin
juju add-relation phpmyadmin mysql
u0016001@
ERROR charm not found: cs:trusty/
Hmmm, is the guess I made wrong?
Jorge, can you clarify what charm was failing when you opened this bug?
Re-ran the commands documented by Thierry and they ran fine, again.
| Antonio Rosales (arosales) wrote : | #4 |
We need to confirm charm helpers support power8le, Python on 14.04 should have no issues thus we may need investigate enabling the PPA to support Power8le.
Next action is for Canonical to confirm Power support for charm helpers and adjust if necessary.
-thanks,
Antonio
| Changed in phpmyadmin (Juju Charms Collection): | |
| importance: | Undecided → High |
| Antonio Rosales (arosales) wrote : | #5 |
Collaborating with IBM this is an interesting workload, but not a high priority atm.
If there are any folks interested in proposing this charm for Trusty please comment here.
-thanks,
Antonio
| Changed in phpmyadmin (Juju Charms Collection): | |
| importance: | High → Low |
| Antonio Rosales (arosales) wrote : | #6 |
Please disregard comment 3, it was meant for a different bug.
| Changed in phpmyadmin (Juju Charms Collection): | |
| importance: | Low → High |
| Antonio Rosales (arosales) wrote : | #7 |
Correction, please disregard comment #5, it was meant for a different bug.
| summary: |
- Charm fails on charm helper PPA + Charm fails on charm helper PPA for phpmyadmin |
I made couple of changes into hooks/install script to port ‘phpMyAdmin’ charm on Ubuntu trusty (ppc64le). I want to contribute these code changes back to launchpad community, though I have question regarding up stream my code changes to community, I want to know a procedure to submit code change ? Please guide me on this or point me to link which contain procedure to follow.
-Mahesh
| Ventsislav (ventsislav-yotov) wrote : | #9 |
I also got this problem and can not find fix for hours. Anyone manage to fix it ?

To clarify, what it is done in current templates is :
apt-get install -y python-pip
pip install charmhelpers