[[PATCH setup topic/libsolv] 1/2] packagedb::removeEmptyCategories: Don't remove "Base"

Ken Brown kbrown@cornell.edu
Mon Oct 30 16:32:00 GMT 2017


On 10/30/2017 11:59 AM, Jon Turney wrote:
> This is all a bit broken though.  Because we've forgotten the categories 
> of installed packages, if we're run without a setup.ini, we'll merrily 
> let packages in the base category get uninstalled without complaint...

Maybe we need to add something to the existing warning.  It currently 
says, "You can still use setup-<arch>.exe to remove installed packages, 
but there will be nothing to install.  Press OK if that's what you 
wanted or Cancel to choose a different directory."  We could add that 
they risk uninstalling required packages if they proceed.

Of course, the same thing applies even if one or more setup.ini files 
are found but don't include the base packages or the dependencies of 
installed packages.  In this case, however, it means that the user has a 
homemade setup.ini, so we probably have to assume that they know what 
they're doing.

Ken



More information about the Cygwin-apps mailing list