If Canonical removes a program from the repositories of the Ubuntu Software-Center, what exactly happens to my installation?
I like using the Software-Center to easily find and install programs on Ubuntu and to manage updates so that the software is always on the latest version. As an example, I'm using the program MediaInfo (for no particular reason). MediaInfo changed their licensing from LGPL to FreeBSD recently: While it is still FOSS, it may be possible that the program (or any other program out of the Software-Center) gets bought by a company that applies a proprietary license or adds other functionality that does not agree with the terms of the Ubuntu software repositories made available to the users in the Software-Center.
In this case, it will likely be removed from the Software-Center, if I understand it correctly. What will happen to the program on my computer, if I already have installed it at that point?
Will it automatically be removed from my system? Will it just not be updated to the next version? Will the last appropriate version still remain available in the Software-Center? And will I receive some kind of notification about any of this?
Not being FOSS or having a proprietary license has never been an issue for Canonical (see the restricted and multiverse repositories).
If something can't stay in the repositories anymore for other reasons:
Nothing. It will sit there peacefully.
No.
Yes.
It depends on the reasons behind the removal. E.g. if a package is harmful, indeed it will be removed.
No.
You can however check if a package is not in the repositories at any time by running
apt-cache policy <package>
;A package that has no available version in the repositories won't show a version available from the repositories as a candidate for the installation.
No installed package will be removed, if Canonical removes a package from the repositories. The same for a PPA or any other repositories. The only thing that has happened, you will no longer receive updates.
If the package should be included in the repositories again, then you will again receive updates. But you will not be explicit informed about the returning.
Changes in any repository do not affect your local installation!
Nobody will (be able to) uninstall anything on your personal system.
However, as there will not be any newer versions than your current one available to download from the repository any more then, you can't receive updates for that package.
If canonical decides to remove the package from their repositories, they will entirely remove it. What sense would it make for them to keep one version that soon gets outdated if they want to get rid of it? No, they would remove all versions.
If the program becomes proprietary though, I could also imagine that instead of removing, they could also just move it to e.g. the
universe
/multiverse
/partner
repository, not sure which one would be suitable for which cases...And you'll probably be able to find a PPA (Personal Package Archive) of someone who continues to distribute this package. If you install the PPA, you receive new packages and updates from there in the same way you did from the repositories. Just beware that PPAs are not as extensively checked against malware and security issues than the repositories, so you have to know the risk. It's usually small though, but existing.