Here is what happend when i run anything with apt
or apt-get
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree... Done
Reading state information... Done
E: The package cuda-repo-debian11-12-1-local needs to be reinstalled, but I can't find an archive for it.
Tried removing all the PPAs that were not necessary. Tried reinstalling using this. But still, the issue stays.