In Ubuntu one can add a repository to apt-get via the following command -
sudo add-apt-repository ppa:yannubuntu/boot-repair
As Ubuntu is based on Debian code base, I was expecting that the same would work in Debian too, but it doesn't.
- What is the reason for this?
- Is there some other shell command I can use to achieve the same?
Note: I already know I can edit /etc/apt-get/sources.list, but I want to achieve this from shell. I also want to know why the same command won't work when the code base is the same.
