I'm currently writing a document on my "work-pc" meaning, that I do not have sudo rights on this machine.
It has some old version of hyperref installed, that is not compatible with pdfx and gives me the error: hyperref.sty: Package xkeyval error: 'pdfa' undefined in families Hyp.
I have downloaded a newer version of hyperref.sty from ctan and put it in a local directory. Then I have added said directory to the $TEXINPUTS variable, hoping that it would now use the newer hyperref version.
However it still uses the old one in /usr/share/texmf/tex/latex/hyperref/hyperref.sty which I don't have permissions to alter. How do I get it to use my new local version?