apt currently has two upgrade methods:
- "apt upgrade", which never removes any packages;
- "apt full-upgrade", which seems to be happy to remove anything to
resolve package conflicts.
But during transitions like GCCv5, where many shared libraries packages
get renamed, neither of them works well:
- "apt upgrade" is too conservative: it won't install renamed shlibs;
- "apt full-upgrade" is too liberal: it'll remove temporarily
uninstallable stuff that I need.
So I'd like to have something between "apt upgrade" and "apt
full-upgrade", which removes packages if that's required to resolve a
conflict, but only those that were marked as automatically installed.