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

Installing cuda 11.4.1 on a cluster, the same script that used to work now fails with:
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-lts/openjdk-11-jre-headless_11.0.14+9-0ubuntu2~20.04_amd64.deb 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?