Can't upgrade from 8.0.2 to any newer version with an old CPU without avx2

Due to recent security issue i was trying to upgrade a yunohost app peertube on an old system.

It did fail at upgrade, service peertube fails

2026-05-25 14:46:54,471: WARNING - mai 25 14:46:45 systemd[1]: Started peertube.service - PeerTube: video streaming platform.
2026-05-25 14:46:54,471: WARNING - mai 25 14:46:49 systemd[1]: peertube.service: Main process exited, code=killed, status=4/ILL
2026-05-25 14:46:54,471: WARNING - mai 25 14:46:49 systemd[1]: peertube.service: Failed with result ‹ signal ›.
2026-05-25 14:46:54,472: WARNING - mai 25 14:46:49 systemd[1]: peertube.service: Consumed 4.946s CPU time.

and dmesg allowed me to find out culprit :

[ +4,611232] traps: MainThread[89118] trap invalid opcode ip:7f22c8f3d2e8 sp:7ffc33966e00 error:0 in libvips-cpp.so.8.17.3[7f22c8d0a000+a7b000]

That is related to a thumbnail rebuilding feature in peertube 8.1.0 using sharp library ( https://www.npmjs.com/package/sharp ) relying on libvips ( GitHub - libvips/libvips: A fast image processing library with low memory needs. · GitHub ) requiring cpu with avx2 support.

Given the old system used for it and that i can’t get hand on the hardware which is at 1200km away … this will be a challenge …

so i am sitll on 8.0.2 that i did patch manualy using What versions are affected by security issues corrected by v8.1.6? · Issue #7622 · Chocobozzz/PeerTube · GitHub

Can’t do better now.