The correct manner to obsolete subpackage.
Jon Turney
jon.turney@dronecode.org.uk
Wed Aug 30 12:43:15 GMT 2023
On 29/08/2023 23:40, Takashi Yano via Cygwin-apps wrote:
> If the main package no longer provides a sub package,
> what is the correct manner to osolete it?
>
> Creating empty sub package with
> sub_package_CATEGORY="_obsolete"
> is correct?
To answer the question correctly, I need to know what you want to happen
for people who have the subpackage installed currently.
If the package is replaced or superseded by a different package (so
sub_package should get uninstalled, and replacement_package installed
instead), just write:
replacement_package_OBSOLETES="sub_package"
If the package is really being removed without any replacement, there
are mechanisms to deal with that case, but that case should be really rare.
> Or just deleting the sub package?
Generally, you never want to do this, at it means the current version
will linger, remaining installed (potentially with (currently
unreported) file conflicts with any replacement).
More information about the Cygwin-apps
mailing list