This is a command that allows users to easily add external repositories. Fixing the error is simple:
apt update apt install software-properties-common
type apt-add-repository