drivers – Trying to install CUDA, but getting errors

I have tried a number of solutions suggested here and only when I try to install cuda. But I keep getting the following errors when I do the following

sudo apt install -y cuda

Errors were encountered while processing:

 nvidia-dkms-450
 nvidia-driver-450
 cuda-drivers-450
 cuda-drivers
 cuda-runtime-11-0
 cuda-11-0
 cuda-demo-suite-11-0
 cuda
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is for Ubuntu 20.04.