Skip to content

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

Merged
trunkmaster merged 1 commit into
trunkmaster:masterfrom
mbert:master
May 14, 2026
Merged

RPM builds: fix broken RPM updates for some packages#528
trunkmaster merged 1 commit into
trunkmaster:masterfrom
mbert:master

Conversation

@mbert
Copy link
Copy Markdown
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.
@trunkmaster
Copy link
Copy Markdown
Owner

Fine, thank you!

@trunkmaster trunkmaster merged commit a9827ac into trunkmaster:master May 14, 2026
3 checks passed
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.

2 participants