E: Package 'python-software-properties' has no installation candidate

sudo apt-get install python-software-properties
Reading package lists... Done
Building dependency tree... Done
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:

 software-properties-common

E: Package 'python-software-properties' has no installation candidate

How can i fix this error?


Install software-properties-common by running,

sudo apt-get install software-properties-common

software-properties-common package is an alternate one for python-software-properties.

for <= 12.04

sudo apt-get install python-software-properties

for >= 12.10

sudo apt-get install software-properties-common

I had this issue on Ubuntu 18.04

Tried several way finally this fixed my issue

sudo apt --fix-broken install python-pycurl python-apt