Dear All,
Please mark this thread as solved since I managed to solve the problem.
In my case, by looking at the CBS log, the "Failed to PIN" error was due to a language pack error, namely it-IT, altough strangely my system was in english and portuguese:
2023-08-04 17:27:24, Info CBS Failed to pin deployment while resolving Update: Microsoft-Windows-OpenGL-Package~31bf3856ad364e35~amd64~
it-IT
~10.0.20348.1.1fb440e7d63878045cc35f90553fb848 from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
I installed the italian language pack and the update went through without a problem.
Just leaving this here in case it helps someone.
Thank you all the same,
Miguel