This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]