patchmanager icon indicating copy to clipboard operation
patchmanager copied to clipboard

How should uninstall of rpm's patch should be handled?

Open NickCis opened this issue 10 years ago • 3 comments

It's a question, not a bug. I really do not know how the rpm should handle the patch uninstall, i've seen @CODeRUS adding in the .spec file the %preun section in order to uninstall the patch. But, what does happen if the developer do not add that?, Will the user have to reinstall the patch in order to unapply it?. In addition, supusely that for the unappliance of the patch a service has to be restarted, is the rpm responsible for doing that too?

Will there be similar problems for patched updates?.

NickCis avatar Feb 12 '15 05:02 NickCis

I'm adding scriptlets to workaround a bug woth old patchmanager, when patch can't be unapplied and applied again after installing new version of patch without unapplying old one. In new patchmanager everything should work fine. And for restarting services responsible category field in json.

CODeRUS avatar Feb 12 '15 08:02 CODeRUS

Okey, so patchmanager handles everything?. Does the user have to reapply the patch after an update (of the patch)?.

NickCis avatar Feb 12 '15 22:02 NickCis

Patchmanager hold copy of applyed patch in different location, so after overwriting it with newer version it still possible to unapply old applied patch.

CODeRUS avatar Feb 12 '15 23:02 CODeRUS