Comment 2 for bug 1350023

Revision history for this message
Johnny Shieh (jshieh) wrote : Re: Charm fails on charm helper PPA

First, tried recreating what Thierry reported:
u0016001@sys-71474:~$ sudo apt-get install -y python-pip
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-simplestreams socat ubuntu-cloudimage-keyring uvtool
  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@sys-71474:~$ sudo pip install charmhelpers
Downloading/unpacking charmhelpers
  Downloading charmhelpers-0.2.3.tar.gz (47kB): 47kB downloaded
  Running setup.py (path:/tmp/pip_build_root/charmhelpers/setup.py) egg_info for package charmhelpers

Installing collected packages: charmhelpers
  Running setup.py install for charmhelpers
    changing mode of build/scripts-2.7/chlp from 644 to 755
    changing mode of build/scripts-2.7/charmsupport from 644 to 755
    changing mode of build/scripts-2.7/salt-call from 644 to 755

    changing mode of /usr/local/bin/charmsupport to 755
    changing mode of /usr/local/bin/salt-call to 755
    changing mode of /usr/local/bin/chlp to 755
Successfully installed charmhelpers
Cleaning up...

Then, tried recreating what Matt reported:
u0016001@sys-71474:~$ sudo add-apt-repository ppa:juju/pkgs

 More info: https://launchpad.net/~juju/+archive/ubuntu/pkgs
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp4e057i8h/secring.gpg' created
gpg: keyring `/tmp/tmp4e057i8h/pubring.gpg' created
gpg: requesting key C8068B11 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp4e057i8h/trustdb.gpg: trustdb created
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

u0016001@sys-71474:~$ sudo apt-get update
E: Malformed line 61 in source list /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
u0016001@sys-71474:~$ sudo apt-get install -y charm-helper-sh
Reading package lists... Error!
E: Malformed line 61 in source list /etc/apt/sources.list (URI parse)
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.