I just realized that in Ubuntu, if I remove (="disable") a repository, its installed packages remain installed!
For example sudo add-apt-repository --remove multiverse
.
The status of this "stray" packages is unclear.
Will they be subject to apt-get dist-upgrade
or apt-get upgrade
?
Will they be subject to apt-get --purge autoremove
?
Will they be subject to apt-get clean
or any other apt-get
command?
Maybe these packages just remain in some frezed state, and are becoming more and more outdated?
There is no simple command line way to even point out them, or get rid of them? Only a quite complicated (and maybe slow), like https://askubuntu.com/a/37536/851189 ?