PPA description breaks add-apt-repository

Bug #972048 reported by Mike Williamson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

With the description:

The excellent Mario Bros./Portal mash up from http://stabyourself.net/mari0.
You will need to install love-unstable from the following ppa to run the game: https://launchpad.net/~bartbes/+archive/love-unstable

We get the following error when trying to add the repo:

mike@sleepycat:~$ sudo add-apt-repository ppa:sleepycat/mari0
[sudo] password for mike:
You are about to add the following PPA to your system:
 mari0
 The excellent Mario Bros./Portal mash up from http://stabyourself.net/mari0.
You will need to install love-unstable from the following ppa to run the game: https://launchpad.net/~bartbes/+archive/love-unstable
 More info: https://launchpad.net/~sleepycat/+archive/mari0
Press [ENTER] to continue or ctrl-c to cancel adding it

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 95, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 117, in add_ppa_signing_key
    "--recv", signing_key_fingerprint])
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings

Change the description to:

The excellent Mario Bros Portal mash up from stabyourself.net

And the result:

mike@sleepycat:~$ sudo add-apt-repository ppa:sleepycat/mari0
[sudo] password for mike:
You are about to add the following PPA to your system:
 mari0
 The excellent Mario Bros Portal mash up from stabyourself.net
 More info: https://launchpad.net/~sleepycat/+archive/mari0
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.9qXjlYSvb1 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 86E6465FC65DCD46FDD012DA7AFCCFD05C32BF25
gpg: requesting key 5C32BF25 from hkp server keyserver.ubuntu.com
gpg: key 5C32BF25: public key "Launchpad PPA for Mike Williamson" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

description: updated
Micah Gersten (micahg)
affects: launchpad → software-properties (Ubuntu)
Revision history for this message
Robert Roth (evfool) wrote :

Can you still reproduce this? I have tried adding the PPA in question, and adding it has worked without any problems.

Changed in software-properties (Ubuntu):
status: New → Incomplete
Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #968756, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.