

It is recommended to enable selective upgrading from -proposed as described in the next section!Īfter enabling the -proposed archive as shown above, you can configure apt to allow selective installs of packages from it instead of upgrading all of your packages to the -proposed versions:Ĭat /etc/apt/preferences.d/proposed-updates If you are using a port arch such as armhf/arm64/ppc64el/s390x you need to add it with the following instead: This error appears because the package “software-properties-common” to which the “apt-add-repository” command belongs is missing from your system.Or you can modify the software sources manually by adding the proposed archive to your apt sources:Ĭat /etc/apt//ubuntu-$(lsb_release -cs)-proposed.listĭeb $(lsb_release -cs)-proposed restricted main multiverse universe However, in some cases, it returns the “apt-add-repository command not found” error. The apt-add-repository command is used to add and remove a repository in Debian-based systems. To install the packages that are not available in the default repositories, you are required to add external repositories. APT is used to add, remove and update the packages from these repositories. On Debian-based Linux OS, you can install most of the packages using the default repositories.

Let’s see why your system returns this error and how to fix it in Debian 11.” Reason for “apt-add-repository” Command Not Found” Error However, after running the “apt-add-repository” command for the first time in your Debian 11 system, you may receive the “apt-add-repository command not found” error. This command adds the repository into the /etc/apt/sources.list file or in the /etc/apt/ directory. “In Linux, the “apt-add-repository” command is used to add a new repository to a system for installing any or all the packages belonging to that repository.
