Cuda debian install for Ubuntu fails due to removal of openjdk-11-jre-headless_11.0.14+9-0ubuntu2~20.04_amd64.deb from

Installing cuda 11.4.1 on a cluster, the same script that used to work now fails with:
Failed to fetch 404 Not Found

It looks like it was recently removed from the index location here: Index of /ubuntu/pool/main/o/openjdk-lts

Using sudo apt-get update before sudo apt-get -y install cuda doesn’t solve the issue. Is there a workaround?