Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting the following errors when I try to use a PPA:

~$ sudo add-apt-repository ppa:freefilesync/ffs
[sudo] password for *****: 
You are about to add the following PPA to your system:
FreeFileSync Releases
This is the official FreeFileSync repository for Ubuntu. It is recommended to use this to keep your FreeFileSync tool easily updated.

For instuctions on how to add the repository, see or (fr)
More info:
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/", line 552, in __bootstrap_inner
File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 95, in run
File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 107, in add_ppa_signing_key
print "Error reading %s: %s" % (lp_url, e[1])
NameError: global name 'lp_url' is not defined

how to fix it? I use Ubuntu 11.10.


share|improve this question
What does lsb_release -a show? – Uri Herrera Feb 23 '12 at 2:21
up vote 0 down vote accepted

Just tested the same PPA on a clean Ubuntu 11.10. I suggest you update your Ubuntu with any updates shown in Update Manager. The only changes I did were to add all the official repositories (multiver, universe...) and all 4 of the Update tab option (backport, restricted...)

A cause might be that the version of Python you are using is different from the one the system needs. I was going to upload an image but somehow imgur and askubuntu have a problem.

UPDATE - I FINALLY!!!! uploaded the image to imgur.

enter image description here

As you can see from this incredible and very patiently uploaded image, the PPA actually works. So like i suggested, first see if you have another PPA or have change the Python that comes by default with Ubuntu 11.10.

share|improve this answer
Hi Luis, thanks. I successfully from your tips – Fanoy Feb 25 '12 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.