Resolve “sudo: add-apt-repository: command not found”
2012-12-17 3 Comments
Having a minimal Ubuntu installation, add-apt-repository is not available. The solution is to install python-software-properties:
sudo apt-get install python-software-properties
I installed a clean 12.10 Server without any server packages installed, and even installing python-software-properties gave a command not found error when trying to do ‘add-apt-repository’.
The solution turned out to be that I had to also install ‘software-properties-common’.
Thank you Jay that did the trick for, i had tried ‘python-software-properties’ because that’s what other people were saying to do, but your reply helped me! Thanks very much!
+1
Had the same issue with 12.10 and this solved it..