Interestingly enough, the `crssync` binary crashes only when trying to exit:
```
/usr/lib/qgis/crssync --verbose
Synchronizing CRS database with GDAL/PROJ definitions.
No CRS updates were necessary.
Segmentation fault
```
Backtrace points me to `osgeo::proj::common::UnitOfMeasure::~UnitOfMeasure()` but I have no debugging symbols to actually investigate the error.
Anyway, silencing the error seems like a reasonable workaround to me. I just added `|| true` to the troublesome line in `postinst` script. The attached file `edit-postinst.sh` can be used to modify existing archive `qgis-providers_3.22.8+dfsg-1_amd64.deb` in this manner.
Interestingly enough, the `crssync` binary crashes only when trying to exit:
``` qgis/crssync --verbose
/usr/lib/
Synchronizing CRS database with GDAL/PROJ definitions.
No CRS updates were necessary.
Segmentation fault
```
Backtrace points me to `osgeo: :proj:: common: :UnitOfMeasure: :~UnitOfMeasure ()` but I have no debugging symbols to actually investigate the error.
Anyway, silencing the error seems like a reasonable workaround to me. I just added `|| true` to the troublesome line in `postinst` script. The attached file `edit-postinst.sh` can be used to modify existing archive `qgis-providers _3.22.8+ dfsg-1_ amd64.deb` in this manner.