beta.blog

-bash: add-apt-repository: command not found *Solution*

by on Nov.23, 2011, under Linux (Ubuntu)

Today I got add-apt-repository: command not found and I was like: Well, I already stumbled across this error message and the past and luckily I already knew the solution.

Ubuntu:

I opened up my systems terminal and typed:

apt-get install python-software-properties -y --force-yes

(or this one if you’re not logged in as root)

sudo apt-get install python-software-properties -y --force-yes

And the command add-apt-repository worked.

Debian:

Click here to find out how to add add-apt-repository in Debian.


Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!