Cloud-config can not add PPAs with international text in their description
Bug #932415 reported by
Jason Dusek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Try:
#cloud-config
locale: en_US.UTF-8
apt_sources:
- source: 'ppa:ferramrobe
This fails silently. Inserting debugging, we find the shell out to add-apt-repository fails with:
Traceback (most recent call last):
File "/usr/bin/
print " %s" % (ppa_info[
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 99: ordinal not in range(128)
To post a comment you must log in.
Jason,
I just ran this on a precise (alpha-2) instance, and it seems to have gone fine:
$ ec2metadata --user-data rto/java'
#cloud-config
locale: en_US.UTF-8
apt_sources:
- source: 'ppa:ferramrobe
$ cat /etc/apt/ sources. list.d/ ferramroberto- java-precise. list ppa.launchpad. net/ferramrober to/java/ ubuntu precise main ppa.launchpad. net/ferramrober to/java/ ubuntu precise main
deb http://
deb-src http://
That ppa does not have precise packages at the moment.
Has the ppa maybe been modified to work around this ?
What release/ami did you use ?