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-repositoryI have also tried installing python-software-properties
sudo apt-get install python-software-propertiesHowever, it still is missing... does anyone know where this package has gone?
21 Answer
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):
software-properties-commonnot python-software-properties as you may think. You can check this using the following command:
dpkg -S add-apt-repository 7