add-apt-repository: command not found

add-apt-repository: command not found

Newly Deployed Cloud VPS and Minimal Installation Images of Debian and Ubuntu you receive the following error add-apt-repository: command not found.

You can fix the following error by running this command on your Debian or Ubuntu System.

sudo apt-get install software-properties-common

Sometimes you may not need sudo if you're logged in as root. In that case you can run it as

apt-get install software-properties-common

Once you’ve installed software-properties-common, it is best to run a apt-update command

sudo apt-get update
or
apt-get update

 

~ CSpace Hostings / https://cspacehostings.com

  • command, not found, add-apt-repository
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I reboot my VPS server?

Hi,You can reboot your VPS by passing the following command in Putty or Terminalreboot

How do I enable PPP?

You Can Login to SolusVM Panel -> Enable PPP.Please be sure to raise a Support Ticket...

Changing VPS Timezone?

Generic procedure to change timezone under Linux Cd to /etc, run:# cd /etcCreate a symlink...

How do I enable Tun/Tap?

You Can Login to SolusVM Panel -> Enable Tun/Tap.Please be sure to raise a Support Ticket...

How to Reinstall Cloud VPS Operating System?

You can reinstall OS in few clicks. 1) Login on SolusVM Cloud VPS Panel 2) Click Manage in...

Powered by WHMCompleteSolution