3

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?

Update

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

1 Answer 1

5

Try this,

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

then

sudo add-apt-repository ppa:chris-lea/node.js
6
  • 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, 2013 at 4:37
  • 1
    pleasecheck your command,it is not software-proprieties-common it is software-properties-common Dec 19, 2013 at 4:39
  • try without sudo. Dec 19, 2013 at 5:14
  • Unfortunately, problem continues. Please check update.
    – tuxtu
    Dec 19, 2013 at 5:24
  • it is python-software-properties not python-properties-common. Dec 19, 2013 at 5:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .