It seems that many packages cannot be updated to reasonably recent versions, for instance nodejs' most recent version available is v12. That is causing problems with other projects that require more recent versions. This is not limited to just nodejs but I see it happening all over the place. For reference nodejs's latest version in apt is deemed as ancient in:
https://github.com/microsoft/pyright/issues/7365#issuecomment-1970295188
How should we deal with this?
Edit: OK, I just found out there is something called nix. I just used it (took 10 minutes) and managed to get what I needed and I see people recommending it too: https://nixos.org/
Edit: Given that people keep telling me that this is "related" to some other question:
This is not that related, this post is about aptitude using ancient versions of software, so old that they start making dependencies unusable and getting in the way of the user's workflow and productivity. The latest version of nodejs seems to be v22.8. I probably can work fine with v18, but I have access at most to v12. So this is not really about asking for the latest version