[Bug 883390] Re: add-apt-repository crash when adding a ppa repository

Andres Attemann 883390 at bugs.launchpad.net
Mon Feb 13 06:34:51 UTC 2012


Hi Robert,

Maybe I was not clear enough. You or anyone else will have no problems
with any of the repositories listed above. Only repository creator will
have problems adding his own PPA and it may be so that the problem will
be visible on one single machine only.

It may be related to:
* the repository being created on the same machine that was used to generate repository key??
* the repository being created while simultaneously being logged in to the launchpad with the owner account of the repository??

So steps to reproduce will be:
1) Create new launchpad account (maybe optional?)
2) Create key (maybe optional?)
2) Create new PPA
3) Upload something to the PPA and wait for build to finish (may be optional?)
4) add-apt-repository with this PPA

By the way, now at https://help.launchpad.net/Packaging/PPA I see something new:
"Launchpad generates a unique key for each PPA and uses it to sign any packages built in that PPA." - if it is some new addition then it may be related to this bug. If I recall correctly I had to create and upload a key to sign the PPA, it was not autogenerated.

Unfortunately I don't use Ubuntu anymore at the moment but if this will
be of help I may restore old installation e.g. on weekend.

BR,
Andres

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/883390

Title:
  add-apt-repository crash when adding a ppa repository

Status in “software-properties” package in Ubuntu:
  Incomplete

Bug description:
  add-apt-repository crashes when I add my ppa repository:

  root at ubuntu:/home/cl# add-apt-repository ppa:etay-meiri/ppa
  You are about to add the following PPA to your system:
   Etay Meiri's PPA
   
   More info: https://launchpad.net/~etay-meiri/+archive/ppa
  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 78, in run
      self.add_ppa_signing_key(self.ppa_path)
    File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 100, 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

  Package infomation:
  python-software-properties version 0.81.10

  Release information:
  Description:	Ubuntu 11.10
  Release:	11.10

  How to reproduce: 
  execute the following:

  add-apt-repository ppa:etay-meiri/ppa

  Expected behavior: command should succeed.

  Thanks,

  Etay Meiri

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/883390/+subscriptions




More information about the foundations-bugs mailing list