On 3/26/2018 1:55 PM, Ken Brown wrote:
In ChooserPage::applyCommandLinePackageSelection() we have the
following code:
bool wanted = pkg.isManuallyWanted();
bool deleted = pkg.isManuallyDeleted();
bool basemisc = (pkg.categories.find ("Base") !=
pkg.categories.end ()
|| pkg.categories.find ("Orphaned") !=
pkg.categories.end ());
[...]
bool reinstall = (wanted || basemisc) && deleted;
One strange consequence of this is that if the user tries to uninstall
an orphaned package on the command line, then setup will instead try
to reinstall it.