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.

  1. Open a terminal and type the following command to fetch the latest repository updates.
    $ sudo apt update
  2. Next, install the software-properties-common package.
    $ sudo apt install software-properties-common
    
  3. 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
    
  4. 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.

Was this answer helpful? 1 Users Found This Useful (1 Votes)