Skip to content

RPM builds: fix broken RPM updates for some packages#528

Open
mbert wants to merge 1 commit intotrunkmaster:masterfrom
mbert:master
Open

RPM builds: fix broken RPM updates for some packages#528
mbert wants to merge 1 commit intotrunkmaster:masterfrom
mbert:master

Conversation

@mbert
Copy link
Contributor

@mbert mbert commented Feb 27, 2026

This PR fixes problems cleanly updating RPM packages:

  • The old package's %postun section is executed after the new package has been installed. Hence it must not remove files unless it is executed in a clean uninstall.
  • This had broken RPM updates for packages like libcorefoundation (shared libraries were missing after update).

Note that this fix will take effect only when RPMs containing it are upgraded. Hence in order to get things going people will need to first uninstall all NS RPMs and then install them (i.e. not updating them). Once that's done, subsequent RPM updates will work.

By the way, once the next version is released it will be worthwhile mentioning this in the release notes, because the last release still contained this problem.

* The old package's %postun section is executed after the new
  package has been installed. Hence it must not remove files
  unless it is executed in a clean uninstall.
* This had broken RPM updates for packages like libcorefoundation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant