According to How can PPAs be removed? there are mainly 3 methods to get rid of a PPA:
Use the
add-apt-repositorycommand:sudo add-apt-repository --remove ppa:???/???Manually remove the
.listfile:sudo rm /etc/apt/sources.list.d/????.listUse additional tools like e.g.
ppa-purge... (not topic of this question)
I am curious what the difference between the first and second option is, i.e. is there anything more that add-apt-repository --remove does, compared to just deleting the .list file?
One example I could think of would be GPG keys that were installed together with the PPA. Will add-apt-repository handle and remove them in contrast to just rm-ing the .list file?
Please note that neither removing GPG keys nor using ppa-purge is the topic of this question!
add-apt-repositoryshould remove them as well. – Ron Sep 17 '15 at 15:18/etc/apt/trusted.gpg.d/– Pilot6 Sep 17 '15 at 15:20add-apt-repositoryand manually deleting the.listfile. GPG keys were just an example that came into my mind what could be a difference. Editing now to make that more clear... - But let the link stay there, as it's at least related. – Byte Commander Sep 17 '15 at 15:54