If you’re receiving this error, it means that your system is missing the package that allows it to add PPA repositories. The package you will need to install is called software-properties-common
. Simply follow the steps below to get it installed on your system.
- Open a terminal and type the following command to fetch the latest repository updates.
$ sudo apt update
- Next, install the
software-properties-common
package.$ sudo apt install software-properties-common
- Finally, you can add any PPA repository you like. Just for an example, we’ll add the one for Firefox and then use it to install the program.
$ sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main" $ sudo apt update $ sudo apt install firefox
-
That’s all there is to it. The PPA repository has been added, which allows us to install the software from it after we perform the
apt update
command.