installing at same time as ca-certificates breaks monos postinstall script
| Task Info (Flyspray) | |
|---|---|
| Opened By | Florian Albertz (rlnm) |
| Task ID | 78658 |
| Type | Bug Report |
| Project | Arch Linux |
| Category | Packages: Extra |
| Version | None |
| OS | All |
| Opened | 2023-05-30 19:49:30 UTC |
| Status | Assigned |
| Assignee | Levente Polyak (anthraxx) |
| Assignee | Giancarlo Razzolini (grazzolini) |
Details
Description:
Installing mono at the same time as ca-certificates (e.g. via pacstrap) leads to the post-install cert-sync script failing,
because at the time it runs, the 40-update-ca-trust.hook libalpm hook has not created the relevant file yet.
I'm also pretty sure, cert-sync wont get run when that certificate file changes, unless mono itself is upgraded. I would assume a proper fix would be to have mono install its own, later libalpm hook to run cert-sync?
Steps to reproduce:
Run pacstrap tmp mono and see how the mono certificate store update fails with "Couldn't retrieve the file using the supplied information.". Running the command a second time succeeds, so it's definitely not an issue with it running in a chroot but only an ordering problem.