I'm trying to install apt-add-repository on Ubuntu 14.04.

sudo apt-get install add-apt-repository
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package add-apt-repository

I have also tried installing python-software-properties

sudo apt-get install python-software-properties

However, it still is missing... does anyone know where this package has gone?

closed as unclear what you're asking by jobin, Warren Hill, Maythux, Danatela, BuZZ-dEE Apr 14 '14 at 16:47

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • sudo apt-get update? Your second command should work. – saiarcot895 Apr 9 '14 at 16:15
  • 2
    Why are you trying to install it? add-apt-repository isn't a package and never was. – Seth Apr 9 '14 at 16:16

add-apt-repository is not a package, so you just can't install it using sudo apt-get install add-apt-repository. This is wrong!

The package which contain add-apt-repository command is (and was all the time):


not python-software-properties as you may think. You can check this using the following command:

dpkg -S add-apt-repository
  • 1
    This is wrong, add-apt-repository is not in software-properties-common in precise: packages.ubuntu.com/precise/all/software-properties-common/… - it is in packages.ubuntu.com/precise/all/python-software-properties/… – effhaa Jul 26 '14 at 13:07
  • 3
    @effhaa Please read the question more carefully and then say what is wrong and what not. The OP is using 14.04, not 12.04 (Precise). Thank you! – Radu Rădeanu Jul 26 '14 at 16:44
  • 1
    I know, should have phrased my comment more careful. Sorry about that. What I meant is that your claim this was all the time in software-properties-common - which is wrong. This is new with trusty, and has been different before. – effhaa Jul 28 '14 at 6:18
  • I specified in my answer that a check can be done using dpkg -S add-apt-repository command. And this is new with raring, not with trusty. – Radu Rădeanu Jul 28 '14 at 8:35
  • It varies from distro and release, I know it used to be in python-software-properties at one point, its not in ubuntu 14.x – radtek Dec 9 '14 at 22:01

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