I'm trying to add a repository on my VPS with Ubuntu 12.04 installed using this command :

sudo add-apt-repository ppa:chris-lea/node.js

But terminal is showing

command not found

Then I've entered the following command to solve the problem

sudo apt-get install software-proprieties-common

But unfortunately I'm getting the following error :

E: Unable to locate package software-proprieties-common

How can I solve this problems?


Now software-properties-common installed, but same problem continues. Please check the screen shot.enter image description here

Update 2

Problem continues enter image description here


Try this,

sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-get install python-software-properties


sudo add-apt-repository ppa:chris-lea/node.js
  • Please check that, I've already entered "sudo apt-get install software-properties-common", but it's showing "Unable to loate package software-properties-common". :( – tuxtu Dec 19 '13 at 4:37
  • 1
    pleasecheck your command,it is not software-proprieties-common it is software-properties-common – Avinash Raj Dec 19 '13 at 4:39
  • try without sudo. – Avinash Raj Dec 19 '13 at 5:14
  • Unfortunately, problem continues. Please check update. – tuxtu Dec 19 '13 at 5:24
  • it is python-software-properties not python-properties-common. – Avinash Raj Dec 19 '13 at 5:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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